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

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • 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.3.patch
          46 kB
          Akira Ajisaka
        2. MAPREDUCE-5889.4.patch
          46 kB
          Akira Ajisaka
        3. MAPREDUCE-5889.5.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

              groot Ashutosh Gupta
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: