如何测试hbase是否正确运行
How to test if hbase is correctly running
我刚刚在 EC2 服务器上安装了 hbase(我还安装了 HDFS,它正在运行)。
我的问题是我不知道如何检查我的 Hbase 是否安装正确。
为了安装 hbase,我遵循了这个 tutorial 他们说我们可以在地址 addressOfMyMachine:60010 的 webUI 上检查 hbase 实例,我还检查了端口 16010 但这不起作用.
我这样说有误:
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
我设法 运行 hbase shell 但我不知道我的安装是否正常。
要检查 Hbase 是否 运行 或不使用 shell 脚本,请执行以下命令。
if echo -e "list" | hbase shell 2>&1 | grep -q "ERROR:" 2>/dev/null ;then echo "Hbase is not running"; fi
我刚刚在 EC2 服务器上安装了 hbase(我还安装了 HDFS,它正在运行)。 我的问题是我不知道如何检查我的 Hbase 是否安装正确。
为了安装 hbase,我遵循了这个 tutorial 他们说我们可以在地址 addressOfMyMachine:60010 的 webUI 上检查 hbase 实例,我还检查了端口 16010 但这不起作用. 我这样说有误:
Sorry, the page you are looking for is currently unavailable. Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
我设法 运行 hbase shell 但我不知道我的安装是否正常。
要检查 Hbase 是否 运行 或不使用 shell 脚本,请执行以下命令。
if echo -e "list" | hbase shell 2>&1 | grep -q "ERROR:" 2>/dev/null ;then echo "Hbase is not running"; fi