hortonworks-spark / spark-llap

Apache License 2.0
102 stars 68 forks source link

executeQuery throw exception #261

Open sky4star opened 5 years ago

sky4star commented 5 years ago

I am using HDP 3.1, when query hive from spark, i got the following exception. I tried to find reason, but no luck yet. Please help me! Thanks!

scala > hive.executeQuery("select * from db.table where ds = '20190219'")

ERROR LlapBaseInputFormat: Closing connection due to error

shadehive.org.apache.hive.service.cli.HiveSQLException: java.io.IOException: org.apache.hadoop.hive.ql.metadata.HiveException: java.io.IOException: java.lang.ClassCastException: org.apache.hadoop.hive.ql.io.CombineHiveInputFormat$CombineHiveInputSplit cannot be cast to org.apache.hadoop.mapred.FileSplit

tarekabouzeid commented 5 years ago

hi @sky4star i am having same issue, have you managed to solve it please ?