Permission denied at hdfs

前端 未结 6 936
眼角桃花
眼角桃花 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:06

    For Hadoop 3.x, if you try to create a file on HDFS when unauthenticated (e.g. user=dr.who) you will get this error.

    It is not recommended for systems that need to be secure, however if you'd like to disable file permissions entirely in Hadoop 3 the hdfs-site.xml setting has changed to:

    
      dfs.permissions.enabled
      false
    
    

    https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml

提交回复
热议问题