Created 01-08-2019 06:51 AM
0: jdbc:hive2://zaplncb00009q39-hs.qa.hadoop.> drop table testDB.TestTable; Error: Error while compiling statement: FAILED: SemanticException Unable to fetch table testDB.TestTable. null (state=42000,code=40000)
While performing any query on this table, I'm getting this error. Not able to delete database as well.
Created 04-22-2019 08:08 PM
Were you able to resolve this? We are getting similar errors
Created 06-21-2019 04:09 PM
Is this issue resolved?
Created 06-23-2019 08:54 AM
@Mayank Bhatt @sundeep dande We had to contact Hortonworks support to fix it. As per them the metadata was corrupted. I don't have the steps to fix that.
P.S.One of the reasons why the metadata was getting corrupted was someone had created many managed table pointing external hdfs location. Though the table in question was not one of those tables.
Created 06-25-2019 01:18 PM
@Mayank Bhatt @sundeep dande I faced the same issue too. When I changed the engine from tez to mr(mapreduce) it worked!