Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

get required permissions to download fsimage

Solved Go to solution
Highlighted

get required permissions to download fsimage

New Contributor

Hello All,

I am trying to get essential data from fsimage. Currently I am able to download the fsimage in my local machine using dfsadmin -fetchImage <LOCAL_DIR_PATH> command but I want to know what is the appropriate way I can download the fsimage on other machines or how can I request the user to give me required privileges to download fsimage.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: get required permissions to download fsimage

Super Mentor

@Prateek Behera


You can find more information about the "dfs.cluster.administrators" property which sets the ACL-for-admins. The administrators for the cluster specified as an ACL. This controls who can access the default servlets, etc. in the HDFS.

We can set this property with a comma separated value containing list of users or groups who can access and execute these administrative commands from any host.

Example:

<property>
    <name>dfs.cluster.administrators</name>
    <value>testuser1,testuser2,testuser3,testgroup1,testgroup2</value>
</property>

.

NOTE: by default the property "dfs.cluster.administrators" value is set to "hdfs"

1 REPLY 1

Re: get required permissions to download fsimage

Super Mentor

@Prateek Behera


You can find more information about the "dfs.cluster.administrators" property which sets the ACL-for-admins. The administrators for the cluster specified as an ACL. This controls who can access the default servlets, etc. in the HDFS.

We can set this property with a comma separated value containing list of users or groups who can access and execute these administrative commands from any host.

Example:

<property>
    <name>dfs.cluster.administrators</name>
    <value>testuser1,testuser2,testuser3,testgroup1,testgroup2</value>
</property>

.

NOTE: by default the property "dfs.cluster.administrators" value is set to "hdfs"

Don't have an account?
Coming from Hortonworks? Activate your account here