You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2010/11/18 00:31:16 UTC

[jira] Commented: (HADOOP-6941) Hadoop 0.21 will not work on non-SUN JREs due to use of com.sun.security in org/apache/hadoop/security/UserGroupInformation.java

    [ https://issues.apache.org/jira/browse/HADOOP-6941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933233#action_12933233 ] 

Hadoop QA commented on HADOOP-6941:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12459840/HADOOP-6941.patch
  against trunk revision 1036130.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 javadoc.  The javadoc tool appears to have generated 1 warning messages.

    -1 javac.  The applied patch generated 1053 javac compiler warnings (more than the trunk's current 1048 warnings).

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/107//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/107//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/107//console

This message is automatically generated.

> Hadoop 0.21 will not work on non-SUN JREs due to use of com.sun.security in org/apache/hadoop/security/UserGroupInformation.java
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6941
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6941
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>         Environment: SLES 11, Apache Harmony 6 and SLES 11, IBM Java 6
>            Reporter: Stephen Watt
>             Fix For: 0.21.1, 0.22.0
>
>         Attachments: HADOOP-6941.patch
>
>
> Attempting to format the namenode or attempting to start Hadoop using Apache Harmony or the IBM Java JREs results in the following exception:
> 10/09/07 16:35:05 ERROR namenode.NameNode: java.lang.NoClassDefFoundError: com.sun.security.auth.UnixPrincipal
> 	at org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:223)
> 	at java.lang.J9VMInternals.initializeImpl(Native Method)
> 	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:420)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:391)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1240)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1348)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1368)
> Caused by: java.lang.ClassNotFoundException: com.sun.security.auth.UnixPrincipal
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:421)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:652)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:618)
> 	... 8 more
> This is a negative regression as previous versions of Hadoop worked with these JREs

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.