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

Shell operations to fail with meaningful errors on windows if winutils.exe not found

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk-win, 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: util
    • Labels:
      None
    • Environment:

      windows

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If winutils.exe can't be found HADOOP_HOME wrong/unset or other causes, then an error is logged -but when any of the Shell operations are used, an NPE is raised rather than something meaningful.

      The error message at setup time should be preserved and then raised before any attempt to invoke a winutils-driven process made

        Attachments

        1. HADOOP-10775.patch
          22 kB
          Steve Loughran
        2. HADOOP-10775-002.patch
          22 kB
          Steve Loughran
        3. HADOOP-10775-003.patch
          34 kB
          Steve Loughran
        4. HADOOP-10775-004.patch
          67 kB
          Steve Loughran
        5. HADOOP-10775-005.patch
          100 kB
          Steve Loughran
        6. HADOOP-10775-006.patch
          100 kB
          Steve Loughran
        7. HADOOP-10775-007.patch
          100 kB
          Steve Loughran
        8. HADOOP-10775-008.patch
          100 kB
          Steve Loughran
        9. HADOOP-10775-009.patch
          99 kB
          Steve Loughran

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: