You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "V.J. LeBlanc" <vj...@splyt.com> on 2014/08/18 23:42:50 UTC

Development Connectivity Issues in "Stand-Alone" Mode

As part of my workflow, I have a stand alone HBase setup that I use for
debugging. My development environment is on my laptop and I often develop
from different locations. The problem I run in to is that when I change
locations, I am unable to connect to my local HBase server (even after
stopping and re-starting it). I am currently using 0.98.5. I have boiled
the problem down to the following reproductions steps:

   1. Start HBase.
   2. Open a HBase shell and list tables.
   3. Stop HBase.
   4. Go to another location w/ a different internet connection.
   5. Start HBase.
   6. Open a HBase shell and try and list tables.
      1. This is the point I get to and have yet to fix. I can not proceed
      w/o rebooting my machine.

The call stack from the HBase shell looks like:

hbase(main):001:0> list
TABLE
2014-08-18 16:41:29.985 java[23621:1003] Unable to load realm info from
SCDynamicStore
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/hbase-0.98.4-hadoop1/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/hadoop-1.2.1/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
2014-08-18 16:41:50,997 ERROR [main] zookeeper.RecoverableZooKeeper:
ZooKeeper exists failed after 4 attempts
2014-08-18 16:41:50,998 WARN  [main] zookeeper.ZKUtil:
hconnection-0x2dd7e4d6, quorum=localhost:2181, baseZNode=/hbase Unable to
set watcher on znode (/hbase/hbaseid)
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:199)
at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:479)
at
org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:65)
at
org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:83)
at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:858)
at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:663)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:415)
at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:394)
at
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:275)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:192)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.jruby.javasupport.JavaConstructor.newInstanceDirect(JavaConstructor.java:275)
at
org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:91)
at
org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:178)
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.call(CachingCallSite.java:182)
at
org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:48)
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.call(CachingCallSite.java:182)
at org.jruby.RubyClass.newInstance(RubyClass.java:829)
at org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266)
at
org.jruby.java.proxies.ConcreteJavaProxy$3.call(ConcreteJavaProxy.java:144)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:255)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:342)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:212)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:216)
at org.jruby.RubyClass.newInstance(RubyClass.java:836)
at org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrNBlock.call(JavaMethod.java:283)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
at org.jruby.ast.OpAsgnOrNode.interpret(OpAsgnOrNode.java:100)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
at org.jruby.RubyClass.finvoke(RubyClass.java:552)
at org.jruby.RubyBasicObject.send(RubyBasicObject.java:2777)
at org.jruby.RubyKernel.send(RubyKernel.java:2105)
at org.jruby.RubyKernel$s$send.call(RubyKernel$s$send.gen:65535)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:39)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
at
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
at
org.jruby.ast.FCallSpecialArgBlockNode.interpret(FCallSpecialArgBlockNode.java:34)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:69)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:41)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:67)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at org.jruby.evaluator.ASTInterpreter.INTERPRET_EVAL(ASTInterpreter.java:95)
at
org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:166)
at org.jruby.RubyKernel.evalCommon(RubyKernel.java:1155)
at org.jruby.RubyKernel.eval(RubyKernel.java:1112)
at org.jruby.RubyKernel$s$0$3$eval.call(RubyKernel$s$0$3$eval.gen:65535)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:181)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
at
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:207)
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
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
at
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:260)
at org.jruby.runtime.Block.yieldSpecific(Block.java:117)
at org.jruby.ast.YieldTwoNode.interpret(YieldTwoNode.java:31)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.IfNode.interpret(IfNode.java:117)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
at
org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
at org.jruby.RubyKernel.loop(RubyKernel.java:1439)
at org.jruby.RubyKernel$s$0$0$loop.call(RubyKernel$s$0$0$loop.gen:65535)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
at org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:347)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:304)
at org.jruby.runtime.Block.yield(Block.java:130)
at org.jruby.RubyContinuation.enter(RubyContinuation.java:106)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:1212)
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
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
at
org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
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:185)
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:1212)
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:184)
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:190)
at
usr.local.hbase.bin.$_dot_dot_.bin.hirb.load(/usr/local/hbase/bin/../bin/hirb.rb)
at org.jruby.Ruby.runScript(Ruby.java:697)
at org.jruby.Ruby.runScript(Ruby.java:690)
at org.jruby.Ruby.runNormally(Ruby.java:597)
at org.jruby.Ruby.runFromMain(Ruby.java:446)
at org.jruby.Main.doRunFromMain(Main.java:369)
at org.jruby.Main.internalRun(Main.java:258)
at org.jruby.Main.run(Main.java:224)
at org.jruby.Main.run(Main.java:208)
at org.jruby.Main.main(Main.java:188)


