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 7FA0475DD for ; Tue, 13 Dec 2011 21:52:03 +0000 (UTC) Received: (qmail 22574 invoked by uid 500); 13 Dec 2011 21:52:03 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22517 invoked by uid 500); 13 Dec 2011 21:52:03 -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 22455 invoked by uid 99); 13 Dec 2011 21:52:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2011 21:52:03 +0000 X-ASF-Spam-Status: No, hits=-2001.5 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; Tue, 13 Dec 2011 21:51:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3C42011024E for ; Tue, 13 Dec 2011 21:51:31 +0000 (UTC) Date: Tue, 13 Dec 2011 21:51:31 +0000 (UTC) From: "Harsh J (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1444090276.7626.1323813091248.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2144813.130651295742643403.JavaMail.jira@thor> Subject: [jira] [Commented] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168762#comment-13168762 ] Harsh J commented on HBASE-3465: -------------------------------- HBASE-4854 fixed this I think? > 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 > Fix For: 0.92.0 > > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira