日志输出
java.lang.IllegalArgumentException: PBUF\00
at org.apache.hadoop.hbase.zookeeper.ZKTableReadOnly.getTableState(ZKTableReadOnly.java:152)
at org.apache.hadoop.hbase.zookeeper.ZKTable.getTableState(ZKTable.java:109)
at org.apache.hadoop.hbase.zookeeper.ZKTable.populateTableStates(ZKTable.java:94)
at org.apache.hadoop.hbase.zookeeper.ZKTable.<init>(ZKTable.java:80)
at org.apache.hadoop.hbase.master.AssignmentManager.<init>(AssignmentManager.java:223)
at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:505)
at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:589)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:432)
at java.lang.Thread.run(Thread.java:745)
HBase的-site.xml中:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/diptesh/zookeeper</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
</configuration>
这是伪分布式模式下的hadoop,由于某种原因,hbase无法启动。