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

Deprecate FileInputFormat.setInputPaths(Job, String) and FileInputFormat.addInputPaths(Job, String)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Deprecate o.a.h.mapreduce.lib.input.setInputPaths(Job, String) and o.a.h.mapreduce.lib.input.addInputPaths(Job, String). Use setInputPaths(Job, Path...) and addInputPaths(Job, Path...) instead.

      Description

      FileInputFormat.setInputPaths(Job job, String commaSeparatedPaths) and FileInputFormat.addInputPaths(Job job, String commaSeparatedPaths) fail to parse commaSeparatedPaths if a comma is included in the file path. (e.g. Path: /path/file,with,comma)
      We should deprecate these methods and document to use setInputPaths(Job job, Path... inputPaths) and addInputPaths(Job job, Path... inputPaths) instead.

        Attachments

        1. MAPREDUCE-5889.5.patch
          46 kB
          Akira Ajisaka
        2. MAPREDUCE-5889.4.patch
          46 kB
          Akira Ajisaka
        3. MAPREDUCE-5889.3.patch
          46 kB
          Akira Ajisaka
        4. MAPREDUCE-5889.patch
          20 kB
          Akira Ajisaka
        5. MAPREDUCE-5889.patch
          20 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: