See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2563/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 32514 lines...] TestJobEndNotifier.testNotificationOnLastRetryNormalShutdown:204 NoClassDefFound TestJobEndNotifier.testAbsentNotificationOnNotLastRetryUnregistrationFailure:227 NoClassDefFound TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure:254 NoClassDefFound TestJobHistoryEventHandler.testFirstFlushOnCompletionEvent:109 » ExceptionInInitializer TestJobHistoryEventHandler.testProcessDoneFilesNotLastAMRetry:330 » NoClassDefFound TestJobHistoryEventHandler.testTimelineEventHandling:489 » NoClassDefFound Cou... TestJobHistoryEventHandler.testProcessDoneFilesOnLastAMRetry:284 » NoClassDefFound TestJobHistoryEventHandler.testDefaultFsIsUsedForHistory:387 » NoClassDefFound TestJobHistoryEventHandler.testSigTermedFunctionality:794 » NoClassDefFound or... TestJobHistoryEventHandler.testMaxUnflushedCompletionEvents:152 » NoClassDefFound TestJobHistoryEventHandler.testAMStartedEvent:447 » NoClassDefFound Could not ... TestJobHistoryEventHandler.testUnflushedTimer:197 » NoClassDefFound Could not ... TestJobHistoryEventHandler.testBatchedFlushJobEndMultiplier:240 » NoClassDefFound Tests run: 340, Failures: 0, Errors: 18, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Hadoop MapReduce Client .................... SUCCESS [ 3.346 s] [INFO] Apache Hadoop MapReduce Core ...................... SUCCESS [01:43 min] [INFO] Apache Hadoop MapReduce Common .................... SUCCESS [ 32.582 s] [INFO] Apache Hadoop MapReduce Shuffle ................... SUCCESS [ 5.471 s] [INFO] Apache Hadoop MapReduce App ....................... FAILURE [08:39 min] [INFO] Apache Hadoop MapReduce HistoryServer ............. SKIPPED [INFO] Apache Hadoop MapReduce JobClient ................. SKIPPED [INFO] Apache Hadoop MapReduce HistoryServer Plugins ..... SKIPPED [INFO] Apache Hadoop MapReduce NativeTask ................ SKIPPED [INFO] Apache Hadoop MapReduce Examples .................. SKIPPED [INFO] Apache Hadoop MapReduce ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11:06 min [INFO] Finished at: 2015-11-03T20:45:01+00:00 [INFO] Final Memory: 52M/1249M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project hadoop-mapreduce-client-app: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/jenkins-slave/workspace/Hadoop-Mapreduce-trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-mapreduce-client-app Build step 'Execute shell' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE Archiving artifacts Recording test results Updating HDFS-9362 Updating HDFS-9354 Updating YARN-4326 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ################################################################################### ############################## FAILED TESTS (if any) ############################## 18 tests failed. FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testFirstFlushOnCompletionEvent Error Message: null Stack Trace: java.lang.ExceptionInInitializerError: null at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider.getFactoryClassInstance(RecordFactoryProvider.java:57) at org.apache.hadoop.yarn.factory.providers.RecordFactoryProvider.getRecordFactory(RecordFactoryProvider.java:52) at org.apache.hadoop.yarn.util.Records.<clinit>(Records.java:32) at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testFirstFlushOnCompletionEvent(TestJobHistoryEventHandler.java:109) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testProcessDoneFilesNotLastAMRetry Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testProcessDoneFilesNotLastAMRetry(TestJobHistoryEventHandler.java:330) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testTimelineEventHandling Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testTimelineEventHandling(TestJobHistoryEventHandler.java:489) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testProcessDoneFilesOnLastAMRetry Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testProcessDoneFilesOnLastAMRetry(TestJobHistoryEventHandler.java:284) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testDefaultFsIsUsedForHistory Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testDefaultFsIsUsedForHistory(TestJobHistoryEventHandler.java:387) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testSigTermedFunctionality Error Message: org/apache/hadoop/yarn/util/Clock Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/util/Clock at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.mockito.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:349) at org.mockito.cglib.proxy.Enhancer.getMethods(Enhancer.java:427) at org.mockito.cglib.proxy.Enhancer.generateClass(Enhancer.java:457) at org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:217) at org.mockito.cglib.proxy.Enhancer.createHelper(Enhancer.java:378) at org.mockito.cglib.proxy.Enhancer.createClass(Enhancer.java:318) at org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:93) at org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:50) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:54) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:45) at org.mockito.Mockito.mock(Mockito.java:921) at org.mockito.Mockito.mock(Mockito.java:816) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testSigTermedFunctionality(TestJobHistoryEventHandler.java:794) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testMaxUnflushedCompletionEvents Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testMaxUnflushedCompletionEvents(TestJobHistoryEventHandler.java:152) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testAMStartedEvent Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testAMStartedEvent(TestJobHistoryEventHandler.java:447) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testUnflushedTimer Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testUnflushedTimer(TestJobHistoryEventHandler.java:197) FAILED: org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testBatchedFlushJobEndMultiplier Error Message: Could not initialize class org.apache.hadoop.yarn.util.Records Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.util.Records at org.apache.hadoop.yarn.api.records.ApplicationId.newInstance(ApplicationId.java:49) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:763) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler$TestParams.<init>(TestJobHistoryEventHandler.java:773) at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testBatchedFlushJobEndMultiplier(TestJobHistoryEventHandler.java:240) FAILED: org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotifyRetries Error Message: org/apache/hadoop/yarn/api/records/Priority Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/api/records/Priority at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2531) at java.lang.Class.getDeclaredMethods(Class.java:1855) at org.mockito.cglib.core.ReflectUtils.addAllMethods(ReflectUtils.java:349) at org.mockito.cglib.proxy.Enhancer.getMethods(Enhancer.java:427) at org.mockito.cglib.proxy.Enhancer.generateClass(Enhancer.java:457) at org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:217) at org.mockito.cglib.proxy.Enhancer.createHelper(Enhancer.java:378) at org.mockito.cglib.proxy.Enhancer.createClass(Enhancer.java:318) at org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:93) at org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:50) at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:54) at org.mockito.internal.MockitoCore.mock(MockitoCore.java:45) at org.mockito.Mockito.mock(Mockito.java:921) at org.mockito.Mockito.mock(Mockito.java:816) at org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotifyRetries(TestJobEndNotifier.java:171) FAILED: org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryNormalShutdown Error Message: org/apache/hadoop/yarn/exceptions/YarnRuntimeException Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnRuntimeException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryNormalShutdown(TestJobEndNotifier.java:204) FAILED: org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testAbsentNotificationOnNotLastRetryUnregistrationFailure Error Message: org/apache/hadoop/yarn/exceptions/YarnRuntimeException Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnRuntimeException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testAbsentNotificationOnNotLastRetryUnregistrationFailure(TestJobEndNotifier.java:227) FAILED: org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure Error Message: org/apache/hadoop/yarn/exceptions/YarnRuntimeException Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/yarn/exceptions/YarnRuntimeException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hadoop.mapreduce.v2.app.TestJobEndNotifier.testNotificationOnLastRetryUnregistrationFailure(TestJobEndNotifier.java:254) FAILED: org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testAMRMTokenUpdate Error Message: org/apache/hadoop/io/retry/FailoverProxyProvider Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/io/retry/FailoverProxyProvider at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.updateAMRMToken(RMContainerAllocator.java:870) at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.getResources(RMContainerAllocator.java:769) at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:268) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator$MyContainerAllocator.schedule(TestRMContainerAllocator.java:2023) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator$7.run(TestRMContainerAllocator.java:2706) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator$7.run(TestRMContainerAllocator.java:2692) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1669) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testAMRMTokenUpdate(TestRMContainerAllocator.java:2691) FAILED: org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testReportedAppProgressWithOnlyMaps Error Message: could not cleanup test dir Stack Trace: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: could not cleanup test dir at org.apache.hadoop.fs.AbstractFileSystem.createFileSystem(AbstractFileSystem.java:161) at org.apache.hadoop.fs.AbstractFileSystem.get(AbstractFileSystem.java:250) at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:332) at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:329) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1669) at org.apache.hadoop.fs.FileContext.getAbstractFileSystem(FileContext.java:329) at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:446) at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:423) at org.apache.hadoop.fs.FileContext.getLocalFSFileContext(FileContext.java:409) at org.apache.hadoop.mapreduce.v2.app.MRApp.<init>(MRApp.java:239) at org.apache.hadoop.mapreduce.v2.app.MRApp.<init>(MRApp.java:223) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator$3.<init>(TestRMContainerAllocator.java:1074) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testReportedAppProgressWithOnlyMaps(TestRMContainerAllocator.java:1073) FAILED: org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testUnregistrationOnlyIfRegistered Error Message: could not cleanup test dir Stack Trace: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: could not cleanup test dir at org.apache.hadoop.fs.AbstractFileSystem.createFileSystem(AbstractFileSystem.java:161) at org.apache.hadoop.fs.AbstractFileSystem.get(AbstractFileSystem.java:250) at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:332) at org.apache.hadoop.fs.FileContext$2.run(FileContext.java:329) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1669) at org.apache.hadoop.fs.FileContext.getAbstractFileSystem(FileContext.java:329) at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:446) at org.apache.hadoop.fs.FileContext.getFileContext(FileContext.java:423) at org.apache.hadoop.fs.FileContext.getLocalFSFileContext(FileContext.java:409) at org.apache.hadoop.mapreduce.v2.app.MRApp.<init>(MRApp.java:239) at org.apache.hadoop.mapreduce.v2.app.MRApp.<init>(MRApp.java:223) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator$6.<init>(TestRMContainerAllocator.java:2392) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testUnregistrationOnlyIfRegistered(TestRMContainerAllocator.java:2390) FAILED: org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testRMContainerAllocatorResendsRequestsOnRMRestart Error Message: org/apache/hadoop/service/ServiceOperations Stack Trace: java.lang.NoClassDefFoundError: org/apache/hadoop/service/ServiceOperations at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hadoop.service.CompositeService.stop(CompositeService.java:157) at org.apache.hadoop.service.CompositeService.serviceStop(CompositeService.java:131) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStop(ResourceManager.java:1100) at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221) at org.apache.hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator.testRMContainerAllocatorResendsRequestsOnRMRestart(TestRMContainerAllocator.java:2599)