关于使用hive删除表时出现的return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)

解决办法参考:http://blog.csdn.net/gxw255613/article/details/52173438 

详解:把hive的元数据库mysql里的数据库的编码改为 latin1,如果还不行就把在${HIVE_HOME}/lib文件夹下的mysql-connector-java-5.X-bin.jar换成mysql-connnector-java-5.1.34-bin.jar。


其他hive问题可参考:http://blog.csdn.net/cjfeii/article/details/49363653

你可能感兴趣的:(hadoop学习)