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 CBE35177A3 for ; Fri, 27 Feb 2015 01:22:04 +0000 (UTC) Received: (qmail 1101 invoked by uid 500); 27 Feb 2015 01:22:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 1052 invoked by uid 500); 27 Feb 2015 01:22:04 -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 1040 invoked by uid 99); 27 Feb 2015 01:22:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 01:22:04 +0000 Date: Fri, 27 Feb 2015 01:22:04 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13120) Allow disabling hadoop classpath and native library lookup 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-13120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339528#comment-14339528 ] Enis Soztutar commented on HBASE-13120: --------------------------------------- +1. I think this is a valid use case where there is hadoop installed on the node(s), but we are trying to run HBase from a self-contained tarball. We should not try to find the "installed" hadoop in this case. > Allow disabling hadoop classpath and native library lookup > ---------------------------------------------------------- > > Key: HBASE-13120 > URL: https://issues.apache.org/jira/browse/HBASE-13120 > Project: HBase > Issue Type: Improvement > Components: hbase > Affects Versions: 0.98.0 > Reporter: Siddharth Wagle > Attachments: HBASE-13120.patch > > > - Current bin/hbase script sets the java.library.path to include hadoop native libs based on what version of hadoop is installed on the box. > {code} > HADOOP_IN_PATH=$(PATH="${HADOOP_HOME:-${HADOOP_PREFIX}}/bin:$PATH" which hadoop 2>/dev/null) > {code} > - This effectively means that a self-contained HBase running with a different version of embedded hadoop jars will fail to work in case of version incompatibilities. > - Example: AMBARI-5707, runs a embedded HBase on local FS side-by-side with cluster Hadoop installation. > - It would be good to have a hbase-env variable to completely override native lib path or a config to disable native lib path lookup, in which case user has to provide it during start. -- This message was sent by Atlassian JIRA (v6.3.4#6332)