Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 10-31-2016 01:31 PM
Hello
I am copying files from a windows shared folder into HDFS. There are a set of active directory permissions associated with each file on windows. How can i maintain the same permissions in HDFS?
Thanks
Ahamd
Created 10-31-2016 02:42 PM
@Ahmad Debbas you can sync your AD identities to Ranger via LDAP user sync, as well as to the Linux OS using SSSD, and then create Ranger policies which mimic the permissions that you have in Windows.
Ranger User Sync - https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/ranger_user...
Ranger Policies - http://hortonworks.com/hadoop-tutorial/manage-security-policy-hive-hbase-knox-ranger/
Created 10-31-2016 02:42 PM
@Ahmad Debbas you can sync your AD identities to Ranger via LDAP user sync, as well as to the Linux OS using SSSD, and then create Ranger policies which mimic the permissions that you have in Windows.
Ranger User Sync - https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Ranger_Install_Guide/content/ranger_user...
Ranger Policies - http://hortonworks.com/hadoop-tutorial/manage-security-policy-hive-hbase-knox-ranger/
Created 10-31-2016 02:53 PM
This means i have to reassign these permissions manually? Is there a way to automate the assignment with the already present windows permissions?
Created 10-31-2016 03:33 PM
You can use the Ranger API to create policies as well, so you could script the appropriate API calls given the right input data from your source OS.