[
https://issues.apache.org/jira/browse/MAPREDUCE-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108405#comment-13108405
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-3040:
----------------------------------------------------
I merged this into branch-0.23.
I was surprised why we didn't see these failures before, and as it turns out,
the patch builds aren't running any of these tests. These tests need the MRApp
jar, which isn't generated if we only do "mvn test" like the patch builds. Will
fix the test-patch script to run "mvn clean install test" for tests.
> TestMRJobs, TestMRJobsWithHistoryService, TestMROldApiJobs fail
> ---------------------------------------------------------------
>
> Key: MAPREDUCE-3040
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3040
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Thomas Graves
> Assignee: Arun C Murthy
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3040.patch, MAPREDUCE-3040.patch
>
>
> Running org.apache.hadoop.mapreduce.v2.TestMRJobs
> Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 6.229 sec <<<
> FAILURE!
> Running org.apache.hadoop.mapreduce.v2.TestMRJobsWithHistoryService
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.887 sec <<<
> FAILURE!
> Running org.apache.hadoop.mapreduce.v2.TestMROldApiJobs
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.067 sec <<<
> FAILURE!
> All of them have the exception:
> java.lang.NullPointerException
> at
> org.apache.hadoop.mapreduce.v2.util.MRApps.parseDistributedCacheArtifacts(MRApps.java:300)
> at
> org.apache.hadoop.mapreduce.v2.util.MRApps.setupDistributedCache(MRApps.java:277)
> at
> org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:349)
> at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:227)
> at
> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:376)
> at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1161)
> at org.apache.hadoop.mapreduce.Job$2.run(Job.java:1158)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1135)
> at org.apache.hadoop.mapreduce.Job.submit(Job.java:1158)
> at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1178)
> at
> org.apache.hadoop.mapreduce.v2.TestMRJobs.testSleepJob(TestMRJobs.java:147)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira