[ https://issues.apache.org/jira/browse/HADOOP-6941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231126#comment-13231126 ]
Hudson commented on HADOOP-6941: -------------------------------- Integrated in Hadoop-Hdfs-trunk #986 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/986/]) HADOOP-6941. Forgot to add a License header (Revision 1301312) HADOOP-6941. Adds support for building Hadoop with IBM's JDK. Contributed by Stephen Watt, Eli Collins and Devaraj Das. (Revision 1301308) Result = SUCCESS ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301312 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosUtil.java ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301308 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosUtil.java * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/KerberosTestUtils.java * /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/server/TestKerberosAuthenticationHandler.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/HadoopKerberosName.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java > Support non-SUN JREs in UserGroupInformation > -------------------------------------------- > > Key: HADOOP-6941 > URL: https://issues.apache.org/jira/browse/HADOOP-6941 > Project: Hadoop Common > Issue Type: Bug > Environment: SLES 11, Apache Harmony 6 and SLES 11, IBM Java 6 > Reporter: Stephen Watt > Assignee: Luke Lu > Attachments: 6941-1.patch, HADOOP-6941.patch, 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. 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