HBase 實現二級索引

MapReduce方式建立二級索引 使用整合MapReduce的方式建立hbase索引。主要的流程以下:app 1.1掃描輸入表,使用hbase繼承類TableMapperspa 1.2獲取rowkey和指定字段名稱和字段值繼承 1.3建立Put實例, value=rowkey, rowkey=columnName +"_" +columnValue索引 1.4使用IdentityTableRed
相關文章
相關標籤/搜索