Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40AED1023E for ; Sat, 1 Feb 2014 03:19:06 +0000 (UTC) Received: (qmail 65234 invoked by uid 500); 1 Feb 2014 03:19:05 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 65207 invoked by uid 500); 1 Feb 2014 03:19:05 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 65199 invoked by uid 99); 1 Feb 2014 03:19:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 03:19:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2014 03:19:03 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C90F1238883D; Sat, 1 Feb 2014 03:18:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1563370 - /hive/trunk/bin/hive Date: Sat, 01 Feb 2014 03:18:43 -0000 To: commits@hive.apache.org From: xuefu@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140201031843.C90F1238883D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: xuefu Date: Sat Feb 1 03:18:43 2014 New Revision: 1563370 URL: http://svn.apache.org/r1563370 Log: HIVE-6328: Hive script should not overwrite AUX_CLASSPATH with HIVE_AUX_JARS_PATH if the latter is set (reviewed by Prasad) Modified: hive/trunk/bin/hive Modified: hive/trunk/bin/hive URL: http://svn.apache.org/viewvc/hive/trunk/bin/hive?rev=1563370&r1=1563369&r2=1563370&view=diff ============================================================================== --- hive/trunk/bin/hive (original) +++ hive/trunk/bin/hive Sat Feb 1 03:18:43 2014 @@ -119,7 +119,7 @@ elif [ "${HIVE_AUX_JARS_PATH}" != "" ]; HIVE_AUX_JARS_PATH=`cygpath -p -w "$HIVE_AUX_JARS_PATH"` HIVE_AUX_JARS_PATH=`echo $HIVE_AUX_JARS_PATH | sed 's/;/,/g'` fi - AUX_CLASSPATH=${HIVE_AUX_JARS_PATH} + AUX_CLASSPATH=${AUX_CLASSPATH}:${HIVE_AUX_JARS_PATH} AUX_PARAM="file://$(echo ${HIVE_AUX_JARS_PATH} | sed 's/:/,file:\/\//g')" fi