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.

How to detect admin Node

Solved Go to solution
Highlighted

How to detect admin Node

Expert Contributor

Folks

On a typical Hadoop cluster, How to find out the admin node. Through Ambari, I am able to find Name, Data nodes.

Is there any command or specific service I should be looking for ?

Thanks

Kumar

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to detect admin Node

Rising Star

Hi @Kumar Veerappan,

You can find namenode via command line using :

dfsadmin -report

or

<code>hadoop getconf -namenodes ( you can use this to get secondary namenode/backup node etc)

From ambari, you can go to services page, get to the service whose admin you want and click on the component link to find the component host. For eg, to find the namenode go to HDFS service page and click on the link for namenode :

6401-screen-shot-2016-08-05-at-113554-am.png

Else, move to the hosts page and search for the component :

screen-shot-2016-08-05-at-114146-am.png

Based on the version you are using, the filter page may vary. But every version has a filter for component type which will give you host name.

Hope this helps!

View solution in original post

2 REPLIES 2
Highlighted

Re: How to detect admin Node

Rising Star

@Kumar Veerappan

On the Ambari Web UI, click on the "Hosts" tab nd you will find a filter under the Components column using which you can choose what ever component/components you want. You can also filter for the admin host components

Thanks

Hari

Re: How to detect admin Node

Rising Star

Hi @Kumar Veerappan,

You can find namenode via command line using :

dfsadmin -report

or

<code>hadoop getconf -namenodes ( you can use this to get secondary namenode/backup node etc)

From ambari, you can go to services page, get to the service whose admin you want and click on the component link to find the component host. For eg, to find the namenode go to HDFS service page and click on the link for namenode :

6401-screen-shot-2016-08-05-at-113554-am.png

Else, move to the hosts page and search for the component :

screen-shot-2016-08-05-at-114146-am.png

Based on the version you are using, the filter page may vary. But every version has a filter for component type which will give you host name.

Hope this helps!

View solution in original post

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