Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

get required permissions to download fsimage

avatar

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

avatar
Master 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"

View solution in original post

1 REPLY 1

avatar
Master 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"