[ 
https://issues.apache.org/jira/browse/HADOOP-9600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668837#comment-13668837
 ] 

Chuan Liu commented on HADOOP-9600:
-----------------------------------

For example, the following script works for me.

{noformat}
echo off
set X="c:\a b\a.cmd"
set Y="a b c"
for /f %%A in ("%X% %Y%") do set ABC=%%A
@echo %ABC%
{noformat}
                
> In Windows: Hadoop fails to run when JAVA_HOME has spaces in it
> ---------------------------------------------------------------
>
>                 Key: HADOOP-9600
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9600
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Mostafa Elhemali
>            Assignee: Mostafa Elhemali
>         Attachments: HADOOP-9600.2.patch, HADOOP-9600.3.patch, 
> HADOOP-9600.patch
>
>
> hadoop-config.cmd misbehaves when JAVA_HOME has spaces in it (e.g. if Java is 
> in c:\Program Files).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to