[ 
https://issues.apache.org/jira/browse/YARN-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naganarasimha G R updated YARN-4505:
------------------------------------
    Attachment: YARN-4505.v1.002.patch

test case failure is passing locally  but {{throws Exception}} is not required

> TestJobHistoryEventHandler.testTimelineEventHandling fails on trunk because 
> of NPE
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-4505
>                 URL: https://issues.apache.org/jira/browse/YARN-4505
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Naganarasimha G R
>              Labels: test
>         Attachments: YARN-4505.v1.001.patch, YARN-4505.v1.002.patch
>
>
> https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/824/
> {code}
> Tests run: 13, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.163 sec 
> <<< FAILURE! - in 
> org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler
> testTimelineEventHandling(org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler)
>   Time elapsed: 5.115 sec  <<< ERROR!
> java.lang.NullPointerException: null
>       at 
> org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.putEntities(TimelineClientImpl.java:331)
>       at 
> org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.processEventForTimelineServer(JobHistoryEventHandler.java:1015)
>       at 
> org.apache.hadoop.mapreduce.jobhistory.JobHistoryEventHandler.handleEvent(JobHistoryEventHandler.java:586)
>       at 
> org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.handleEvent(TestJobHistoryEventHandler.java:722)
>       at 
> org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testTimelineEventHandling(TestJobHistoryEventHandler.java:510)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to