Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 716D611E13 for ; Fri, 29 Aug 2014 14:03:05 +0000 (UTC) Received: (qmail 75050 invoked by uid 500); 29 Aug 2014 14:03:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 75006 invoked by uid 500); 29 Aug 2014 14:03:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 74990 invoked by uid 99); 29 Aug 2014 14:03:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 14:03:05 +0000 Date: Fri, 29 Aug 2014 14:03:05 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11013) CLASSPATH handling should be consolidated, debuggable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14115261#comment-14115261 ] Hudson commented on HADOOP-11013: --------------------------------- FAILURE: Integrated in Hadoop-Hdfs-trunk #1854 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1854/]) HADOOP-11013. CLASSPATH handling should be consolidated, debuggable (aw) (aw: rev d8774cc577198fdc3bc36c26526c95ea9a989800) * hadoop-yarn-project/hadoop-yarn/bin/yarn * hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs * hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh * hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh * hadoop-common-project/hadoop-common/src/main/bin/hadoop * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/bin/rcc * hadoop-mapreduce-project/bin/mapred > 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 > Fix For: 3.0.0 > > Attachments: HADOOP-11013-01.patch, 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)