createproxy() in TestHealthMonitor is throwing NPE
--------------------------------------------------
Key: HADOOP-8207
URL: https://issues.apache.org/jira/browse/HADOOP-8207
Project: Hadoop Common
Issue Type: Bug
Components: ha
Affects Versions: 0.24.0
Reporter: Hari Mankude
Priority: Minor
Looking at the test log output, createproxy in testhealthmonitor is triggering
NPE resulting null proxy. This creates other test failures.
2012-03-24 22:16:11,591 FATAL ha.HealthMonitor
(HealthMonitor.java:uncaughtException(268)) - Health monitor failed
java.lang.NullPointerException
at
org.apache.hadoop.ha.TestHealthMonitor$1.createProxy(TestHealthMonitor.java:75)
at org.apache.hadoop.ha.HealthMonitor.tryConnect(HealthMonitor.java:171)
at
org.apache.hadoop.ha.HealthMonitor.loopUntilConnected(HealthMonitor.java:158)
at org.apache.hadoop.ha.HealthMonitor.access$500(HealthMonitor.java:52)
at
org.apache.hadoop.ha.HealthMonitor$MonitorDaemon.run(HealthMonitor.java:278)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira