1. 程式人生 > >Permission denied: user=root, access=EXECUTE, inode="/tmp/hadoop-yarn":grid:supergroup:drwx------

Permission denied: user=root, access=EXECUTE, inode="/tmp/hadoop-yarn":grid:supergroup:drwx------

錯誤資訊: Permission denied: user=root, access=READ_EXECUTE, inode="/tmp":hadoop:supergroup:drwx------

辦法:hadoop fs -chown -R hive:hive  /tmp  其中hive是通過jdbc訪問hive資料庫連線中的使用者名稱:Connection conn = DriverManager.getConnection("jdbc:hive2://192.168.174.129:10000/default", "hive", "hive");