From dev-return-9575-apmail-sqoop-dev-archive=sqoop.apache.org@sqoop.apache.org Wed Sep 18 12:07:02 2013 Return-Path: X-Original-To: apmail-sqoop-dev-archive@www.apache.org Delivered-To: apmail-sqoop-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACBE9100A4 for ; Wed, 18 Sep 2013 12:07:02 +0000 (UTC) Received: (qmail 81344 invoked by uid 500); 18 Sep 2013 12:06:58 -0000 Delivered-To: apmail-sqoop-dev-archive@sqoop.apache.org Received: (qmail 81323 invoked by uid 500); 18 Sep 2013 12:06:57 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 81288 invoked by uid 99); 18 Sep 2013 12:06:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 12:06:53 +0000 Date: Wed, 18 Sep 2013 12:06:53 +0000 (UTC) From: "Hudson (JIRA)" To: dev@sqoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SQOOP-1203) Add another default case for finding *_HOME when not explicitly defined 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/SQOOP-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770692#comment-13770692 ] Hudson commented on SQOOP-1203: ------------------------------- SUCCESS: Integrated in Sqoop-ant-jdk-1.6-hadoop200 #858 (See [https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/858/]) SQOOP-1203: Add another default case for finding *_HOME when not explicitly defined (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=e187f454c550081687f72bedbd88d0a1d3d92f14) * bin/configure-sqoop > Add another default case for finding *_HOME when not explicitly defined > ------------------------------------------------------------------------ > > Key: SQOOP-1203 > URL: https://issues.apache.org/jira/browse/SQOOP-1203 > Project: Sqoop > Issue Type: Improvement > Components: tools > Affects Versions: 1.4.4 > Reporter: Mark Grover > Assignee: Mark Grover > Fix For: 1.4.5 > > Attachments: SQOOP-1203.1.patch > > > Currently, the {{configure-sqoop}} scripts that checks the value of various _HOME variables (e.g. HADOOP_MAPRED_HOME, HCAT_HOME, etc.) has the following heuristic: > 1. Use the *_HOME variable's value, if defined. > 2. If not, assign /usr/lib/ to the variable. > 3. If /usr/lib/ doesn't exist, error out > I would like to propose to modify this to add one more case before we error out. > 1. Use the *_HOME variable's value, if defined. > 2. If not, assign /usr/lib/ to the *_HOME variable. > 3. If /usr/lib/ doesn't exist, check for hadoop and hcat at the same directory level as sqoop > 4. If #3 fails as well, error out. > This is backwards compatible because it wouldn't be touching any of the existing cases. It will just add more location to check for presence of hadoop, hcat etc. before erroring out. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira