hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈加俊 <cjjvict...@gmail.com>
Subject Re: Strange, suddenly shell cannot use
Date Sun, 19 Dec 2010 06:48:00 GMT
Hi Suraj Varam

Thank you !  I don't think that is the reason. See below

$ echo $JAVA_HOME
/etc/java-config-2/current-system-vm

 $ /etc/java-config-2/current-system-vm/bin/java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

$ java-config -L
The following VMs are available for generation-2:
1)      IcedTea6-bin 1.7.2 [icedtea6-bin]
*)      Sun JDK 1.6.0.20 [sun-jdk-1.6]



On Sat, Dec 18, 2010 at 7:17 PM, Suraj Varma <svarma.ng@gmail.com> wrote:

> Check your JAVA_HOME settings - I suspect an older JRE is being picked up.
> HBase needs at least JRE 1.6 ...
> --Suraj
>
> On Sat, Dec 18, 2010 at 2:12 AM, 陈加俊 <cjjvictory@gmail.com> wrote:
>
> > Strange, suddenly shell cannot use!
> >
> > errors:
> >
> > bin/hbase shell
> > ClassLoader.java:-2:in `defineClass1': java.lang.ClassFormatError:
> Unknown
> > constant tag 26 in class file
> > org/jruby/RubyIO$s_method_multi$RUBYINVOKER$read
> >        from ClassLoader.java:632:in `defineClassCond'
> >        from ClassLoader.java:616:in `defineClass'
> >        from SecureClassLoader.java:141:in `defineClass'
> >        from URLClassLoader.java:283:in `defineClass'
> >        from URLClassLoader.java:58:in `access$000'
> >        from URLClassLoader.java:197:in `run'
> >        from AccessController.java:-2:in `doPrivileged'
> >        from URLClassLoader.java:190:in `findClass'
> >        from ClassLoader.java:307:in `loadClass'
> >        from Launcher.java:301:in `loadClass'
> >        from ClassLoader.java:296:in `loadClass'
> >        from ClassLoader.java:248:in `loadClass'
> >        from InvocationMethodFactory.java:1098:in `tryClass'
> >        from InvocationMethodFactory.java:594:in `getAnnotatedMethodClass'
> >        from InvocationMethodFactory.java:550:in `getAnnotatedMethod'
> >        from RubyModule.java:762:in `defineAnnotatedMethod'
> >        from TypePopulator.java:50:in `populate'
> >        from RubyModule.java:677:in `defineAnnotatedMethodsIndividually'
> >        from RubyModule.java:579:in `defineAnnotatedMethods'
> >        from RubyIO.java:325:in `createIOClass'
> >        from Ruby.java:1076:in `initCore'
> >        from Ruby.java:954:in `bootstrap'
> >        from Ruby.java:932:in `init'
> >        from Ruby.java:172:in `newInstance'
> >        from Main.java:199:in `run'
> >        from Main.java:110:in `run'
> >        from Main.java:94:in `main'
> >
> > HBase:0.20.6
> > HDFS:0.20.2
> >
> > --
> > Thanks & Best regards
> > jiajun
> >
>



-- 
Thanks & Best regards
jiajun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message