I assume it's an issue w/ ZooKeeper tracking a stale network configuration
for my local master, but haven't been able to reset it. I have tried:

   1. Clearing out my temporary directory where my local HBase writes its
   partitions.
   2. Connecting w/ a ZK client and trying to clear out the HBase keys.
   3. Rebooting
      1. Currently this is the only fix I've discovered for the issue.
      Ideally I'd like to be able to fix it w/o a reboot :)

If anyone has experienced a similar issue or might be able to point me in
the right direction, I'd appreciate any suggestions.

Thanks,

VJ

Re: Development Connectivity Issues in "Stand-Alone" Mode

Posted by Sean Kennedy <sc...@comcast.net>.
This once helped me.. 

Add the following to /etc/hosts 


localhost 127.0.0.1 

----- Original Message -----

From: "Jean-Marc Spaggiari" <je...@spaggiari.org> 
To: "user" <us...@hbase.apache.org> 
Sent: Monday, August 18, 2014 5:51:47 PM 
Subject: Re: Development Connectivity Issues in "Stand-Alone" Mode 

Hi VJ, 

Simply make sure your /etc/hosts file contains an entry with your host name 
and the IP you have. 

As an example, here is mine: 
jmspaggiari@t430s:~/hbase/hbase-0.98.5-hadoop2$ cat /etc/hosts 
#192.168.23.178 t430s 
#192.168.1.3 t430s 
#10.1.25.127 t430s 
10.32.0.40 t430s 

As you can see depending on the network I'm on I use one IP or another one. 
On the plane, I point to 127.0.0.1 since I disable all network interfaces. 

That way I always use my HBase instance without any computer reboot. But 
still have to restart my HBase. 

JM 



2014-08-18 17:42 GMT-04:00 V.J. LeBlanc <vj...@splyt.com>: 

