Permission denied at hdfs

前端 未结 6 929
眼角桃花
眼角桃花 2020-11-27 12:48

I am new to hadoop distributed file system, I have done complete installation of hadoop single node on my machine.but after that when i am going to upload data to hdfs it gi

6条回答
  •  死守一世寂寞
    2020-11-27 13:09

    Start a shell as hduser (from root) and run your command

    sudo -u hduser bash
    hadoop fs -put /usr/local/input-data/ /input
    

    [update] Also note that the hdfs user is the super user and has all r/w privileges.

提交回复
热议问题