Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1969 | 06-15-2020 05:23 AM | |
| 16033 | 01-30-2020 08:04 PM | |
| 2108 | 07-07-2019 09:06 PM | |
| 8245 | 01-27-2018 10:17 PM | |
| 4669 | 12-31-2017 10:12 PM |
12-05-2017
12:13 PM
@Aditya , the other link ( https://community.hortonworks.com/questions/149951/how-to-force-name-node-to-be-active.html), is about force namenode to active but I just not sure if my problem here is about the same issue , so because that I opened another thread , second what we can do next , based on my previous question do you see any conflict ?
... View more
12-05-2017
10:59 AM
do you see conflict here? grep -A 3 dfs.ha.namenodes /etc/hadoop/conf/hdfs-site.xml
<name>dfs.ha.namenodes.hdfsha</name>
<value>nn1,nn2</value>
</property>
but:
[hdfs@master01 root]$ hdfs getconf -namenodes
master01.sys56.com master03.sys56.com
[hdfs@master01 root]$
... View more
12-05-2017
10:55 AM
grep dfs.namenode.rpc-address.hdfsha.nn1 /etc/hadoop/conf/hdfs-site.xml <name>dfs.namenode.rpc-address.hdfsha.nn1</name
... View more
12-05-2017
10:53 AM
the hostname is - master01.sys56.com ( i just edit it manual because security issue) this isnt the problem
... View more
12-05-2017
10:33 AM
hdfs haadmin -checkHealth nn1
17/12/05 10:31:58 INFO ipc.Client: Retrying connect to server: master01.sys56.com/108.87.28.153:8020. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=1, sleepTime=1000 MILLISECONDS)
Operation failed: Call From master01.sys56.com/108.87.28.153 to master01.sys56.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
... View more
12-05-2017
10:22 AM
grep -A 3 dfs.ha.namenodes /etc/hadoop/conf/hdfs-site.xml
<name>dfs.ha.namenodes.hdfsha</name>
<value>nn1,nn2</value>
</property>
but:
[hdfs@master01 root]$ hdfs getconf -namenodes
master01.sys56.com master03.sys56.com
[hdfs@master01 root]$
... View more
12-05-2017
08:56 AM
# grep dfs.ha.namenodes /etc/hadoop/conf/hdfs-site.xml <name>dfs.ha.namenodes.hdfsha</name>
... View more
12-05-2017
07:35 AM
when we start the namenode in ambari cluster we get the following errors inspite the resolving of the hosts/ips are ok what else chould be hdfs namenode -bootstrapStandby -force
17/12/05 07:23:15 FATAL ha.BootstrapStandby: Unable to fetch namespace information from active NN at master01.sys784.com/110.14.28.153:8020: Call From master03.sys784.co m/110.14.27.162 to master01.sys784.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/ha doop/ConnectionRefused
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
12-05-2017
06:15 AM
in our ambari cluster we see the following on the first nn1 $ hdfs haadmin -checkHealth master01
Illegal argument: Unable to determine service address for namenode 'master01' on the second namenode $ hdfs haadmin -checkHealth master03
Illegal argument: Unable to determine service address for namenode 'master03' what could be the problem here ? and how to debug the command in order to verify what is the root cause ? remark - DNS configuration on all hosts/IP are right other example since namenode is down [hdfs@master01 root]$ hdfs haadmin -transitionToActive --forceactive master01
Illegal argument: Unable to determine service address for namenode 'master01'
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
12-05-2017
12:11 AM
yes all machines are in the file - grep master /etc/hadoop/conf/hdfs-site.xml
... View more