I experimented a bit with this and thought it might be useful to someone.
When hive 0.14.0 starts without first creating / tmp / hive in HDFS, this directory is created with 711 mode.
drwx
If instead a directory is created via hadoop dfs -mkdir /tmp/hive , it defaults to 755 mode.
drwxr-xr-x - hadoop supergroup 0 2014-12-09 11:13 /tmp/hive
The minimum permissions required to run the bush without errors is 733.
hadoop dfs -chmod 733 /tmp/hive
The result is as follows and the hive starting successfully.
drwx-wx-wx - hadoop supergroup 0 2014-12-09 11:13 /tmp/hive
This makes me think that 0.14.0 hive does the wrong thing when it creates this directory.
source share