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

Allen Wittenauer commented on HADOOP-11002:
-------------------------------------------

After playing with this for most of today, I've come to the conclusion that 
we're going to have to drop support for directories with spaces.  There's 
simply no, 100% reliable way to make them work with a global var like 
HADOOP_OPTS without doing some really bizarre tricks that break other things.  
Support for metacharacters like < is significantly more important.  


> shell escapes are incompatible with previous releases
> -----------------------------------------------------
>
>                 Key: HADOOP-11002
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11002
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Allen Wittenauer
>              Labels: regression
>
> Post-HADOOP-9902, the following in xyz_OPTS doesn't work without being 
> escaped:
> {code}
> -XX:HeapDumpPath=./java_pid_<pid>.hprof
> {code}
> This is a bit of surprising behavior to the users.  The breakage is directly 
> result of the code that fixes spaces in directories.  Since it is much more 
> likely to hit weird metacharacters in shell than have directories with 
> spaces, that part of HADOOP-9902 needs to get replaced.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to