Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.0.0-alpha
-
None
Description
Started NN's and zkfc's in Suse11.
Suse11 will have netcat installation and netcat -z will work(but nc -z wn't work)..
While executing following command, got command not found hence rc will be other than zero and assuming that server was down..Here we are ending up without checking whether service is down or not..
LOG.info( "Indeterminate response from trying to kill service. " + "Verifying whether it is running using nc..."); rc = execCommand(session, "nc -z " + serviceAddr.getHostName() + " " + serviceAddr.getPort()); if (rc == 0) { // the service is still listening - we are unable to fence LOG.warn("Unable to fence - it is running but we cannot kill it"); return false; } else { LOG.info("Verified that the service is down."); return true; }
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-11308 NameNode doFence state judgment problem
- Resolved