[root@cdh1 home]# hadoop fs -ls /
Found 3 items
drwxr-xr-x - hbase hbase 0 2019-12-05 18:02 /hbase
drwxrwxrwt - hdfs supergroup 0 2019-12-05 17:00 /tmp
drwxr-xr-x - hdfs supergroup 0 2019-12-06 17:09 /user
執行:sudo -u hdfs hadoop fs -chown root /
可以創建了