org.apache.hadoop.hbase.master.hmastercommandline:启动失败>主java.io.ioexception:crc检查失败

8yoxcaq7  于 2021-06-09  发布在  Hbase
关注(0)|答案(1)|浏览(592)

我正在尝试使用hbase shell。为此,我只需启动命令列表。当我这么做的时候,它看起来是这样的:

ERROR: org.apache.hadoop.hbase.MasterNotRunningException: null

我查看了hbase-ubuntu-master-localdomain.log,上面写着:
mer 2014年3月26日,11.03.23,ubuntu linux ulimit-n 10000 2014-03-26 11:03:24932 info org.apache.zookeeper.server.zookeeperserver:server environment:zookeeper.version=3.3.2-1031432,建于2010年5月11日格林尼治标准时间05:32
2014-03-26 11:03:24932信息org.apache.zookeeper.server.zookeeperserver:server environment:host.name=localhost
2014-03-26 11:03:24932信息org.apache.zookeeper.server.zookeeperserver:server environment:java.version=1.7.0_25
2014-03-26 11:03:24932信息org.apache.zookeeper.server.zookeeperserver:server environment:java.vendor=oracle 公司
2014-03-26 11:03:24932信息org.apache.zookeeper.server.zookeeperserver:server environment:java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
2014-03-26 11:03:24932信息org.apache.zookeeper.server.zookeeperserver:server environment:java.class.path=/home/ubuntu...........continue
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:java.library.path=/usr/java/packages/lib/amd64用法:/usr/lib/jni:/lib:/usr/lib
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:java.io.tmpdir=/tmp
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:java.compiler=
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:os.name=linux
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:os.arch=amd64
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:os.version=3.8.0-19-generic
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:user.name=ubuntu
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:user.home=/home/ubuntu
2014-03-26 11:03:24933信息org.apache.zookeeper.server.zookeeperserver:server environment:user.dir=/home/ubuntu/programs/hbase-0.90.0
2014-03-26 11:03:24951 info org.apache.zookeeper.server.zookeeperserver:创建了一个服务器,时间为2000分钟会话超时4000最大会话超时40000 datadir/home/ubuntu/hbasestore/zookeeper/zookeeper/version-2 snapdir/home/ubuntu/hbasestore/zookeeper/version-2
2014-03-26 11:03:25103 info org.apache.zookeeper.server.nioservercnxn:绑定到端口0.0.0.0/0.0.0:2181
2014-03-26 11:03:26746 info org.apache.zookeeper.server.persistence.filesnap:正在读取snapshot/home/ubuntu/hbastore/zookeeper/zookeeper/version-2/snapshot.77c034
2014-03-26 11:03:27430错误org.apache.hadoop.hbase.master.hmastercommandline:无法启动主java.io.ioexception:crc检查失败
在org.apache.zookeeper.server.persistence.filetxnlog$filetxniterator.next(filetxnlog。java:561)
在org.apache.zookeeper.server.persistence.filetxnlog$filetxniterator.init(filetxnlog。java:479)
在org.apache.zookeeper.server.persistence.filetxnlog$filetxniterator。java:454)
在org.apache.zookeeper.server.persistence.filetxnlog.read(filetxnlog。java:325)
在org.apache.zookeeper.server.persistence.filetxnsnaplog.restore(filetxnsnaplog。java:126)
在org.apache.zookeeper.server.zkdatabase.loaddatabase(zkdatabase)上。java:197)
在org.apache.zookeeper.server.zookeeperserver.loaddata(zookeeperserver。java:239)
在org.apache.zookeeper.server.zookeeperserver.startdata(zookeeperserver。java:366)
在org.apache.zookeeper.server.nioservercnxn$factory.startup(nioservercnxn。java:160)
位于org.apache.hadoop.hbase.zookeeper.minizookeepercluster.startup(minizookeepercluster)。java:118)
在org.apache.hadoop.hbase.master.hmastercommandline.startmaster(hmastercommandline。java:125)
在org.apache.hadoop.hbase.master.hmastercommandline.run(hmastercommandline。java:102)
在org.apache.hadoop.util.toolrunner.run(toolrunner。java:65)
位于org.apache.hadoop.hbase.util.servercommandline.domain(servercommandline。java:76)
在org.apache.hadoop.hbase.master.hmaster.main(hmaster。java:1071)
有人知道这里有什么问题吗?另外,我在电脑上使用hbase+zookeeper单机版

r7xajy2e

r7xajy2e1#

jps不显示hmaster。它只是显示了一些与hbase或zookeeper无关的进程。下面是我的hbase-site.xml:

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>file:///home/giovanni/HBase_store/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/home/giovanni/HBase_store/hbase</value>
  </property>
</configuration>

相关问题