On 05/26/2011 07:45 PM, subhransu wrote:
Hello Geeks,
  I am a new bee to use hadoop and i am currently installed hadoop-0.20.203.0
I am running the sample programs part of this package but getting this error

Any pointer to fix this ???

~/Hadoop/hadoop-0.20.203.0 788>  bin/hadoop jar
hadoop-examples-0.20.203.0.jar sort
java.lang.NoClassDefFoundError: com.sun.security.auth.UnixPrincipal
  at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:246)
  at java.lang.J9VMInternals.initializeImpl(Native Method)
  at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
  at org.apache.hadoop.mapred.JobClient.init(JobClient.java:449)
  at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:437)
  at org.apache.hadoop.examples.Sort.run(Sort.java:82)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
  at org.apache.hadoop.examples.Sort.main(Sort.java:187)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at

you're running the IBM JVM.
https://issues.apache.org/jira/browse/HADOOP-7211

Go to the IBM web site and download their slightly-modified version of Hadoop that works with their JVM, or switch to the Sun JVM, which is the only one that Hadoop is rigorously tested on. Sorry.

-steve


Reply via email to