Why does “hadoop fs -mkdir” fail with Permission Denied?

后端 未结 6 783
甜味超标
甜味超标 2020-12-28 18:22

I am using Cloudera on a VM machine that I am playing around with. Unfortunately I am having issues copying data to the HDFS, I am getting the following:

[cl         


        
6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-28 18:47

    I resolved the issue by creating a supergroup in /etc/group and updated the user logins on it. I mean user should be part of HDFS supergroup to have access to write on HDFS.

    $vi /etc/group

    supergroup:x:30000:root

    Later was able to write on HDFS. Hope it helps

提交回复
热议问题