- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Base hdfs file system permissions i am unable to understand..
- Labels:
-
Apache Hadoop
-
Apache Hive
Created ‎07-24-2016 08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have hdp sandbox 2.3..i login with user "sankar" and my hive warehouse directory having below file permission
hadoop fs -ls /apps/hive
drwxr-xr-x hive hdfs /apps/hive/warehouse
Here i see that owner having: rwx; group:r-x other: r-x permission
But while i login to sankar user i can easily put some data into that directory
i have attached below screen short
Can any one explain this in my understanding way...please
Created ‎07-24-2016 09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have enabled ranger plugin for hdfs then posix permission has no meaning.
Sandbox by default is configured to use ranger hdfs plugin having policy 'HDFS Global Allow' enabled which allow any user to have rwx permission. You can disable this from ranger.
Created ‎07-24-2016 09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have enabled ranger plugin for hdfs then posix permission has no meaning.
Sandbox by default is configured to use ranger hdfs plugin having policy 'HDFS Global Allow' enabled which allow any user to have rwx permission. You can disable this from ranger.
Created ‎07-25-2016 11:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you rahul..how can i disable this from ranger? can you explain in wide?
Created ‎07-24-2016 10:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please check the value of dfs.permissions.enabled in your hdfs-site.xml? If this is false, permissions are not enforced.
Created ‎07-25-2016 09:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks you guys ..i will check it let you know..
