Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8847

Change untar to use Java API on Windows instead of spawning tar process

    XMLWordPrintableJSON

    Details

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

      Description

      Currently FileUtil.unTar() spawns tar utility to do the work. Tar may not be present on all platforms by default eg. Windows. So changing this to use JAVA API's would help make it more cross-platform. FileUtil.unZip() uses the same approach.

        Attachments

        1. HADOOP-8847.branch-1-win.1.patch
          9 kB
          Bikas Saha
        2. HADOOP-8847.branch-1-win.2.patch
          9 kB
          Bikas Saha
        3. HADOOP-8847.branch-1-win.3.patch
          9 kB
          Bikas Saha
        4. HADOOP-8847.branch-1-win.4.patch
          9 kB
          Suresh Srinivas
        5. test-untar.tar
          20 kB
          Bikas Saha
        6. test-untar.tgz
          2 kB
          Bikas Saha

          Issue Links

            Activity

              People

              • Assignee:
                bikassaha Bikas Saha
                Reporter:
                bikassaha Bikas Saha
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: