Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> using hadoop on zLinux (Linux on S390)


Copy link to this message
-
Re: using hadoop on zLinux (Linux on S390)
Well...

I didn't think that the general version contained IBM specific security Java.

Your error: JAAS classes:com.ibm.security.auth.LinuxPrincipal
(The first line...)

Is saying that they can't find this class.
Since this is the Apache release and you're trying to run it on IBM where you need specific IBM security stuff.

Now I could be wrong but that's my first take on it.
On Dec 11, 2012, at 8:50 AM, "Emile Kao" <[EMAIL PROTECTED]> wrote:

> No, this is the general available version...
>
> -------- Original-Nachricht --------
>> Datum: Tue, 11 Dec 2012 08:31:57 -0600
>> Von: Michael Segel <[EMAIL PROTECTED]>
>> An: [EMAIL PROTECTED]
>> Betreff: Re: using hadoop on zLinux (Linux on S390)
>
>> Well, on the surface....
>>
>> It looks like its either a missing class, or you don't have your class
>> path set up right.
>>
>> I'm assuming you got this version of Hadoop from IBM, so I would suggest
>> contacting their support and opening up a ticket.
>>
>>
>> On Dec 11, 2012, at 8:23 AM, Emile Kao <[EMAIL PROTECTED]> wrote:
>>
>>> Hello community,
>>> I am trying to use hadoop 1.1.0 on a SLES 11 (zLinux) running on IBM
>> S390.
>>> The java provided is "java-s390x-60" 64Bit.
>>> While trying to format the namenode I got the following error:
>>>
>>> $:/opt/flume_hadoop/hadoop-1.1.0> bin/hadoop namenode -format
>>> 12/12/11 14:16:31 INFO namenode.NameNode: STARTUP_MSG:
>>> /************************************************************
>>> STARTUP_MSG: Starting NameNode
>>> STARTUP_MSG:   host = xxxxxxxxx
>>> STARTUP_MSG:   args = [-format]
>>> STARTUP_MSG:   version = 1.1.0
>>> STARTUP_MSG:   build >> https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.1 -r 1394289; compiled by 'hortonfo' on Thu Oct  4 22:06:49
>> UTC 2012
>>> ************************************************************/
>>> Re-format filesystem in /opt/hadoop_data/name ? (Y or N) Y
>>> 12/12/11 14:16:34 INFO util.GSet: VM type       = 64-bit
>>> 12/12/11 14:16:34 INFO util.GSet: 2% max memory = 20.0 MB
>>> 12/12/11 14:16:34 INFO util.GSet: capacity      = 2^21 = 2097152 entries
>>> 12/12/11 14:16:34 INFO util.GSet: recommended=2097152, actual=2097152
>>> 12/12/11 14:16:34 ERROR security.UserGroupInformation: Unable to find
>> JAAS classes:com.ibm.security.auth.LinuxPrincipal
>>> 12/12/11 14:16:35 ERROR namenode.NameNode: java.io.IOException: failure
>> to login
>>>       at
>> org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:501)
>>>       at
>> org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:463)
>>>       at
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationParameters(FSNamesystem.java:491)
>>>       at
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:480)
>>>       at
>> org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1198)
>>>       at
>> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1391)
>>>       at
>> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1412)
>>> Caused by: javax.security.auth.login.LoginException:
>> java.lang.NullPointerException: invalid null Class provided
>>>       at javax.security.auth.Subject.getPrincipals(Subject.java:809)
>>>       at
>> org.apache.hadoop.security.UserGroupInformation$HadoopLoginModule.getCanonicalUser(UserGroupInformation.java:86)
>>>       at
>> org.apache.hadoop.security.UserGroupInformation$HadoopLoginModule.commit(UserGroupInformation.java:123)
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>       at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>>>       at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>       at java.lang.reflect.Method.invoke(Method.java:600)
>>>       at
>> javax.security.auth.login.LoginContext.invoke(LoginContext.java:795)
>>>       at
>> javax.security.auth.login.LoginContext.access$000(LoginContext.java:209)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB