Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4791

Javadoc for KeyValueTextInputFormat should include default separator and how to change it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0, 2.2.0
    • 2.6.0
    • documentation

    Description

      The javadoc for KeyValueTextInputFormat says "Each line is divided into key and value parts by a separator byte" but it doesn't say what the separator byte is or how to change it.

      After some exploration I noticed that the default is the Tab character and that the value can be changed by the JobConf value "key.value.separator.in.input.line"

      Attachments

        1. MAPREDUCE-4791.patch
          1 kB
          Akira Ajisaka

        Activity

          People

            aajisaka Akira Ajisaka
            mdlavin Matt Lavin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified