hive 常见错误
错误1
java.sql.SQLException: org.apache.thrift.transport.TTransportException: SASL authentication not complete
查询完要关闭Statement 连接, stmt.close();
错误2
Permission denied: user=anonymous, access=EXECUTE, inode=”/tmp”
由于Hive
没有hdfs:/tmp
目录的权限,赋权限即可:
hadoop dfs -chmod -R 777 /tmp
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。