> As part of my workflow, I have a stand alone HBase setup that I use for 
> debugging. My development environment is on my laptop and I often develop 
> from different locations. The problem I run in to is that when I change 
> locations, I am unable to connect to my local HBase server (even after 
> stopping and re-starting it). I am currently using 0.98.5. I have boiled 
> the problem down to the following reproductions steps: 
> 
> 1. Start HBase. 
> 2. Open a HBase shell and list tables. 
> 3. Stop HBase. 
> 4. Go to another location w/ a different internet connection. 
> 5. Start HBase. 
> 6. Open a HBase shell and try and list tables. 
> 1. This is the point I get to and have yet to fix. I can not proceed 
> w/o rebooting my machine. 
> 
> The call stack from the HBase shell looks like: 
> 
> hbase(main):001:0> list 
> TABLE 
> 2014-08-18 16:41:29.985 java[23621:1003] Unable to load realm info from 
> SCDynamicStore 
> SLF4J: Class path contains multiple SLF4J bindings. 
> SLF4J: Found binding in 
> 
> [jar:file:/usr/local/hbase-0.98.4-hadoop1/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
> SLF4J: Found binding in 
> 
> [jar:file:/usr/local/hadoop-1.2.1/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation. 
> 2014-08-18 16:41:50,997 ERROR [main] zookeeper.RecoverableZooKeeper: 
> ZooKeeper exists failed after 4 attempts 
> 2014-08-18 16:41:50,998 WARN [main] zookeeper.ZKUtil: 
> hconnection-0x2dd7e4d6, quorum=localhost:2181, baseZNode=/hbase Unable to 
> set watcher on znode (/hbase/hbaseid) 
> org.apache.zookeeper.KeeperException$ConnectionLossException: 
> KeeperErrorCode = ConnectionLoss for /hbase/hbaseid 
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) 
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) 
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045) 
> at 
> 
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:199) 
> at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:479) 
> at 
> 
> org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:65) 
> at 
> 
> org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:83) 
> at 
> 
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:858) 
> at 
> 
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:663) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
> at 
> 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 
> at 
> 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
> at 
> 
> org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:415) 
> at 
> 
> org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:394) 
> at 
> 
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:275) 
> at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:192) 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
> at 
> 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 
> at 
> 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
> at 
> 
> org.jruby.javasupport.JavaConstructor.newInstanceDirect(JavaConstructor.java:275) 
> at 
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:91) 
> at 
> 
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:178) 
> 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.call(CachingCallSite.java:182) 
> at 
> org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:48) 
> 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.call(CachingCallSite.java:182) 
> at org.jruby.RubyClass.newInstance(RubyClass.java:829) 
> at 
> org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535) 
> at 
> 
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266) 
> at 
> org.jruby.java.proxies.ConcreteJavaProxy$3.call(ConcreteJavaProxy.java:144) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169) 
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) 
> at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:255) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:342) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:212) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:216) 
> at org.jruby.RubyClass.newInstance(RubyClass.java:836) 
> at 
> org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535) 
> at 
> 
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrNBlock.call(JavaMethod.java:283) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203) 
> at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169) 
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) 
> at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95) 
> at org.jruby.ast.OpAsgnOrNode.interpret(OpAsgnOrNode.java:100) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) 
> at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) 
> at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) 
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) 
> at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191) 
> at org.jruby.RubyClass.finvoke(RubyClass.java:552) 
> at org.jruby.RubyBasicObject.send(RubyBasicObject.java:2777) 
> at org.jruby.RubyKernel.send(RubyKernel.java:2105) 
> at org.jruby.RubyKernel$s$send.call(RubyKernel$s$send.gen:65535) 
> at 
> 
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169) 
> at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:39) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) 
> at 
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) 
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) 
> at 
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) 
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99) 
> at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) 
> at 
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) 
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) 
> at 
> 
> org.jruby.ast.FCallSpecialArgBlockNode.interpret(FCallSpecialArgBlockNode.java:34) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) 
> at 
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) 
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203) 
> at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:69) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203) 
> at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:41) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169) 
> at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:67) 
> at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135) 
> at org.jruby.ast.VCallNode.interpret(VCallNode.java:86) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.RootNode.interpret(RootNode.java:129) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_EVAL(ASTInterpreter.java:95) 
> at 
> org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:166) 
> at org.jruby.RubyKernel.evalCommon(RubyKernel.java:1155) 
> at org.jruby.RubyKernel.eval(RubyKernel.java:1112) 
> at org.jruby.RubyKernel$s$0$3$eval.call(RubyKernel$s$0$3$eval.gen:65535) 
> at 
> 
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:181) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) 
> at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71) 
> at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282) 
> at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71) 
> at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59) 
> at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332) 
> at 
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203) 
> at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) 
> at 
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) 
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) 
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) 
> at 
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) 
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) 
> at 
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) 
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99) 
> at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) 
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:207) 
> 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 
> org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) 
> at 
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) 
> at 
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:260) 
> at org.jruby.runtime.Block.yieldSpecific(Block.java:117) 
> at org.jruby.ast.YieldTwoNode.interpret(YieldTwoNode.java:31) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.IfNode.interpret(IfNode.java:117) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) 
> at 
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) 
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) 
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) 
> at 
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) 
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) 
> at 
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) 
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99) 
> at org.jruby.RubyKernel.loop(RubyKernel.java:1439) 
> at org.jruby.RubyKernel$s$0$0$loop.call(RubyKernel$s$0$0$loop.gen:65535) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) 
> at org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) 
> at 
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) 
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:347) 
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:304) 
> at org.jruby.runtime.Block.yield(Block.java:130) 
> at org.jruby.RubyContinuation.enter(RubyContinuation.java:106) 
> at org.jruby.RubyKernel.rbCatch(RubyKernel.java:1212) 
> 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 
> org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144) 
> at 
> 
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153) 
> at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) 
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) 
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) 
> at 
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) 
> at 
> 
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) 
> at 
> 
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183) 
> 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:185) 
> 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:1212) 
> 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:184) 
> 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:190) 
> at 
> 
> usr.local.hbase.bin.$_dot_dot_.bin.hirb.load(/usr/local/hbase/bin/../bin/hirb.rb) 
> at org.jruby.Ruby.runScript(Ruby.java:697) 
> at org.jruby.Ruby.runScript(Ruby.java:690) 
> at org.jruby.Ruby.runNormally(Ruby.java:597) 
> at org.jruby.Ruby.runFromMain(Ruby.java:446) 
> at org.jruby.Main.doRunFromMain(Main.java:369) 
> at org.jruby.Main.internalRun(Main.java:258) 
> at org.jruby.Main.run(Main.java:224) 
> at org.jruby.Main.run(Main.java:208) 
> at org.jruby.Main.main(Main.java:188) 
> 
> 
> I assume it's an issue w/ ZooKeeper tracking a stale network configuration 
> for my local master, but haven't been able to reset it. I have tried: 
> 
> 1. Clearing out my temporary directory where my local HBase writes its 
> partitions. 
> 2. Connecting w/ a ZK client and trying to clear out the HBase keys. 
> 3. Rebooting 
> 1. Currently this is the only fix I've discovered for the issue. 
> Ideally I'd like to be able to fix it w/o a reboot :) 
> 
> If anyone has experienced a similar issue or might be able to point me in 
> the right direction, I'd appreciate any suggestions. 
> 
> Thanks, 
> 
> VJ 
> 


