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

Windows installation fails with "bin/hadoop: line 243: c:\Program: command not found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.19.0
    • None
    • scripts
    • None
    • Windows

    Description

      Perhaps a space in the path name is confusing Cygwin. The JAVA_HOME path is the default "C:\Program Files\Java\jdk1.6.0_11".

      Changing
      JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
      to
      JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} "${JAVA}" org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
      appear to correct the problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            learner m costello
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified