Just make sure JAVA_HOME is set in the current shell. Also, check jps after you start HBase. It should indicate a process HMaster as running.
Regards, Pavan On Jul 24, 2013 8:41 PM, "Ted Yu" <yuzhih...@gmail.com> wrote: > Did you install HBase in distributed mode ? > Which release do you use ? > > Are you able to see tables on master UI ? > > Cheers > > On Wed, Jul 24, 2013 at 4:08 AM, Narenthirasamy <narenthiras...@yahoo.com > >wrote: > > > Hi folks, > > > > I installed hbase for my testing purpose,when i gave commands in shell > mode > > it shows error bunch of error code.. > > > > > > > > hbase(main):001:0> list ... ava:75) at > > > > > org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) > > at > > > > > org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) > > at > > > > > org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) > > at > > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) > > at > > > > > usr.local.hbase.bin.$_dot_dot_.bin.hirb.block_2$RUBY$start(/usr/local/hbase/bin/../bin/hirb.rb:183) > > at > > > > > usr$local$hbase$bin$$_dot_dot_$bin$hirb$block_2$RUBY$start.call(usr$local$hbase$bin$$_dot_dot_$bin$hirb$block_2$RUBY$start:65535) > > at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:112) at > > org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:95) at > > org.jruby.runtime.Block.yield(Block.java:130) at > > org.jruby.RubyContinuation.enter(RubyContinuation.java:106) at > > org.jruby.RubyKernel.rbCatch(RubyKernel.java:1192) at > > > org.jruby.RubyKernel$s$1$0$rbCatch.call(RubyKernel$s$1$0$rbCatch.gen:65535) > > at > > > > > org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:322) > > at > > > > > org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:178) > > at > > > > > org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:187) > > at > > > > > usr.local.hbase.bin.$_dot_dot_.bin.hirb.method__5$RUBY$start(/usr/local/hbase/bin/../bin/hirb.rb:182) > > at > > > > > usr$local$hbase$bin$$_dot_dot_$bin$hirb$method__5$RUBY$start.call(usr$local$hbase$bin$$_dot_dot_$bin$hirb$method__5$RUBY$start:65535) > > at > > > > > org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:203) > > at > > > > > org.jruby.internal.runtime.methods.CompiledMethod.call(CompiledMethod.java:255) > > at > > > > > org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) > > at > > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) > > at > > > > > usr.local.hbase.bin.$_dot_dot_.bin.hirb.file(/usr/local/hbase/bin/../bin/hirb.rb:188) > > at > > > > > usr.local.hbase.bin.$_dot_dot_.bin.hirb.load(/usr/local/hbase/bin/../bin/hirb.rb) > > at org.jruby.Ruby.runScript(Ruby.java:693) at > > org.jruby.Ruby.runScript(Ruby.java:686) at > > org.jruby.Ruby.runNormally(Ruby.java:593) at > > org.jruby.Ruby.runFromMain(Ruby.java:442) at > > org.jruby.Main.doRunFromMain(Main.java:321) at > > org.jruby.Main.internalRun(Main.java:241) at > > org.jruby.Main.run(Main.java:207) at org.jruby.Main.run(Main.java:191) at > > org.jruby.Main.main(Main.java:171) > > > > ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times > > > > > > > > > > -- > > View this message in context: > > > http://apache-hbase.679495.n3.nabble.com/Hbase-shell-showing-error-when-giving-commands-tp4048280.html > > Sent from the HBase User mailing list archive at Nabble.com. > > >