hive删除表时候失败,FordirectMetaStoreDBconnections,wedon'tsupportretriesattheclientlevel。hive删除表的时候提示失败,之后连其他的操作也执行不了了(没有执行删除表命令之前很多都可以执行),除非你退出再重新进hive;查了很多资料说法不一,但是我把mysql的驱动换了一下就解决了删除失败问题,
hive> show tables;
mytable
Time taken:0.521 seconds,Fetched:1 row(s)
hive>drop table test;
FAILED:ExecutionError,return code1from org.apache.hadoop.hive.ql.exec.DDLTask.MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
hive> show tables;
mytable
Time taken:0.521 seconds,Fetched:1 row(s)
hive>drop table test;
ok
Time taken:0.249 seconds