Hadoop Common
  1. Hadoop Common
  2. HADOOP-3630

CompositeRecordReader: key and values can be in uninitialized state if files being joined have no records

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I am using org.apache.hadoop.mapred.join.CompositeInputFormat to do an outer-join across a number of SequenceFiles. This works fine in most circumstances, but I get NullPointerExceptions/uninitialized data (where Writable#readFields() has not been called) when some of the files being joined have no records in them.

      1. 3630-1.patch
        7 kB
        Chris Douglas
      2. 3630-0.patch
        6 kB
        Chris Douglas

        Activity

          People

          • Assignee:
            Chris Douglas
            Reporter:
            Jingkei Ly
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development