1.在hdfs上创建用户目录,如有就无需创建,直接执行步骤2

hdfs dfs -mkdir /user/hive

2.修改目录所属组

hdfs dfs -chown hive:hdfs /user/hive

更多推荐