
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Issue Links:
|
Blocker
|
|
This issue blocks:
|
|
|
MAPREDUCE-252 Create an InputFormat for reading lines of text as Java Strings
|
|
|
|
|
|
Dependants
|
|
|
|
Reference
|
|
|
|
This issue is related to:
|
|
|
|
|
|
MAPREDUCE-245
Job and JobControl classes should return interfaces rather than implementations
|
|
|
|
|
|
|
| Hadoop Flags: |
Reviewed
|
| Release Note: |
Replaced parameters with context obejcts in Mapper, Reducer, Partitioner, InputFormat, and OutputFormat classes.
|
| Resolution Date: |
15/Dec/08 10:22 PM
|
This is a big change, but it will future-proof our API's. To maintain backwards compatibility, I'd suggest that we move over to a new package name (org.apache.hadoop.mapreduce) and deprecate the old interfaces and package. Basically, it will replace:
package org.apache.hadoop.mapred;
public interface Mapper extends JobConfigurable, Closeable {
void map(WritableComparable key, Writable value, OutputCollector output, Reporter reporter) throws IOException;
}
with:
package org.apache.hadoop.mapreduce;
public interface Mapper extends Closable {
void map(MapContext context) throws IOException;
}
where MapContext has the methods like getKey(), getValue(), collect(Key, Value), progress(), etc.
|
|
Description
|
This is a big change, but it will future-proof our API's. To maintain backwards compatibility, I'd suggest that we move over to a new package name (org.apache.hadoop.mapreduce) and deprecate the old interfaces and package. Basically, it will replace:
package org.apache.hadoop.mapred;
public interface Mapper extends JobConfigurable, Closeable {
void map(WritableComparable key, Writable value, OutputCollector output, Reporter reporter) throws IOException;
}
with:
package org.apache.hadoop.mapreduce;
public interface Mapper extends Closable {
void map(MapContext context) throws IOException;
}
where MapContext has the methods like getKey(), getValue(), collect(Key, Value), progress(), etc. |
Show » |
made changes - 29/Feb/08 07:24 AM
| Field |
Original Value |
New Value |
|
Attachment
|
|
context-objs.patch
[ 12376792
]
|
made changes - 09/Apr/08 02:54 PM
|
Link
|
|
This issue is related to HADOOP-3219
[ HADOOP-3219
]
|
made changes - 16/Jun/08 02:32 PM
|
Link
|
|
This issue relates to HADOOP-3566
[ HADOOP-3566
]
|
made changes - 24/Jul/08 03:15 PM
|
Link
|
|
This issue is related to HADOOP-3822
[ HADOOP-3822
]
|
made changes - 08/Sep/08 12:57 PM
|
Link
|
|
This issue blocks HADOOP-3566
[ HADOOP-3566
]
|
made changes - 08/Sep/08 12:57 PM
|
Link
|
This issue relates to HADOOP-3566
[ HADOOP-3566
]
|
|
made changes - 13/Nov/08 06:12 AM
|
Link
|
|
This issue blocks HADOOP-3788
[ HADOOP-3788
]
|
made changes - 09/Dec/08 07:36 PM
|
Attachment
|
|
h1230.patch
[ 12395669
]
|
made changes - 12/Dec/08 05:24 PM
|
Attachment
|
|
h1230.patch
[ 12395953
]
|
made changes - 13/Dec/08 12:45 AM
|
Attachment
|
|
h1230.patch
[ 12395983
]
|
made changes - 15/Dec/08 05:30 PM
|
Attachment
|
|
h1230.patch
[ 12396105
]
|
made changes - 15/Dec/08 05:30 PM
|
Status
|
Open
[ 1
]
|
Patch Available
[ 10002
]
|
|
Fix Version/s
|
|
0.20.0
[ 12313438
]
|
made changes - 15/Dec/08 07:24 PM
|
Attachment
|
|
h1230.patch
[ 12396117
]
|
made changes - 15/Dec/08 10:22 PM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Hadoop Flags
|
|
[Reviewed]
|
|
Status
|
Patch Available
[ 10002
]
|
Resolved
[ 5
]
|
made changes - 25/Mar/09 07:02 PM
|
Release Note
|
|
Replaced parameters with context obejcts in Mapper, Reducer, Partitioner, InputFormat, and OutputFormat classes.
|
made changes - 23/Apr/09 07:17 PM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
made changes - 08/Jul/09 04:52 PM
|
Component/s
|
mapred
[ 12310690
]
|
|
|