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 9818366B5 for ; Thu, 21 Jul 2011 15:26:23 +0000 (UTC) Received: (qmail 91693 invoked by uid 500); 21 Jul 2011 15:26:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91326 invoked by uid 500); 21 Jul 2011 15:26:22 -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 91302 invoked by uid 99); 21 Jul 2011 15:26:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 15:26:21 +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; Thu, 21 Jul 2011 15:26:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3DA374D78A for ; Thu, 21 Jul 2011 15:25:58 +0000 (UTC) Date: Thu, 21 Jul 2011 15:25:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1869397315.11662.1311261958249.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=13069025#comment-13069025 ] stack commented on HBASE-3465: ------------------------------ On 1., we use the mini test tools, minidfs, etc., but if the HADOOP_HOME is for runtime only, we should be able to get away with not needing hadoop-test*.jar. On 2., my bad. This patch should be good to go then AA? > 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