You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/21 19:02:41 UTC
[jira] [Resolved] (HADOOP-4776) Windows installation fails with
"bin/hadoop: line 243: c:\Program: command not found"
[ https://issues.apache.org/jira/browse/HADOOP-4776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-4776.
--------------------------------------
Resolution: Won't Fix
Closing this as won't fix now that Hadoop ships with batch files.
> Windows installation fails with "bin/hadoop: line 243: c:\Program: command not found"
> -------------------------------------------------------------------------------------
>
> Key: HADOOP-4776
> URL: https://issues.apache.org/jira/browse/HADOOP-4776
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.19.0
> Environment: Windows
> Reporter: m costello
> Priority: Minor
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)