2013年3月26日

HBase备份与恢复

摘要: 1, hbase自带的备份恢复工具hbase org.apache.hadoop.hbase.mapreduce.Export 'table1' /home/fred/table1hbase org.apache.hadoop.hbase.mapreduce.Import 'table1' /home/fred/table1导入时必须先创建表结构。http://www.iteye.com/topic/1114721importtimeimportdatetimefromdatetimeimportdateimportsysimportostablename=sy 阅读全文

posted @ 2013-03-26 15:07 kobe_tim 阅读(279) 评论(0) 推荐(0) 编辑

HBase MapReduce Examples

摘要: import java.io.IOException;import java.util.List;import org.apache.hadoop.conf.Configured;import org.apache.hadoop.hbase.KeyValue;import org.apache.hadoop.hbase.client.Put;import org.apache.hadoop.hbase.client.Result;import org.apache.hadoop.hbase.client.Scan;import org.apache.hadoop.hbase.io.Immuta 阅读全文

posted @ 2013-03-26 14:42 kobe_tim 阅读(964) 评论(0) 推荐(0) 编辑

HBase MapReduce DNS error

摘要: I have the problem as Alberto. And I have followed Harsh's guide tosolve it. But I still get the error logging message. The followingcode in org.apache.hadoop.hbase.mapreduce.TableInputFormatBaseproduces the error message.try { regionLocation = reverseDNS(regionAddress);} catch (NamingException 阅读全文

posted @ 2013-03-26 14:38 kobe_tim 阅读(1509) 评论(0) 推荐(0) 编辑

导航