[ https://issues.apache.org/jira/browse/HADOOP-11013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113471#comment-14113471 ]
Andrew Wang commented on HADOOP-11013: -------------------------------------- +1 LGTM, thanks Allen > 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 > Assignee: Allen Wittenauer > Attachments: HADOOP-11013.patch > > > 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)