Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None

      Description

      The test seems to fail both on Mac and linux. Trace in the next comment.

      1. MAPREDUCE-3295-20110129.txt
        1.0 kB
        Vinod Kumar Vavilapalli

        Issue Links

          Activity

          Hide
          Mahadev konar added a comment -

          Am seing TestAMAuthorization fail on a Mac as well, only on branch 23 and irrespective of the order of tests. Same error - and a bunch of messages related to kerberos.
          testAuthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization)
          testUnauthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization): Could not initialize class org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS

          noformat
          testAuthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0.71 sec <<< ERROR!
          java.lang.ExceptionInInitializerError
          at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:197)
          at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:254)
          at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS.<clinit>(TestAMAuthorization.java:96)
          at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testAuthorizedAccess(TestAMAuthorization.java:119)
          .....
          .....
          Caused by: java.lang.IllegalArgumentException: Can't get Kerberos configuration
          at org.apache.hadoop.security.HadoopKerberosName.<clinit>(HadoopKerberosName.java:46)
          ... 33 more
          Caused by: KrbException: I/O error while reading configuration file.
          at sun.security.krb5.Config.parseStanzaTable(Config.java:593)
          at sun.security.krb5.Config.loadStanzaTable(Config.java:127)
          at sun.security.krb5.Config.<init>(Config.java:176)
          at sun.security.krb5.Config.getInstance(Config.java:79)
          at org.apache.hadoop.security.HadoopKerberosName.<clinit>(HadoopKerberosName.java:43)
          ... 33 more
          testUnauthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0 sec <<< ERROR!
          java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS
          at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:175)
          noformat

          Show
          Mahadev konar added a comment - Am seing TestAMAuthorization fail on a Mac as well, only on branch 23 and irrespective of the order of tests. Same error - and a bunch of messages related to kerberos. testAuthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) testUnauthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization): Could not initialize class org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS noformat testAuthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0.71 sec <<< ERROR! java.lang.ExceptionInInitializerError at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:197) at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:254) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS.<clinit>(TestAMAuthorization.java:96) at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testAuthorizedAccess(TestAMAuthorization.java:119) ..... ..... Caused by: java.lang.IllegalArgumentException: Can't get Kerberos configuration at org.apache.hadoop.security.HadoopKerberosName.<clinit>(HadoopKerberosName.java:46) ... 33 more Caused by: KrbException: I/O error while reading configuration file. at sun.security.krb5.Config.parseStanzaTable(Config.java:593) at sun.security.krb5.Config.loadStanzaTable(Config.java:127) at sun.security.krb5.Config.<init>(Config.java:176) at sun.security.krb5.Config.getInstance(Config.java:79) at org.apache.hadoop.security.HadoopKerberosName.<clinit>(HadoopKerberosName.java:43) ... 33 more testUnauthorizedAccess(org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization) Time elapsed: 0 sec <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization$MockRMWithAMS at org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization.testUnauthorizedAccess(TestAMAuthorization.java:175) noformat
          Hide
          Mahadev konar added a comment -
          Show
          Mahadev konar added a comment - The 0.23 build also is having the same issue: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Mapreduce-0.23-Build/69/console
          Hide
          Vinod Kumar Vavilapalli added a comment -

          This will be automatically fixed once the maven related patches go into 0.23, which should be soon.

          Let me know if you need an interim fix.

          Show
          Vinod Kumar Vavilapalli added a comment - This will be automatically fixed once the maven related patches go into 0.23, which should be soon. Let me know if you need an interim fix.
          Hide
          Vinod Kumar Vavilapalli added a comment -

          Mahadev, can you try this?

          If it works, great.

          Please don't commit this to trunk though, it isn't needed there.

          Show
          Vinod Kumar Vavilapalli added a comment - Mahadev, can you try this? If it works, great. Please don't commit this to trunk though, it isn't needed there.
          Hide
          Mahadev konar added a comment -

          looks good to me. Ill commit and kick off a build.

          Show
          Mahadev konar added a comment - looks good to me. Ill commit and kick off a build.
          Show
          Mahadev konar added a comment - Committed it to 0.23. https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Mapreduce-0.23-Build/71/console
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Build #71 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/71/)
          MAPREDUCE-3295. TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev)

          mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #71 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/71/ ) MAPREDUCE-3295 . TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/101/)
          MAPREDUCE-3295. TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev)

          mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #101 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/101/ ) MAPREDUCE-3295 . TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-0.23-Commit #99 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/99/)
          MAPREDUCE-3295. TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev)

          mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #99 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/99/ ) MAPREDUCE-3295 . TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Commit #99 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/99/)
          MAPREDUCE-3295. TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev)

          mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #99 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/99/ ) MAPREDUCE-3295 . TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/)
          MAPREDUCE-3295. TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev)

          mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #54 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/54/ ) MAPREDUCE-3295 . TestAMAuthorization failing on branch 0.23. (vinodkv via mahadev) mahadev : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1190528 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/pom.xml

            People

            • Assignee:
              Unassigned
              Reporter:
              Mahadev konar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development