错误:org.apache.hadoop.hbase.MasterNotRunningException:检查状态时重试7次

错误:org.apache.hadoop.hbase.MasterNotRunningException:检查状态时重试7次,hbase,Hbase,我对Hadoop和Hbase非常陌生。现在我面对的是 '错误:org.apache.hadoop.hbase.MasterNotRunningException:在检查状态时重试了7次' 我将在下面附上我的hbase-site.xml代码: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <pro

我对Hadoop和Hbase非常陌生。现在我面对的是 '错误:org.apache.hadoop.hbase.MasterNotRunningException:在检查状态时重试了7次'

我将在下面附上我的hbase-site.xml代码:

<?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
 <configuration>
    <property>
        <name>hbase.rootdir</name>
        <value>hdfs://localhost:54310/hbase</value>
    </property>
    <property>
        <name>dfs.replication</name>
        <value>1</value>
    </property>
<property> 
        <name>hbase.master</name> 
        <value>localhost:60000</value> 
</property> 
    <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
    </property>
<property>
        <name>hbase.zookeeper.quorum</name>
        <value>localhost</value>
</property>
 </configuration>

hbase.rootdir
hdfs://localhost:54310/hbase
dfs.replication
1.
hbase.master
本地主机:60000
hbase.cluster.distributed
真的
hbase.zookeeper.quorum
本地服务器

阅读本网站第2.3节(hadoop):

检查您的
/etc/hosts
文件和
/etc/hostname
文件

127.0.0.1 hbase ubuntu

请不要只使用外部链接作为答案;这里的答案应该是独立的。