我已经在ubuntu 12.04上安装了hadoop单节点。现在,我正在尝试在其上安装hbase (0.94.18版)。但是我得到了以下错误(尽管我已经将其解压缩到/usr/local/hbase中):
Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
Error: Could not find or load main class org.apache.hadoop.hbase.zookeeper.ZKServerTool
starting maste
我无法启动Hbase母版,因为我收到了以下错误:
[Thread-18] master.HMaster: hbase:meta,,1.1588230740
is NOT online; state={1588230740 state=OPEN, ts=1569328636085, server=regionserver17,16020,1566375930434};
ServerCrashProcedures=true.
Master startup cannot progress, in holding-pattern until region onlined.
我正在尝试使用以下docker文件为OpenTSDB设置docker镜像
FROM centos:6.7
MAINTAINER http://www.centos.org
RUN yum -y update && yum clean all
RUN yum -y install httpd && yum clean all
RUN yum -y install java-1.7.0-openjdk
RUN yum -y install gnuplot
RUN yum install -y https://github.com/OpenTSDB/opentsd
我在hbase列中有一些长字符串数据,我想在扫描的输出上使用linux工具,如grep、cut、sort等。
不幸的是,在我的终端中,hbase shell正在将扫描的输出格式化为可视列。这对人类的可读性很好,但对脚本来说就不那么好了。
示例输出:
00000000-1111-2222-3333-444444444444 column=a:1, timestamp=151974600000, value="some really
long data that doesn't fit onto t
我安装了:
wget http://archive.cloudera.com/cdh/3/hbase-0.90.3-cdh3u1.tar.gz
这是我的hbase_site.xml
<property>
<name>hbase.master</name>
<value>localhost:60000</value>
<description>The host and port that the HBase master runs at.A value of 'local' runs
我能够得到本地主机:16010正在运行。但是,不知怎么的,当我使用以下命令时,Hbase外壳没有启动:
01HW993798:bin tcssig$ cd /Users/tcssig/Downloads/hbase-1.0.3/bin
01HW993798:bin tcssig$ hbase shell
-bash: hbase: command not found
当我直接启动Hbase可执行文件时,它会生成下面的错误日志。
Error: JAVA_HOME is not set
虽然我已经设置好了。在此之后,localhost:16010正在运行。
注:我知道有一个类似的问题,但没有
我创建了一个具有以下属性的配置单元表:
create external table statdata(uid int, user string, loc string, locweather int)
stored as textfile
row format delimited
fields terminated by ','
location '/hive/data/weatherstats’;
Hive表包含5行我手动插入的行。
hive> select * from statdata;
OK
1 john newyork 33
2 rob london 3
我试图在Hadoop 2(分发安装)上设置Hbase 0.94。我使用命令HBase重新编译了支持Hadoop 2的mvn -Dhadoop.profile=2.0 -DskipTests install
我将HBase/lib中的所有Hadoop -*..jars替换为Hadoop 2.2中的相应版本。但是,我仍然无法得到HMaster running.The,下面发生了错误
FATAL org.apache.hadoop.hbase.master.HMaster: HBase is having a problem with its Hadoop jars. You may need t