You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jérôme Verstrynge <jv...@gmail.com> on 2011/02/05 20:43:19 UTC
Exception in thread "main" org.apache.hadoop.hbase.MasterNotRunningException:
12.34.56.78:60000
Hi,
I have installed Cloudera's CDH3 successfully on a node. I have written
a small application attempting to connect to it. My hbase-site.xml is
very simple:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hbase.zookeeper.quorum</name>
<value>12.34.56.78</value>
</property>
</configuration>
The Zookeeper connection is successful, but I get the following error
message systematically:
Exception in thread "main"
org.apache.hadoop.hbase.MasterNotRunningException: 12.34.56.78:60000
at
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:291)
at
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
at HBaseTest.MyLittleHBaseClient.main(MyLittleHBaseClient.java:17)
Does anyone know what is happening? What would be the solution?
Thanks!
Re: Exception in thread "main" org.apache.hadoop.hbase.MasterNotRunningException:
12.34.56.78:60000
Posted by Jean-Daniel Cryans <jd...@apache.org>.
You should take a look at the master log and see if it looks normal or
not. Maybe also check if the process is running.
J-D
On Sat, Feb 5, 2011 at 11:43 AM, Jérôme Verstrynge <jv...@gmail.com> wrote:
> Hi,
>
> I have installed Cloudera's CDH3 successfully on a node. I have written a
> small application attempting to connect to it. My hbase-site.xml is very
> simple:
>
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <configuration>
> <property>
> <name>hbase.zookeeper.quorum</name>
> <value>12.34.56.78</value>
> </property>
> </configuration>
>
> The Zookeeper connection is successful, but I get the following error
> message systematically:
>
> Exception in thread "main"
> org.apache.hadoop.hbase.MasterNotRunningException: 12.34.56.78:60000
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:291)
> at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
> at HBaseTest.MyLittleHBaseClient.main(MyLittleHBaseClient.java:17)
>
> Does anyone know what is happening? What would be the solution?
>
> Thanks!
>