hadoop2.4.1结合hbase0.96.2

接上:http://onlyoulinux.blog.51cto.com/7941460/1554951

上文说到用hadoop2.4.1分布式结合hase0.94.23出现大量的报的错,没能解决,最后用新版本hbase0.96.2同样的配置没遇到报错,个人感觉是版本兼容性问题,报错内容如下:

2014年09月22日星期一开始19:56:03 CST主人?在
& lt; ?type=" text/xml样式表xsl " href=" https://www.yisu.com/zixun/configuration.xsl " ?在
& lt; !——
/* *
, *
, *授权给Apache软件基金会(ASF)在alt=" hadoop2.4.1结合hbase0.96.2 ">



简单的bash shell测试:


[root@sn测试]# hbase壳
2014-09-26 16:22:26,178 INFO [主要]Configuration.deprecation: hadoop.native。自由是弃用。相反,使用io.native.lib。可用
HBase壳;进入“help类型”exit“离开HBase壳0.96.2-hadoop2
版本,r1581096,星期一2014年3月24日16:03:18 PDT

HBase(主要):001:0>列表
TABLE ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SLF4J:类路径中包含多个SLF4J绑定。
SLF4J:发现绑定(jar文件:/usr/地方/hbase-0.96.2-hadoop2/lib/slf4j-log4j12-1.6.4.jar !/org/slf4j/impl/StaticLoggerBinder。类]
SLF4J:发现绑定(jar文件:/usr/地方/hadoop-2.4.1/共同/hadoop//lib/slf4j-log4j12-1.7.5.jar !/org/slf4j/impl/StaticLoggerBinder。类]
SLF4J:参见http://www.slf4j.org/codes.html multiple_bindings解释。
0行(s)在6.7970秒内

=比;[]
hbase(主要):002:0>创建
create ,,,,,,,,,,,create_namespace
hbase(主要):002:0>创建“测试”、“stu_id”、“stu_xx”
0行(s)在18.0590秒内

=比;Hbase:表——测试
Hbase(主要):003:0>把'测试',' 1 ',‘stu_id:名称’,‘jaybing
0行(s)在3.2750秒内

hbase(主要):004:0>扫描'测试'
ROW ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,列+ CELL ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
, 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,列=stu_id:名称,时间戳=1411720116252,值=https://www.yisu.com/zixun/jaybing
1行(s)在0.2280秒内

hbase(主要):005:0>列表
TABLE ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,null

hadoop2.4.1结合hbase0.96.2