hbase-book icon indicating copy to clipboard operation
hbase-book copied to clipboard

ch07 syntax error

Open ChenQiulin opened this issue 9 years ago • 0 comments

the code in line 93 from ImportFromFile context.write(new ImmutableBytesWritable(rowkey), put); has syntax error: The method write(ImmutableBytesWritable, Writable) in the type TaskInputOutputContext<LongWritable,Text,ImmutableBytesWritable,Writable> is not applicable for the arguments (ImmutableBytesWritable, Put). by the way, my hadoop-core version is 1.2.1 because I can't get 0.20-append-r1057313 version by maven:

org.apache.hadoop hadoop-core 1.2.1 provided

I don't know what's going wrong,can you help me?

ChenQiulin avatar Apr 14 '15 14:04 ChenQiulin