Hadoop Common
  1. Hadoop Common
  2. HADOOP-534

Jobconf should set the default output value class to be Text

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.1
    • Fix Version/s: 0.6.2
    • Component/s: None
    • Labels:
      None

      Description

      When input files are in the text format, the input value class is set to be Text. But the output value class is by default set to be UTF8. This causes the Grep example to fail.

        Activity

        Owen O'Malley made changes -
        Component/s mapred [ 12310690 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Doug Cutting made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Doug Cutting added a comment -

        I committed this on Friday. Thanks, Hairong!

        Show
        Doug Cutting added a comment - I committed this on Friday. Thanks, Hairong!
        Doug Cutting committed 446695 (2 files)
        Reviews: none

        HADOOP-534. Change the default value classes in JobConf to be Text, not the now-deprecated UTF8. Contributed by Hairong.

        Hairong Kuang made changes -
        Attachment seq_class_name.patch [ 12340860 ]
        Hairong Kuang made changes -
        Attachment default_class.patch [ 12340957 ]
        Hide
        Hairong Kuang added a comment -

        Attached the wrong patch. Sorry.

        Show
        Hairong Kuang added a comment - Attached the wrong patch. Sorry.
        Hide
        Doug Cutting added a comment -

        This looks like the patch for HADOOP-530, not for this issue.

        Show
        Doug Cutting added a comment - This looks like the patch for HADOOP-530 , not for this issue.
        Hairong Kuang made changes -
        Field Original Value New Value
        Attachment seq_class_name.patch [ 12340860 ]
        Hide
        Hairong Kuang added a comment -

        Here is the patch.

        Show
        Hairong Kuang added a comment - Here is the patch.
        Hairong Kuang created issue -

          People

          • Assignee:
            Hairong Kuang
            Reporter:
            Hairong Kuang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development