hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11458) Dos Scripts fail when spaces are in Java Path
Date Thu, 08 Jan 2015 00:27:36 GMT

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

Berin Loritsch commented on HADOOP-11458:

Sorry.  I searched for it as well.

> Dos Scripts fail when spaces are in Java Path
> ---------------------------------------------
>                 Key: HADOOP-11458
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11458
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Berin Loritsch
> The issue came to light when trying to work with PIG, however, I've had to either repair
the DOS commands for hadoop-config.cmd or perform some work-arounds.
> #. The default install location for both JDK and JRE are in "Program Files"  That space
causes problems with the %JAVA% variable
> #. Adding quotes around the CLASSPATH and JAVA variables fix a great number of problems,
but breaks the platform detection
> Due to my fix in the script breaking the platform detection, I can't recommend it outright.
 My work-around for the platform detection was to run it from the command line directly, and
then embed the result in the JAVA_PLATFORM variable with those results.  I.e. it will only
work on my machine.
> This is an old problem that several projects had to fix when Java went to 1.3, not sure
why it's back again.

This message was sent by Atlassian JIRA

View raw message