Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1501

FileInputFormat to support multi-level/recursive directory listing

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      As we have seen multiple times in the mailing list, users want to have the capability of getting all files out of a multi-level directory structure.

      4/1/2008: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.mbox/%3Ce75c02ef0804011433x144813e6x2450da7883de3aca@mail.gmail.com%3E

      2/3/2009: http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200902.mbox/%3C7F80089C-3E7F-4330-90BA-6F1C5B0B0F3F@nist.gov%3E

      6/2/2009: http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200906.mbox/%3C4A258A16.8050300@darose.net%3E

      One solution that our users had is to write a new FileInputFormat, but that means all existing FileInputFormat subclasses need to be changed in order to support this feature.

      We can easily provide a JobConf option (which defaults to false) to FileInputFormat.listStatus(...) to recursively go into directory structure.

        Issue Links

          Activity

          dhruba borthakur made changes -
          Fix Version/s 0.21.1 [ 12315272 ]
          dhruba borthakur made changes -
          Link This issue relates to MAPREDUCE-1577 [ MAPREDUCE-1577 ]
          Zheng Shao made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Zheng Shao made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          dhruba borthakur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Zheng Shao made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Zheng Shao made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Zheng Shao made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Zheng Shao made changes -
          Attachment MAPREDUCE-1501.1.trunk.patch [ 12436481 ]
          Zheng Shao made changes -
          Attachment MAPREDUCE-1501.1.branch-0.20.patch [ 12436480 ]
          Zheng Shao made changes -
          Assignee Zheng Shao [ zshao ]
          Zheng Shao made changes -
          Field Original Value New Value
          Link This issue blocks HIVE-1083 [ HIVE-1083 ]
          Zheng Shao created issue -

            People

            • Assignee:
              Zheng Shao
              Reporter:
              Zheng Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development