Error in sending the value to HBase table by using MapReduce program
<p>I have written a mapreduce program where I need to read the data from HBase table from the particular column family.</p>

<p>For example, the data in HBase table looks like:</p>

<pre><code>Row    Column+Cell

1        column=Name:FName, timestamp=...,value=ABC

1        column=Name:LName, timestamp=...,value=XYZ
</code></pre>

<p>Now I need to append the FName and LName into another column as FullName under same column family. In map, I'm extracting the data and appending it and sending to the reducer.</p>

<p>In Reducer I'm just getting the key,value pair and trying to add the FullName into the table.</p>

<p>My reducer implementation looks like this:</p>

<pre><code>public void reduce(Text key, Iterable&lt;Text&gt; values, Context context) throws IOException, InterruptedException {
  Put put = new Put(Bytes.toBytes(key.toString()));
  put.add(Bytes.toBytes("Name"), Bytes.toBytes("FullName"), Bytes.toBytes(values.toString()));
  context.write(null, put);
}
</code></pre>

<p>When I check the <code>Fullname</code> in the hbase table the value is not "ABCXYZ" instead i get the value as <code>org.apache.hadoop.mapreduce.task.ReduceContextImpl$ValueIterable</code>.</p>

<p>Kindly let me know how to resolve this issue.     </p>