Hive报错
使用datagrip操作hive,源hql是为分区表插数据,load data local inpath '***' into table ***。
先看hive日志。
日志配置在hive conf文件架中hive-log4j.properties文件的hive.log.dir中。
粗略看一眼,最后一行内容为。
exec.Task (SessionState.java:printError(960)) - Failed with exception MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
at org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:1884)
at org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1407)
at org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1324)
at org.apache.hadoop.hive.ql.exec.MoveTask.execute(MoveTask.java:438)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160