gpt4 book ai didi

hadoop - 无法访问 HBase Web UI

转载 作者:行者123 更新时间:2023-12-02 19:46:58 25 4
gpt4 key购买 nike

我正在关注 quick start HBase 文档。

但是,我无法访问 HBase 网页界面。

我试过这些地址:

我尝试了不同的端口,因为 documentation说要使用 60010,但快速入门说是 16010。

这些都不起作用。

这是我的 hbase-site.xml

<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///home/hduser/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hduser/zookeeper</value>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
<description>
Controls whether HBase will check for stream capabilities (hflush/hsync).

Disable this if you intend to run on LocalFileSystem, denoted by a rootdir
with the 'file://' scheme, but be mindful of the NOTE below.

WARNING: Setting this to false blinds you to potential data loss and
inconsistent system state in the event of process and/or node failures. If
HBase is complaining of an inability to use hsync or hflush it's most
likely not a false positive.
</description>
</property>
</configuration>

注意:访问 shell 效果很好:

./hbase shell
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hduser/hbase-1.4.12/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hduser/hadoop-2.7.3/share/hadoop/common/lib/slf4j-log4j12-1.7.10.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]
HBase Shell
Use "help" to get list of supported commands.
Use "exit" to quit this interactive shell.
Version 1.4.12, r6ae4a77408ad35d6a7a4e5cebfd401fc4b72b5ec, Sun Nov 24 13:25:41 CST 2019

hbase(main):001:0>

为什么我无法访问网络用户界面?我错过了什么?

最佳答案

独立模式下的 HBase 只会选择一些随机端口进行监听。

转到“日志”目录并执行

grep 'Jetty' *

这将向您显示 HBase 选择用于运行其网络服务器的端口。

关于hadoop - 无法访问 HBase Web UI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59388307/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com