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

Fix TestCommandLineJobSubmission and TestGenericOptionsParser to work for windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1-win
    • fs, test, util
    • None

    Description

      There are multiple places in prod and test code where Windows paths are not handled properly. From a high level this could be summarized with:
      1. Windows paths are not necessarily valid DFS paths (while Unix paths are)
      2. Windows paths are not necessarily valid URIs (while Unix paths are)

      #1 causes a number of tests to fail because they implicitly assume that local paths are valid DFS paths (by extracting the DFS test path from for example "test.build.data" property)

      #2 causes issues when URIs are directly created on path strings passed in by the user

      Attachments

        1. HADOOP-8409-branch-1-win.4.patch
          4 kB
          Ivan Mitic
        2. HADOOP-8409-branch-1-win.3.patch
          4 kB
          Ivan Mitic
        3. HADOOP-8409-branch-1-win.2.patch
          4 kB
          Ivan Mitic
        4. HADOOP-8409-branch-1-win.patch
          24 kB
          Ivan Mitic

        Issue Links

          Activity

            People

              ivanmi Ivan Mitic
              ivanmi Ivan Mitic
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified