2012年5月11日
摘要: <property> <name>hbase.rootdir</name> <value>hdfs://t1.dky.com:54310/hbase</value> <description>The directory shared by RegionServers.</description> </property> <property> <name>hbase.cluster.distributed</name> <value>true</v 阅读全文
posted @ 2012-05-11 23:47 powerXu 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1、出现版本不一致错误 如果启动时出现版本不一致的错误,如下所示: 2012-01-06 21:27:18,384 FATAL org.apache.Hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. org.apache.Hadoop.ipc.RemoteException: Server IPC ver... 阅读全文
posted @ 2012-05-11 23:36 powerXu 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 基于分布式模式安装HBase,首先它是在安装在HDFS集群之上,所以,首先要做的就是能够正确配置分布式模式的HDFS集群:保证Nanemode和Datanode进程都正确启动。HBase是一个分布式NoSQL数据库,建立于HDFS之上,并且对于集群模式的HBase需要对各个结点之间的数据进行协调(Coordination),所以HBase直接将ZooKeeper作为一个分布式协调系统来实现HBa... 阅读全文
posted @ 2012-05-11 23:34 powerXu 阅读(763) 评论(0) 推荐(0) 编辑
摘要: HBase是Hadoop数据库,能够实现随机、实时读写你的Big Data,它是Google的Bigtable的开源实现,可以参考Bigtable的论文Bigtable: A Distributed Storage System for Structured 。HBase的存储模型可以如下三个词来概括:distributed, versioned, column-oriented。HBase并... 阅读全文
posted @ 2012-05-11 23:33 powerXu 阅读(652) 评论(0) 推荐(0) 编辑
摘要: ZooKeeper分布式模式安装(ZooKeeper集群)也比较容易,这里说明一下基本要点。 首先要明确的是,ZooKeeper集群是一个独立的分布式协调服务集群,"独立"的含义就是说,如果想使用ZooKeeper实现分布式应用的协调与管理,简化协调与管理,任何分布式应用都可以使用,这就要归功于Zookeeper的数据模型(Data Model)和层次命名空间(Hierarchical Name... 阅读全文
posted @ 2012-05-11 22:58 powerXu 阅读(292) 评论(0) 推荐(0) 编辑
摘要: master:195 RegionServer:196,197 1,修改三台hadoop的配置hdfs-site.xml, dfs.support.append true dfs.datanode.max.xcievers 4096 restart hdfs #替换 hbase lib下的hadoop.jar为hdfs集群用的hadoop.jar 2,修改hbase-site.xml ... 阅读全文
posted @ 2012-05-11 22:55 powerXu 阅读(296) 评论(0) 推荐(0) 编辑