Support Questions
Find answers, ask questions, and share your expertise

How to find the name of supergroup in hadoop and list all the members of the group?

Solved Go to solution

Re: How to find the name of supergroup in hadoop and list all the members of the group?

Also to find the namenode hosts, just look at the property value for dfs.namenode.rpc-address in hdfs-site.xml

Re: How to find the name of supergroup in hadoop and list all the members of the group?

Explorer

Is there any way to find it from ambari without logging to NameNode?

If it is not, how to log on to the namenode from linux(edge node)? sorry for the trivial questiion.

I tried to login from putty, i got exception.

Re: How to find the name of supergroup in hadoop and list all the members of the group?

I dont think we can get this from Ambari as this is a Linux file, and Ambari is not involved in maintaining that.

As far as logging on to the Namenode, it should be the similar as how you logged on to any other host on the cluster.

We use ssh with a keypair to logon, but thats your environment specific. So, if you have the IP, you should be able to logon to the Namenode host.

Re: How to find the name of supergroup in hadoop and list all the members of the group?

Explorer

Anyway.. Thanks for your involvement on this issue. Once i resolved it, I will let you know. I used putty to login but got exception.

Re: How to find the name of supergroup in hadoop and list all the members of the group?

Ok sure. Yeah I cant say how to logon to your Namenode linux machine. Someone, in your team over there might help.

Also, can you please accept the answer for how to find the supergroup in Hdfs. As, I think you found that information. Thanks!

Re: How to find the name of supergroup in hadoop and list all the members of the group?

Explorer

Hi Mahesh,

There is no way to list all members of supergroup. But, we can run for individual user to see if they are belong to the group by using the below command.

hdfs groups <username>

Once again, thanks for time .