Re: Development Connectivity Issues in "Stand-Alone" Mode

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi VJ,

Simply make sure your /etc/hosts file contains an entry with your host name
and the IP you have.

As an example, here is mine:
jmspaggiari@t430s:~/hbase/hbase-0.98.5-hadoop2$ cat /etc/hosts
#192.168.23.178    t430s
#192.168.1.3    t430s
#10.1.25.127    t430s
10.32.0.40    t430s

As you can see depending on the network I'm on I use one IP or another one.
On the plane, I point to 127.0.0.1 since I disable all network interfaces.

That way I always use my HBase instance without any computer reboot. But
still have to restart my HBase.

JM



2014-08-18 17:42 GMT-04:00 V.J. LeBlanc <vj...@splyt.com>:

> As part of my workflow, I have a stand alone HBase setup that I use for
> debugging. My development environment is on my laptop and I often develop
> from different locations. The problem I run in to is that when I change
> locations, I am unable to connect to my local HBase server (even after
> stopping and re-starting it). I am currently using 0.98.5. I have boiled
> the problem down to the following reproductions steps:
>
>    1. Start HBase.
>    2. Open a HBase shell and list tables.
>    3. Stop HBase.
>    4. Go to another location w/ a different internet connection.
>    5. Start HBase.
>    6. Open a HBase shell and try and list tables.
>       1. This is the point I get to and have yet to fix. I can not proceed
>       w/o rebooting my machine.
>
> The call stack from the HBase shell looks like:
>
> hbase(main):001:0> list
> TABLE
> 2014-08-18 16:41:29.985 java[23621:1003] Unable to load realm info from
> SCDynamicStore
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
>
> [jar:file:/usr/local/hbase-0.98.4-hadoop1/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
>
> [jar:file:/usr/local/hadoop-1.2.1/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> 2014-08-18 16:41:50,997 ERROR [main] zookeeper.RecoverableZooKeeper:
> ZooKeeper exists failed after 4 attempts
> 2014-08-18 16:41:50,998 WARN  [main] zookeeper.ZKUtil:
> hconnection-0x2dd7e4d6, quorum=localhost:2181, baseZNode=/hbase Unable to
> set watcher on znode (/hbase/hbaseid)
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
> at
>
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:199)
> at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:479)
> at
>
> org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:65)
> at
>
> org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:83)
> at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:858)
> at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:663)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
>
> org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:415)
> at
>
> org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:394)
> at
>
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:275)
> at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:192)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
>
> org.jruby.javasupport.JavaConstructor.newInstanceDirect(JavaConstructor.java:275)
> at
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:91)
> at
>
> org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:178)
> 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.call(CachingCallSite.java:182)
> at
> org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:48)
> 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.call(CachingCallSite.java:182)
> at org.jruby.RubyClass.newInstance(RubyClass.java:829)
> at
> org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
> at
>
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266)
> at
> org.jruby.java.proxies.ConcreteJavaProxy$3.call(ConcreteJavaProxy.java:144)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
> at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:255)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:342)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:212)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:216)
> at org.jruby.RubyClass.newInstance(RubyClass.java:836)
> at
> org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
> at
>
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrTwoOrNBlock.call(JavaMethod.java:283)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
> at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
> at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:95)
> at org.jruby.ast.OpAsgnOrNode.interpret(OpAsgnOrNode.java:100)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
> at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
> at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
> at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
> at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
> at org.jruby.RubyClass.finvoke(RubyClass.java:552)
> at org.jruby.RubyBasicObject.send(RubyBasicObject.java:2777)
> at org.jruby.RubyKernel.send(RubyKernel.java:2105)
> at org.jruby.RubyKernel$s$send.call(RubyKernel$s$send.gen:65535)
> at
>
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
> at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:39)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
> at
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
> at
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
> at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
> at
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
> at
>
> org.jruby.ast.FCallSpecialArgBlockNode.interpret(FCallSpecialArgBlockNode.java:34)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
> at
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
> at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:69)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
> at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:41)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:199)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:312)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:169)
> at org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:67)
> at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:292)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:135)
> at org.jruby.ast.VCallNode.interpret(VCallNode.java:86)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.RootNode.interpret(RootNode.java:129)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_EVAL(ASTInterpreter.java:95)
> at
> org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:166)
> at org.jruby.RubyKernel.evalCommon(RubyKernel.java:1155)
> at org.jruby.RubyKernel.eval(RubyKernel.java:1112)
> at org.jruby.RubyKernel$s$0$3$eval.call(RubyKernel$s$0$3$eval.gen:65535)
> at
>
> org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:181)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
> at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
> at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:134)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:174)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
> at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:71)
> at org.jruby.ast.CallManyArgsNode.interpret(CallManyArgsNode.java:59)
> at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:215)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:332)
> at
> org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:203)
> at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
> at
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
> at
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
> at
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
> at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96)
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:212)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:207)
> 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
> org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
> at
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
> at
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:260)
> at org.jruby.runtime.Block.yieldSpecific(Block.java:117)
> at org.jruby.ast.YieldTwoNode.interpret(YieldTwoNode.java:31)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.IfNode.interpret(IfNode.java:117)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216)
> at
> org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120)
> at org.jruby.ast.RescueNode.interpret(RescueNode.java:110)
> at org.jruby.ast.BeginNode.interpret(BeginNode.java:83)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
> at
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295)
> at
> org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229)
> at org.jruby.runtime.Block.yieldSpecific(Block.java:99)
> at org.jruby.RubyKernel.loop(RubyKernel.java:1439)
> at org.jruby.RubyKernel$s$0$0$loop.call(RubyKernel$s$0$0$loop.gen:65535)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
> at org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111)
> at
> org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374)
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:347)
> at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:304)
> at org.jruby.runtime.Block.yield(Block.java:130)
> at org.jruby.RubyContinuation.enter(RubyContinuation.java:106)
> at org.jruby.RubyKernel.rbCatch(RubyKernel.java:1212)
> 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
> org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:191)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:302)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:144)
> at
>
> org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:153)
> at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64)
> at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
> at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> at
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> at
>
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
> at
>
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:183)
> 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:185)
> 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:1212)
> 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:184)
> 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:190)
> at
>
> usr.local.hbase.bin.$_dot_dot_.bin.hirb.load(/usr/local/hbase/bin/../bin/hirb.rb)
> at org.jruby.Ruby.runScript(Ruby.java:697)
> at org.jruby.Ruby.runScript(Ruby.java:690)
> at org.jruby.Ruby.runNormally(Ruby.java:597)
> at org.jruby.Ruby.runFromMain(Ruby.java:446)
> at org.jruby.Main.doRunFromMain(Main.java:369)
> at org.jruby.Main.internalRun(Main.java:258)
> at org.jruby.Main.run(Main.java:224)
> at org.jruby.Main.run(Main.java:208)
> at org.jruby.Main.main(Main.java:188)
>
>
> I assume it's an issue w/ ZooKeeper tracking a stale network configuration
> for my local master, but haven't been able to reset it. I have tried:
>
>    1. Clearing out my temporary directory where my local HBase writes its
>    partitions.
>    2. Connecting w/ a ZK client and trying to clear out the HBase keys.
>    3. Rebooting
>       1. Currently this is the only fix I've discovered for the issue.
>       Ideally I'd like to be able to fix it w/o a reboot :)
>
> If anyone has experienced a similar issue or might be able to point me in
> the right direction, I'd appreciate any suggestions.
>
> Thanks,
>
> VJ
>