hbase-book
hbase-book copied to clipboard
ch07 syntax error
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:
I don't know what's going wrong,can you help me?