Skip to content

ch07 syntax error #8

Description

@ChenQiulin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions