首页 > 代码库 > hive 报错/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x

hive 报错/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x

启动hive时报例如以下错误:/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x

这是/tmp/hive文件夹权限不够,须要提升权限

操作例如以下命令就可以解决这个问题:

hadoop fs -chmod -R 777 /tmp

hive 报错/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x