我已经成功地配置了Hadoop2.6.0。接下来,我试图安装Hbase 0.98.9,但启动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 master, logging to /usr/local/hbase/logs/hbase-
错误
在Kerberized环境中运行查询时,使用Hive中的HBase存储处理程序接收此错误。关于HBase 1.5
Caused by: org.apache.hadoop.hbase.exceptions.UnknownProtocolException: org.apache.hadoop.hbase.exceptions.UnknownProtocolException:
No registered coprocessor service found for name AuthenticationService in region hbase:meta,,1
我正在构建一个完全分布式的hbase集群和非托管的动物园管理员。我使用了这个示例,并在其之上安装了hbase:
Hadoop和hdfs工作正常,但我在hbase中得到了这个例外:
2016-09-05 06:27:12,268 INFO [hadoop-master:16000.activeMasterManager] zookeeper.MetaTableLocator: Failed verification of hbase:meta,,1 at address=hadoop-slave2,16020,1473052276351, exception=org.apache.hadoop
我创建了一个具有以下属性的配置单元表:
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
我试图在Hbase表上创建Hive表。详情如下:
HBase表的数据如下:
Connected to: Phoenix (version 4.7)
Driver: PhoenixEmbeddedDriver (version 4.7)
Autocommit status: true
Transaction isolation: TRANSACTION_READ_COMMITTED
Building list of tables and columns for tab-completion (set fastconnect to true to skip)...
1341/1341 (100%)
我有一个安装了HBase的小型开发集群。我的集群的磁盘使用量已经满了,所以我需要删除一些数据,但是我不能启动regionservers。它们会失败,并在日志中显示以下消息:
File /hbase/.logs/<some file> could only be replicated to 0 nodes, instead of 1
我猜是因为集群中没有剩余的空间了。
我想知道,我可以从HBase中安全地手动删除(通过hdfs)什么,而不会导致任何类型的元数据损坏?
hdfs中占用空间最多的区域是
/hbase/.logs
/hbase/mytable
如果我不再关心mytable中
我们在使用Thrift for HBase读取PHP中的数据时遇到了问题。加载数据,创建表都很好。问题是其余的数据操作。除了他们的主网站之外,没有太多关于这方面的文档,因此lost。我在网上看到的所有教程都涉及设置和插入数据,而不是其他数据操作。
在感兴趣的时间,我们正在寻找节俭的替代品,可以帮助PHP和HBase工作+有足够的文档。如果我们找不到替代品,那么我们的计划是使用Cassandra而不是HBase,直到有更好的使用HBase的文档发布为止。但是,任何关于深入教程或替代方案的建议,以使PHP和HBase适用于所有数据操作,都将是非常棒的。
我将在本地尝试hbase,当我尝试创建这样的表时,我启动了一个zk服务器:
create 'table', 'col'
错误:
ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase-unsecure is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. Th
我正在尝试启动hbase master,但收到以下错误:
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
13/07/14 06:33:23 ERROR master.HMasterCommandLine: Failed to start master
java.io.IOException: Could not start ZK at re
在Python模块中,我可以检索行键以给定字符串开头的所有行(即,使用部分行键进行搜索)。
假设我有一个( ID | TYPE |DATE)格式的行键,我可以通过以下方式找到ID为1、类型为A的所有行:
import happybase
connection = happybase.Connection('hmaster-host.com')
table = connection.table('table_name')
for key, data in table.scan(row_prefix="1|A|"):
print key, d
我是否需要在windows中使用hadoop连接运行在ununtu和Hadoop上的hbase?
我的hbase在我的ubuntu机器上运行得很好。我可以在同一台机器上连接eclipse (我正在使用kundera连接hbase)。现在我想从我的windows7 eclipse IDE连接hbase。我需要在windows上安装hadoop才能连接ubuntu上的远程hbase吗??当我尝试的时候,我得到了像这样的东西
Failed to locate the winutils binary in the hadoop binary path
Read about open-source te