Spark 2.2 Thrift server error on dataframe NumberFormatException when query Hive table
问题 I have Hortonworks HDP 2.6.3 running Spark2 (v2.2). My test case is very simple: Create a Hive table with some random values. Hive at port 10000 Turn on Spark Thrift server at 10016 Run pyspark and query the Hive table via 10016 However, I was unable to get the data from Spark due to NumberFormatException. Here is my test case: Create Hive table with sample rows: beeline> !connect jdbc:hive2://localhost:10000/default hive hive create table test1 (id int, desc varchar(40)); insert into table