Hi,
I want to compare the value from one hbase table to another hbase table
value , and need to add one column as valid indicator
if value is matching mark the field has 0 or not matching means 1.
i have used Filter command in mapreduce code
but the column is not printing in hbase table.
if(Bytes.toBytes(kv1.getValue).equals("RRR")){
put.add(Bytes.toBytes("cf"),Bytes.toBytes("valid_ind"),Bytes.toBytes("0"))
}
else{
put.add(Bytes.toBytes("cf"),Bytes.toBytes("valid_ind"),Bytes.toBytes("1"))
}
but the column valid_ind is not printing.
Please help with sample code to fix .
thanks in advance
Ranjini.R