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

add getArchiveIndex to HarFileSystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      This patch adds a public getter for archiveIndex to HarFileSystem, allowing us to access the index file corresponding to a har file system (useful for raid).

      Index: src/tools/org/apache/hadoop/fs/HarFileSystem.java
      ===================================================================
      — src/tools/org/apache/hadoop/fs/HarFileSystem.java (revision 1004421)
      +++ src/tools/org/apache/hadoop/fs/HarFileSystem.java (working copy)
      @@ -759,6 +759,13 @@
      }

      /**
      + * returns the archive index
      + */
      + public Path getArchiveIndex()

      { + return archiveIndex; + }

      +
      + /**

      • return the top level archive path.
        */
        public Path getHomeDirectory() {

      Attachments

        1. MAPREDUCE-2110.patch
          0.5 kB
          Patrick Kling

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkling Patrick Kling
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: