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

TestAMAuthorization fails with local hostname cannot be resolved

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.4.1
    • Component/s: resourcemanager
    • Labels:
      None
    • Environment:

      SUSE Linux Enterprise Server 11 (x86_64)

    • Target Version/s:

      Description

      When hostname is 158-1-131-10, TestAMAuthorization fails.

      Running org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization
      Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 14.034 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization
      testUnauthorizedAccess[0](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization)  Time elapsed: 3.952 sec  <<< ERROR!
      java.lang.NullPointerException: null
              at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:284)
      
      testUnauthorizedAccess[1](org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization)  Time elapsed: 3.116 sec  <<< ERROR!
      java.lang.NullPointerException: null
              at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:284)
      
      
      Results :
      
      Tests in error:
        TestAMAuthorization.testUnauthorizedAccess:284 NullPointer
        TestAMAuthorization.testUnauthorizedAccess:284 NullPointer
      
      Tests run: 4, Failures: 0, Errors: 2, Skipped: 0
      
      

        Attachments

        1. YARN-1201.patch
          3 kB
          Wangda Tan
        2. YARN-1201.patch
          3 kB
          Wangda Tan
        3. YARN-1201.patch
          3 kB
          Wangda Tan
        4. YARN-1201.patch
          3 kB
          Wangda Tan
        5. YARN-1201.patch
          2 kB
          Wangda Tan
        6. YARN-1201.patch
          1 kB
          Wangda Tan
        7. YARN-1201.patch
          2 kB
          Wangda Tan

          Activity

            People

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              nemon Nemon Lou
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: