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

Fix TestCommandLineJobSubmission and TestGenericOptionsParser to work for windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1-win
    • Component/s: fs, test, util
    • Labels:
      None
    • Target Version/s:

      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.patch
          24 kB
          Ivan Mitic
        2. HADOOP-8409-branch-1-win.4.patch
          4 kB
          Ivan Mitic
        3. HADOOP-8409-branch-1-win.3.patch
          4 kB
          Ivan Mitic
        4. HADOOP-8409-branch-1-win.2.patch
          4 kB
          Ivan Mitic

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                9 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