07-31-2017 07:47 AM
I have tested Cloudera 5.11 High avaliability active passive with 2 name nodes and noticed that when name node or standby node machines are down the HDFS is not available.
when stoping name node on node 4 getting the error :
hadoop fs -ls /user/hive/warehouse/dwh.db/
llegalArgumentException: java.net.UnknownHostException: gc-test-impala28-04.c.bi-environment-1271.internal error 400
Do I miss anything ?
07-31-2017 11:20 AM
07-31-2017 10:11 PM
Thanks for the quick reply .
I used the following instructions :
The service name is nameservice1 (the default) combined from node 4 (active) and node 3(standby)
as I mentioned when shutting down node 4 it seems that the name service is still looking for node 4 .
otherwise it not clear why I'm getting this error .
If it was possible I would add screen shots to the post .
node 3 & 4 roles are :
The cloudera version is 5.11
07-31-2017 10:15 PM
08-03-2017 07:22 AM
Checked the logs got the message :
java.net.ConnectException: Call From gc-test-impala28-03.c.bi-environment-1271.internal/10.128.0.46 to gc-test-impala28-03.c.bi-environment-1271.internal:8022 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: "http://wiki.apache.org/hadoop/ConnectionRefused"
it seems that for some reason it could not connect to the second name node port 8022 .
Checked if port is listening and got :
root@gc-test-impala28-03:~# netstat -tulpan | grep 8022
tcp 0 1 10.128.0.46:44608 10.128.0.45:8022 SYN_SENT 16026/java
Any Idea ?