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

winutils detection on windows-cygwin fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None
    • Environment:

      windows 7, cygwin

    • Release Note:
      Hide
      line 250:
      private static String HADOOP_HOME_DIR = checkHadoopHome();
      this should be Final as it does not get initialized properly (HADOOP_HOME_DIR stays null during it's initialization)
      Show
      line 250: private static String HADOOP_HOME_DIR = checkHadoopHome(); this should be Final as it does not get initialized properly (HADOOP_HOME_DIR stays null during it's initialization)

      Description

      java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
      at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:278)
      at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:300)
      at org.apache.hadoop.util.Shell.<clinit>(Shell.java:293)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Franjo Franjo Markovic
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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