执行./bin/start-hbase.sh(windows)时发生Hbase错误

问题描述 投票:1回答:1

我在本教程https://www.youtube.com/watch?v=g7Qpnmi0Q-s中安装了Hadoop,它正在运行。我将其安装在C:/ hadoop中。

我安装它只是因为我读到hadoop是执行(没有单一模式)的先决条件,并且错误消息与某些hadoop配置有关。但这没有帮助。

我尝试通过本教程https://ics.upjs.sk/~novotnyr/blog/334/setting-up-hbase-on-windows安装Hbase。但是我在执行./bin/start-hbase.sh

时遇到此错误

cygwin终端中的输出:

cygpath: can't convert empty path
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
WARNING: DEFAULT_LIBEXEC_DIR ignored. It has been replaced by HADOOP_DEFAULT_LIBEXEC_DIR.
WARNING: log4j.properties is not found. HADOOP_CONF_DIR may be incomplete.
ERROR: Invalid HADOOP_COMMON_HOME
cygpath: can't convert empty path
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
: Name or service not knownstname laptop-l6543teb
running master, logging to /cygdrive/c/Java/hbase-2.2.4-bin/hbase-2.2.4/bin/../logs/hbase-maiwa-master-LAPTOP-L6543TEB.out
: running regionserver, logging to /cygdrive/c/Java/hbase-2.2.4-bin/hbase-2.2.4/bin/../logs/hbase-maiwa-regionserver-LAPTOP-L6543TEB.out

hbase-site-xml

<configuration>
    <property>
        <name>hbase.rootdir</name>
        <value>file:///C:/cygwin/root/tmp/hbase/data</value>
    </property>
    <property>
        <name>hbase.zookeeper.property.dataDir</name>
        <value>C:\Java\hbase-2.2.4-bin\hbase-2.2.4\logs</value>
    </property>
    <property>
        <name>hbase.cluster.distributed</name>
        <value>false</value>
    </property>
    <property>
        <name>hbase.rootdir</name>
        <value>hdfs://localhost:9000/hbase</value>
    </property>
</configuration>

环境变量:enter image description herePath variables

java windows hadoop hbase
1个回答
0
投票

start-hbase.sh产生的错误输出具有三个不同的错误。

© www.soinside.com 2019 - 2024. All rights reserved.