hadoop user file permissions

前端 未结 2 1150
逝去的感伤
逝去的感伤 2021-01-19 02:32

i have a problem in setting hadoop file permissions in hortonworks and cloudera.

My requirement is:

1. create a new user with new group  
2. crea         


        
相关标签:
2条回答
  • 2021-01-19 03:28

    I believe you set the wrong property to enable permissions. You need to set the following property in hdfs-site:

    dfs.permissions.enabled = true
    

    This is a good resource for HDFS permissions

    0 讨论(0)
  • 2021-01-19 03:32

    You should repeat your step on the master node (active namenode).

    After that, run

    hdfs dfsadmin -refreshUserToGroupsMappings 
    
    0 讨论(0)
提交回复
热议问题