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

TestDefaultContainerExecutor#testContainerLaunchError fails on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      The testContainerLaunchError test fails on Windows with the following error -

      java.io.FileNotFoundException: File file:/bin/echo does not exist
      	at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:524)
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:737)
      	at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:514)
      	at org.apache.hadoop.fs.DelegateToFileSystem.getFileStatus(DelegateToFileSystem.java:111)
      	at org.apache.hadoop.fs.FilterFs.getFileStatus(FilterFs.java:120)
      	at org.apache.hadoop.fs.FileContext$14.next(FileContext.java:1117)
      	at org.apache.hadoop.fs.FileContext$14.next(FileContext.java:1113)
      	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
      	at org.apache.hadoop.fs.FileContext.getFileStatus(FileContext.java:1113)
      	at org.apache.hadoop.fs.FileContext$Util.copy(FileContext.java:2019)
      	at org.apache.hadoop.fs.FileContext$Util.copy(FileContext.java:1978)
      	at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:145)
      	at org.apache.hadoop.yarn.server.nodemanager.TestDefaultContainerExecutor.testContainerLaunchError(TestDefaultContainerExecutor.java:289)
      

      Attachments

        1. apache-yarn-2711.0.patch
          3 kB
          Varun Vasudev

        Activity

          People

            vvasudev Varun Vasudev
            vvasudev Varun Vasudev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: