You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wayne Seguin (Jira)" <ji...@apache.org> on 2020/08/26 16:52:00 UTC

[jira] [Commented] (HADOOP-17230) JAVA_HOME with spaces not supported

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

Wayne Seguin commented on HADOOP-17230:
---------------------------------------

Added line in hadoop-env.cmd that converts %JAVA_HOME% to it's short (dos) path equivalent.

Pull request #2248 submitted

!image-2020-08-26-12-49-40-335.png!

> JAVA_HOME with spaces not supported
> -----------------------------------
>
>                 Key: HADOOP-17230
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17230
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.3.0
>         Environment: Windows 10
> Hadoop 3.1.0, 3.2.1, 3.3.0, etc
>            Reporter: Wayne Seguin
>            Priority: Minor
>         Attachments: image-2020-08-26-12-24-04-118.png, image-2020-08-26-12-49-40-335.png
>
>
> When running on Windows, if JAVA_HOME contains a space (which is frequently since the default Java install path is "C:\Program Files\Java", running Hadoop fails to run. 
> !image-2020-08-26-12-24-04-118.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org