Im thinking the Config should strip off any protocol prefix? i.e,: strip off
"://" and anything prior to it? Should i make a jira for it?

-Ryan


On Wed, Sep 17, 2008 at 9:00 AM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote:

> Jakob,
>
> Your hbase.master should not contain any protocol. In your case I see a
> hdfs://
>
> Remove it and you should be fine.
>
> J-D
>
> On Wed, Sep 17, 2008 at 8:56 AM, Jakob Holck <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > I'm running hbase 0.2.1 on top of Hadoop 0.17.2.1 on a Ubuntu VM, and
> it's
> > running fine.  I can create/alter tables, ect...
> >
> > My problem is when i'm tying to run a client, like hbase shell. The shell
> > starts fine, but when I'm trying to connect to the server I get an
> > exception:
> >
> > hbase(main):001:0> list
> > 08/09/17 08:46:45 INFO client.HConnectionManager$TableServers: Attempt 0
> of
> > 3 failed with <java.net.UnknownHostException: unknown host: hdfs://
> > 192.168.253.130>. Retrying after sleep of 2000
> > 08/09/17 08:46:47 INFO client.HConnectionManager$TableServers: Attempt 1
> of
> > 3 failed with <java.net.UnknownHostException: unknown host: hdfs://
> > 192.168.253.130>. Retrying after sleep of 2000
> > NativeException: org.apache.hadoop.hbase.MasterNotRunningException:
> hdfs://
> > 192.168.253.130:60000
> >        from org/apache/hadoop/hbase/client/HConnectionManager.java:226:in
> > `getMaster'
> >        from org/apache/hadoop/hbase/client/HBaseAdmin.java:68:in `<init>'
> >        from sun/reflect/NativeConstructorAccessorImpl.java:-2:in
> > `newInstance0'
> >        from sun/reflect/NativeConstructorAccessorImpl.java:39:in
> > `newInstance'
> >        from sun/reflect/DelegatingConstructorAccessorImpl.java:27:in
> > `newInstance'
> >        from java/lang/reflect/Constructor.java:513:in `newInstance'
> >        from org/jruby/javasupport/JavaConstructor.java:195:in
> > `new_instance'
> >        from
> >
> org.jruby.javasupport.JavaConstructorInvoker$new_instance_method_0_0:-1:in
> > `call'
> >        from org/jruby/runtime/CallSite.java:261:in `call'
> >        from org/jruby/evaluator/ASTInterpreter.java:670:in `callNode'
> >        from org/jruby/evaluator/ASTInterpreter.java:324:in `evalInternal'
> >        from org/jruby/evaluator/ASTInterpreter.java:2173:in `setupArgs'
> >        from org/jruby/evaluator/ASTInterpreter.java:571:in
> `attrAssignNode'
> >        from org/jruby/evaluator/ASTInterpreter.java:309:in `evalInternal'
> >        from org/jruby/evaluator/ASTInterpreter.java:620:in `blockNode'
> >        from org/jruby/evaluator/ASTInterpreter.java:318:in `evalInternal'
> > ... 178 levels...
> >        from
> >
> >
> ruby/home/guest/workspace/hbase_minus_0_dot_2_dot_1/bin//home/guest/hbase/bin/../bin/hirb.rb:-1:in
> > `__file__'
> >        from
> >
> >
> ruby/home/guest/workspace/hbase_minus_0_dot_2_dot_1/bin//home/guest/hbase/bin/../bin/hirb.rb:-1:in
> > `load'
> >        from org/jruby/Ruby.java:512:in `runScript'
> >        from org/jruby/Ruby.java:432:in `runNormally'
> >        from org/jruby/Ruby.java:312:in `runFromMain'
> >        from org/jruby/Main.java:144:in `run'
> >        from org/jruby/Main.java:89:in `run'
> >        from org/jruby/Main.java:80:in `main'
> >        from
> >
> >
> file:/home/guest/workspace/hbase-0.2.1/lib/jruby-complete-1.1.2.jar!/builtin/javasupport/proxy/concrete.rb:23:in
> > `initialize'
> >        from
> >
> >
> file:/home/guest/workspace/hbase-0.2.1/lib/jruby-complete-1.1.2.jar!/builtin/javasupport/proxy/concrete.rb:6:in
> > `new'
> >        from
> >
> >
> file:/home/guest/workspace/hbase-0.2.1/lib/jruby-complete-1.1.2.jar!/builtin/javasupport/proxy/concrete.rb:6:in
> > `new'
> >        from /home/guest/hbase/bin/../bin/HBase.rb:37:in `initialize'
> >        from /home/guest/hbase/bin/../bin/hirb.rb:218:in `new'
> >        from /home/guest/hbase/bin/../bin/hirb.rb:218:in `admin'
> >        from /home/guest/hbase/bin/../bin/hirb.rb:242:in `list'
> >        from (hbase):2:in `binding'hbase(main):002:0>
> >
> >
> >
> > I can ssh to the server from the client without a p passphrase and
> > username.
> > My hbase-site.xml file on the server has the this property:
> >
> >  <property>
> >    <name>hbase.rootdir</name>
> >    <value>hdfs://localhost:54310/hbase</value>
> >    <description>The directory shared by region servers.</description>
> >  </property>
> >
> >
> > And my hbase-site.xml on the client has these properties
> >  <property>
> >    <name>hbase.master</name>
> >    <value>hdfs://192.168.253.130:60000</value>
> >    <description>
> >      The host and port that the HBase master runs at. A value of
> >      'local' runs the master and a regionserver in a single process.
> >    </description>
> >  </property>
> >
> >  <property>
> >    <name>hbase.rootdir</name>
> >    <value>hdfs://192.168.253.132:60000/hbase</value>
> >    <description> Not need in the client.
> >      The directory shared by region servers. Should be
> >      fully-qualified to include the filesystem to use.
> >    </description>
> >  </property>
> >
> >
> > When I run 'sudo netstat -plten | grep java'  and a 'jps'
> >
> > I can se that
> > NameNode is running on socket 127.0.0.1:54310 on the server
> > HMaster is running on socket 127.0.0.1:60000 on the server
> >
> >
> > Can any one figure out what i'm missing here?
> >
> > Regards
> > --
> > Jakob Holck
> >
> > Email: [EMAIL PROTECTED]
> > Skype: Jakobvonholck
> >
>

Reply via email to