Jian He created YARN-4313:

             Summary: Race condition in MiniMRYarnCluster when getting history 
server address
                 Key: YARN-4313
                 URL: https://issues.apache.org/jira/browse/YARN-4313
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Jian He
            Assignee: Jian He

Problem in this place when waiting for JHS to be started
        new Thread() {
          public void run() {
        while (historyServer.getServiceState() == STATE.INITED) {
          LOG.info("Waiting for HistoryServer to start...");
The service state is updated before the service is actually started. See 
AbstractServic#start.  So it's possible that when the while loop breaks, the 
service is not yet started. 

This message was sent by Atlassian JIRA

Reply via email to