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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. test-untar.tar
          20 kB
          Bikas Saha
        2. test-untar.tgz
          2 kB
          Bikas Saha
        3. HADOOP-8847.branch-1-win.1.patch
          9 kB
          Bikas Saha
        4. HADOOP-8847.branch-1-win.2.patch
          9 kB
          Bikas Saha
        5. HADOOP-8847.branch-1-win.3.patch
          9 kB
          Bikas Saha
        6. HADOOP-8847.branch-1-win.4.patch
          9 kB
          Suresh Srinivas

        Issue Links

          Activity

            People

            • Assignee:
              bikassaha Bikas Saha
              Reporter:
              bikassaha Bikas Saha

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment