Hi,

I'm trying to bulk load my data into HBase via the new
"HFileOutputFormat", in which I use a Mapper to read from a file and
construct a KeyValue. Then I use the KeyValueSortReducer as Reducer, and
limit myself to 1 reducer only, to prevent writing a custom Partitioner.

However, when running the MapReduce, I get the following error during
reduce:

java.io.IOException: Added a key not lexically larger than previous
key=im2.jpgaspectcolor/blue1---some-color/p.995�������,
lastkey=im2.jpgaspectcolor/cyan---some-color/p.995�������

I thought the KeyValueSortReducer would sort the output to prevent these
errors from occuring. Am I doing something wrong or should I write my
own comparator which compares actual row,column pairs?

Using HBase 0.20.2 and Hadoop 0.20.0

Regards,
Menno Luiten

Reply via email to