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

TestLogsCLI#testFetchApplictionLogsAsAnotherUser fails

    XMLWordPrintableJSON

Details

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

    Description

      Running org.apache.hadoop.yarn.client.cli.TestLogsCLI
      Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.876 sec <<< FAILURE! - in org.apache.hadoop.yarn.client.cli.TestLogsCLI
      testFetchApplictionLogsAsAnotherUser(org.apache.hadoop.yarn.client.cli.TestLogsCLI)  Time elapsed: 0.199 sec  <<< ERROR!
      java.io.IOException: Invalid directory or I/O error occurred for dir: /Users/aajisaka/git/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/target/logs/priority/logs/application_1477371285256_1000
              at org.apache.hadoop.fs.FileUtil.list(FileUtil.java:1148)
              at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:469)
              at org.apache.hadoop.fs.DelegateToFileSystem.listStatus(DelegateToFileSystem.java:169)
              at org.apache.hadoop.fs.ChecksumFs.listStatus(ChecksumFs.java:519)
              at org.apache.hadoop.fs.AbstractFileSystem$1.<init>(AbstractFileSystem.java:890)
              at org.apache.hadoop.fs.AbstractFileSystem.listStatusIterator(AbstractFileSystem.java:888)
              at org.apache.hadoop.fs.FileContext$22.next(FileContext.java:1492)
              at org.apache.hadoop.fs.FileContext$22.next(FileContext.java:1487)
              at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
              at org.apache.hadoop.fs.FileContext.listStatus(FileContext.java:1494)
              at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.getRemoteNodeFileDir(LogCLIHelpers.java:592)
              at org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(LogCLIHelpers.java:348)
              at org.apache.hadoop.yarn.client.cli.LogsCLI.fetchApplicationLogs(LogsCLI.java:971)
              at org.apache.hadoop.yarn.client.cli.LogsCLI.runCommand(LogsCLI.java:299)
              at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:106)
              at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFetchApplictionLogsAsAnotherUser(TestLogsCLI.java:868)
      

      Attachments

        1. YARN-5777.01.patch
          1 kB
          Akira Ajisaka

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: