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

Allen Wittenauer commented on HADOOP-11013:
-------------------------------------------

I'm in the midst of rewriting slsrun.sh and it's very clear that this needs to 
happen first.  It's only going to get worse with KMS and HTTPFS.

> CLASSPATH handling should be consolidated, debuggable
> -----------------------------------------------------
>
>                 Key: HADOOP-11013
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11013
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Allen Wittenauer
>
> As part of HADOOP-9902, java execution across many different shell bits were 
> consolidated down to (effectively) two routines.  Prior to calling those two 
> routines, the CLASSPATH is exported.  This export should really be getting 
> handled in the exec function and not in the individual shell bits.
> Additionally, it would be good if there was:
> {code}
> echo ${CLASSPATH} > /dev/null
> {code}
> so that bash -x would show the content of the classpath or even a '--debug 
> classpath' option that would echo the classpath to the screen prior to java 
> exec to help with debugging.



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

Reply via email to