ошибка нулевого пути Hadoop при настройке Hbase в Windows - PullRequest
0 голосов
/ 30 января 2019

Я получаю ошибку нулевого пути в конфигурации HBase, ниже приведена ошибка.

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.
2019-01-30 15:30:54,639 ERROR [main] util.Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
        at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:382)
        at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:397)
        at org.apache.hadoop.util.Shell.<clinit>(Shell.java:390)
        at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:80)
        at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1507)
        at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
        at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80)
        at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94)
        at org.apache.hadoop.hbase.util.HBaseConfTool.main(HBaseConfTool.java:39)
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.
2019-01-30 15:30:56,675 ERROR [main] util.Shell: Failed to locate the winutils binary in the hadoop binary path
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
        at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:382)
        at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:397)
        at org.apache.hadoop.util.Shell.<clinit>(Shell.java:390)
        at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:80)
        at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1507)
        at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
        at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80)
        at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94)
        at org.apache.hadoop.hbase.zookeeper.ZKServerTool.main(ZKServerTool.java:63)
: Name or service not knownstname 127.0.0.1
running master, logging to /usr/local/hbase/bin/../logs/hbase-DESKTOP-46IG1KR-master-DESKTOP-46IG1KR.out
: Name or service not knownstname localhost

Я предполагаю, что это ошибка пути hadoop, но при настройке HBase в них не упоминается установка hadoop или amm.Я пропустил какие-либо настройки в любом из файлов.

Я имею в виду ссылку ниже установки HBase.https://hbase.apache.org/0.94/cygwin.html

...