slfan1989 opened a new pull request, #4961: URL: https://github.com/apache/hadoop/pull/4961
JIRA: YARN-11324. Fix some PBImpl classes to avoid NPE. When completing [YARN-11323](https://issues.apache.org/jira/browse/YARN-11323), I found that there is a bug in ApplicationHomeSubClusterPBImpl, which may cause a null pointer exception when getting getApplicationId ``` @Test public void testGetApplicationIdNullException() throws YarnException { ApplicationId appId = ApplicationId.newInstance(Time.now(), 1); ApplicationHomeSubCluster appHomeSC = ApplicationHomeSubCluster.newInstance( appId, subClusterId); System.out.println(appHomeSC.getApplicationId()); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
