Congxian Qiu(klion26) created FLINK-13009:
---------------------------------------------

             Summary: 
YARNSessionCapacitySchedulerITCase#testVCoresAreSetCorrectlyAndJobManagerHostnameAreShownInWebInterfaceAndDynamicPropertiesAndYarnApplicationNameAndTaskManagerSlots
                 Key: FLINK-13009
                 URL: https://issues.apache.org/jira/browse/FLINK-13009
             Project: Flink
          Issue Type: Test
          Components: Tests
            Reporter: Congxian Qiu(klion26)


The test 
{{YARNSessionCapacitySchedulerITCase#testVCoresAreSetCorrectlyAndJobManagerHostnameAreShownInWebInterfaceAndDynamicPropertiesAndYarnApplicationNameAndTaskManagerSlots}}
 throws NPE when Travis build.

>From the code of hadoop-2.8.3, seems the {{rmContext}} is null
{code:java}
// code from 
https://github.com/apache/hadoop/blob/b3fe56402d908019d99af1f1f4fc65cb1d1436a2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/attempt/RMAppAttemptMetrics.java#L128

// Only add in the running containers if this is the active attempt.
        RMAppAttempt currentAttempt = rmContext.getRMApps()
        .get(attemptId.getApplicationId()).getCurrentAppAttempt();
{code}
 

log [https://api.travis-ci.org/v3/job/550689578/log.txt]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to