You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org> on 2011/10/28 06:36:33 UTC

[jira] [Updated] (MAPREDUCE-3295) TestAMAuthorization failing on branch 0.23.

     [ https://issues.apache.org/jira/browse/MAPREDUCE-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated MAPREDUCE-3295:
-------------------------------------

    Priority: Critical  (was: Major)

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}}

                
> TestAMAuthorization failing on branch 0.23.
> -------------------------------------------
>
>                 Key: MAPREDUCE-3295
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3295
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Mahadev konar
>            Priority: Critical
>             Fix For: 0.23.0
>
>
> The test seems to fail both on Mac and linux. Trace in the next comment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira