Error starting HBase in standalone mode -
i've downloaded , installed hbase 0.94.9 in ubuntu image. followed apache's getting started steps. said modify hbase-site.xml, though found mine had no properties defined in it. added two. here complete file:
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <property> <name>hbase.rootdir</name> <value>file:///home/dan/hbase</value> </property> <property> <name>hbase.zookeeper.property.datadir</name> <value>/home/dan/zookeeper</value> </property> </configuration>
i have made sure /etc/hosts doesn't have 127.0.1.1 problem:
127.0.0.1 localhost 127.0.0.1 ubuntu # following lines desirable ipv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
if understand correctly, setup should run hbase on own, using local file system; hadoop not involved. (hadoop isntalled on machine not running.) whenever start hbase, see in log:
2013-07-17 07:24:51,121 error org.apache.hadoop.hbase.master.hmastercommandline: failed start master java.net.connectexception: call localhost/127.0.0.1:9000 failed on connection exception: java.net.connectexception: connection refused @ org.apache.hadoop.ipc.client.wrapexception(client.java:1099) @ org.apache.hadoop.ipc.client.call(client.java:1075) @ org.apache.hadoop.ipc.rpc$invoker.invoke(rpc.java:225) @ sun.proxy.$proxy11.getprotocolversion(unknown source)
it's looking port 9000, if thinks should connect hdfs. yet there folders , files in /home/dan/hbase. i've searched in hbase folder "9000" , places see listed in docs, or in src directory, showing examples of setting distributed or pseudo-distributed environment. i'm stumped why instance looking port 9000.
anyone have idea causing this?
in hbase-site.xml
, make sure hbase.rootdir
not hdfs://...
, instead pointing local file system directory, such /home/myuserid/hbase
also, think hbase.cluster.distributed
should false
Comments
Post a Comment