hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruyue Ma (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1555) Maybe some code of MapTask is wrong.
Date Wed, 03 Mar 2010 17:20:27 GMT
Maybe some code of MapTask is wrong.
------------------------------------

                 Key: MAPREDUCE-1555
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1555
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: task
            Reporter: Ruyue Ma


{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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message