m0_64255817
2021-11-21 13:17
采纳率: 100%
浏览 203

hbase伪分布启动失败(使用内置zookeeper

不知道内置的zookeeper怎么配置,怎么连接,感觉可能是配置有问题(?
想知道到底哪里不对and应该怎么改
hadoop可以启动
打start-hbase.sh启动hbase后,出现下面这一串

/home/conan/hadoop/libexec/hadoop-functions.sh: line 2366: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_USER: invalid variable name
/home/conan/hadoop/libexec/hadoop-functions.sh: line 2461: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_OPTS: invalid variable name
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/conan/hadoop-3.2.2/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
/home/conan/hadoop/libexec/hadoop-functions.sh: line 2366: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_USER: invalid variable name
/home/conan/hadoop/libexec/hadoop-functions.sh: line 2461: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_OPTS: invalid variable name
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/conan/hadoop-3.2.2/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
node66: running zookeeper, logging to /usr/local/hbase/bin/../logs/hbase-conan-zookeeper-node66.out
running master, logging to /usr/local/hbase/bin/../logs/hbase-conan-master-node66.out
/home/conan/hadoop/libexec/hadoop-functions.sh: line 2366: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_USER: invalid variable name
/home/conan/hadoop/libexec/hadoop-functions.sh: line 2461: HADOOP_ORG.APACHE.HADOOP.HBASE.UTIL.GETJAVAPROPERTY_OPTS: invalid variable name
node66: running regionserver, logging to /usr/local/hbase/bin/../logs/hbase-conan-regionserver-node66.out

救救孩子吧😭孩子真的没查到,真的没懂

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

  • IT路上的军哥 2021-11-22 12:05
    最佳回答

    原因分析:
    无效变量名,错误:找不到或无法加载主类 可能是Hadoop和Hbase包冲突所致
    解决办法:
    可以试试将${HBASE_HOME}/conf/hbase-env.sh文件中最后一行不允许注释掉

    vi ${HBASE_HOME}/conf/hbase-env.sh
    
    评论
    解决 无用
    打赏 举报 编辑记录
查看更多回答(1条)

相关推荐 更多相似问题