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?
the code in line 93 from ImportFromFile
org.apache.hadoop hadoop-core 1.2.1 providedcontext.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?