hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bates <christopher.andrew.ba...@gmail.com>
Subject HBase 0.20.1 Distributed Install Problems
Date Mon, 09 Nov 2009 20:59:48 GMT
Hi all,

   I'm new to HBase and trying to configure it to run with a cluster of 6
machines.  I'm logged into the Master Node and ran the start scripts as
directed from the Wiki, but I'm getting an ugly connect error.  I thought it
was a firewall issue and made sure the ports were allowed, but still no go.
 I read something about changing the hosts file, but not sure what I should
do.

Here is my site.xml file:
<configuration>

  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://crunch:54310/hbase</value>
    <description>The directory shared by region servers.
    </description>
  </property>

  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
    <description>The mode the cluster will be in. Possible values are
      false: standalone and pseudo-distributed setups with managed Zookeeper
      true: fully-distributed with unmanaged Zookeeper Quorum (see
hbase-env.sh)
    </description>
  </property>

  <property>
      <name>hbase.zookeeper.quorum</name>
      <value>chanel2,crunch2,crunch3,chris,chanel</value>
      <description>Comma separated list of servers in the ZooKeeper Quorum.
      For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com
".
      By default this is set to localhost for local and pseudo-distributed
modes
      of operation. For a fully-distributed setup, this should be set to a
full
      list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in
hbase-env.sh
      this is the list of servers which we will start/stop ZooKeeper on.
      </description>
    </property>

</configuration>

here's the ugly error:

hbase(main):001:0> create 'stations', {NAME=>'info',VERSIONS=>1}
09/11/09 14:54:09 INFO client.HConnectionManager$TableServers: getMaster
attempt 0 of 5 failed; retrying after sleep of 2000
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
 at
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
 at
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:308)
at
org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:831)
 at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:712)
at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:328)
 at $Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:484)
 at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:460)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:507)
 at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:320)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
 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.new_instance(JavaConstructor.java:226)
at
org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:100)
 at
org.jruby.java.invokers.ConstructorInvoker.call(ConstructorInvoker.java:180)
at org.jruby.RubyClass.finvoke(RubyClass.java:372)
 at
org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:376)
at
org.jruby.java.proxies.ConcreteJavaProxy$2.call(ConcreteJavaProxy.java:48)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:283)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:121)
 at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:126)
at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:554)
 at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:152)
at
org.jruby.java.proxies.ConcreteJavaProxy$ConcreteNewMethod.call(ConcreteJavaProxy.java:170)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:112)
 at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
at org.jruby.ast.InstAsgnNode.interpret(InstAsgnNode.java:91)
 at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
 at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:220)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:303)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:161)
 at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:166)
at org.jruby.RubyClass$SpecificArityNew.call(RubyClass.java:560)
 at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:169)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
 at
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:152)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.method__5$RUBY$admin(hirb.rb:314)
 at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirbInvokermethod__5$RUBY$adminFixed0.call(hirb#admin)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirbInvokermethod__5$RUBY$adminFixed0.call(hirb#admin)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:253)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:72)
 at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.method__7$RUBY$create(hirb.rb:324)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirbInvokermethod__7$RUBY$createOpt.call(hirb#create)
 at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:261)
at
org.jruby.internal.runtime.methods.CompiledMethod.call(CompiledMethod.java:221)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:152)
 at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
 at org.jruby.ast.RootNode.interpret(RootNode.java:129)
at
org.jruby.evaluator.ASTInterpreter.evalWithBinding(ASTInterpreter.java:98)
 at org.jruby.RubyKernel.eval(RubyKernel.java:885)
at
org.jruby.RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval.call(org/jruby/RubyKernel$s_method_0_3$RUBYFRAMEDINVOKER$eval.gen)
 at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:136)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:243)
 at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:32)
at org.jruby.ast.FCallManyArgsNode.interpret(FCallManyArgsNode.java:60)
 at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:101)
 at
org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:113)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:117)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:243)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:32)
 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.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:201)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:162)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:152)
 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:225)
 at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147)
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.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:192)
 at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:143)
at org.jruby.runtime.Block.yield(Block.java:100)
 at org.jruby.ast.YieldNode.interpret(YieldNode.java:115)
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.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:153)
 at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:283)
at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:121)
 at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:136)
at
org.jruby.ast.FCallOneArgBlockNode.interpret(FCallOneArgBlockNode.java:34)
 at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:192)
 at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:180)
at org.jruby.runtime.Block.yield(Block.java:105)
 at org.jruby.ast.YieldNode.interpret(YieldNode.java:113)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
 at org.jruby.ast.IfNode.interpret(IfNode.java:112)
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:225)
 at
org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147)
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.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:192)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:143)
 at org.jruby.runtime.Block.yield(Block.java:100)
at org.jruby.RubyKernel.loop(RubyKernel.java:1084)
 at
org.jruby.RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.call(org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:263)
 at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:96)
 at org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
 at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:192)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:143)
 at org.jruby.runtime.Block.yield(Block.java:100)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:934)
 at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:283)
 at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:121)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:136)
 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.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:144)
 at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:135)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:263)
 at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:81)
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:86)
 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.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:125)
 at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:126)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:253)
 at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:72)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.block_3$RUBY$__block__(hirb.rb:492)
 at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirbBlockCallback$block_3$RUBY$__block__xx1.call(Unknown
Source)
at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:102)
 at org.jruby.runtime.Block.yield(Block.java:100)
at org.jruby.RubyKernel.rbCatch(RubyKernel.java:934)
 at
org.jruby.RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.call(org/jruby/RubyKernel$s_method_1_0$RUBYFRAMEDINVOKER$rbCatch.gen)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:283)
 at
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:121)
at
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:136)
 at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.method__37$RUBY$start(hirb.rb:491)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirbInvokermethod__37$RUBY$startOpt.call(hirb#start)
 at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:226)
at
org.jruby.internal.runtime.methods.CompiledMethod.call(CompiledMethod.java:211)
 at
org.jruby.internal.runtime.methods.CompiledMethod$LazyCompiledMethod.call(CompiledMethod.java:71)
at
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:253)
 at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:72)
at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.__file__(hirb.rb:497)
 at
opt.hadoop.hbase_minus_0_dot_20_dot_1.bin.$_dot_dot_.bin.hirb.load(hirb.rb)
at org.jruby.Ruby.runScript(Ruby.java:577)
 at org.jruby.Ruby.runNormally(Ruby.java:480)
at org.jruby.Ruby.runFromMain(Ruby.java:354)
 at org.jruby.Main.run(Main.java:229)
at org.jruby.Main.run(Main.java:110)
 at org.jruby.Main.main(Main.java:94)

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