Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5657

Fix TestDefaultContainerExecutor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • test
    • None

    Description

      https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/166/testReport/junit/org.apache.hadoop.yarn.server.nodemanager/TestDefaultContainerExecutor/testStartLocalizer/

      java.lang.AssertionError: StartLocalizer failed to copy token file: java.io.FileNotFoundException: File file:/testptch/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/TestDefaultContainerExecutor/tokenDir/test.tokens does not exist
      	at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:645)
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:871)
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:635)
      	at org.apache.hadoop.fs.DelegateToFileSystem.getFileStatus(DelegateToFileSystem.java:126)
      	at org.apache.hadoop.fs.FilterFs.getFileStatus(FilterFs.java:121)
      	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1167)
      	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1163)
      	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
      	at org.apache.hadoop.fs.FileContext.getFileStatus(FileContext.java:1169)
      	at org.apache.hadoop.fs.FileContext$Util.copy(FileContext.java:2076)
      	at org.apache.hadoop.yarn.server.nodemanager.TestDefaultContainerExecutor.testStartLocalizer(TestDefaultContainerExecutor.java:452)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.apache.hadoop.yarn.server.nodemanager.TestDefaultContainerExecutor.testStartLocalizer(TestDefaultContainerExecutor.java:462)
      

      Attachments

        1. YARN-5657.001.patch
          2 kB
          Arun Suresh
        2. YARN-5657.002.patch
          2 kB
          Arun Suresh

        Issue Links

          Activity

            People

              asuresh Arun Suresh
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: