[
https://issues.apache.org/jira/browse/MAPREDUCE-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruyue Ma updated MAPREDUCE-1555:
--------------------------------
Summary: tasktracker heartbeat hang (was: Maybe some code of MapTask
is wrong.)
Description:
Maybe some code of MapTask is wrong.
{code:title=MapTask.java|borderStyle=solid}
public void write(DataOutput out) throws IOException {
super.write(out);
if (isMapOrReduce()) {
splitMetaInfo.write(out);
splitMetaInfo = null; // HERE: why set null ??????
}
}
{code}
In above code, if the splitMetaInfo is set null, Second Serialization (will
invoke write) will throw NullPointerException.
was:
{code:title=MapTask.java|borderStyle=solid}
public void write(DataOutput out) throws IOException {
super.write(out);
if (isMapOrReduce()) {
splitMetaInfo.write(out);
splitMetaInfo = null; // HERE: why set null ??????
}
}
{code}
In above code, if the splitMetaInfo is set null, Second Serialization (will
invoke write) will throw NullPointerException.
> tasktracker heartbeat hang
> --------------------------
>
> Key: MAPREDUCE-1555
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1555
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task
> Reporter: Ruyue Ma
>
> Maybe some code of MapTask is wrong.
> {code:title=MapTask.java|borderStyle=solid}
> public void write(DataOutput out) throws IOException {
> super.write(out);
> if (isMapOrReduce()) {
> splitMetaInfo.write(out);
> splitMetaInfo = null; // HERE: why set null ??????
> }
> }
> {code}
> In above code, if the splitMetaInfo is set null, Second Serialization (will
> invoke write) will throw NullPointerException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira