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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1-win
    • 1-win
    • None
    • None
    • 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

              bikassaha Bikas Saha
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: