Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E176732C for ; Wed, 20 Jul 2011 23:54:20 +0000 (UTC) Received: (qmail 35313 invoked by uid 500); 20 Jul 2011 23:54:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 35235 invoked by uid 500); 20 Jul 2011 23:54:19 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 35227 invoked by uid 99); 20 Jul 2011 23:54:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 23:54:19 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2011 23:54:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DE8F54B4B0 for ; Wed, 20 Jul 2011 23:53:57 +0000 (UTC) Date: Wed, 20 Jul 2011 23:53:57 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: issues@hbase.apache.org Message-ID: <666424375.9913.1311206037908.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2144813.130651295742643403.JavaMail.jira@thor> Subject: [jira] [Updated] (HBASE-3465) Hbase should use a HADOOP_HOME environment variable if available. 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/HBASE-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HBASE-3465: -------------------------------------- Attachment: a1-HBASE-3465.patch The attached patch adds Hadoop JARs/conf/SOs to the 'hbase' environment if HADOOP_HOME is defined. > Hbase should use a HADOOP_HOME environment variable if available. > ----------------------------------------------------------------- > > Key: HBASE-3465 > URL: https://issues.apache.org/jira/browse/HBASE-3465 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.0 > Reporter: Ted Dunning > Assignee: Alejandro Abdelnur > Attachments: a1-HBASE-3465.patch > > > I have been burned a few times lately while developing code by having the make sure that the hadoop jar in hbase/lib is exactly correct. In my own deployment, there are actually 3 jars and a native library to keep in sync that hbase shouldn't have to know about explicitly. A similar problem arises when using stock hbase with CDH3 because of the security patches changing the wire protocol. > All of these problems could be avoided by not assuming that the hadoop library is in the local directory. Moreover, I think it might be possible to assemble the distribution such that the compile time hadoop dependency is in a cognate directory to lib and is referenced using a default value for HADOOP_HOME. > Does anybody have any violent antipathies to such a change? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira