Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 96BEE200D17 for ; Sun, 24 Sep 2017 02:34:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 957031609B8; Sun, 24 Sep 2017 00:34:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DBD881609EC for ; Sun, 24 Sep 2017 02:34:08 +0200 (CEST) Received: (qmail 93388 invoked by uid 500); 24 Sep 2017 00:34:03 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 91446 invoked by uid 99); 24 Sep 2017 00:34:03 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Sep 2017 00:34:03 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DAE75F5B04; Sun, 24 Sep 2017 00:34:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@hbase.apache.org Date: Sun, 24 Sep 2017 00:34:44 -0000 Message-Id: <1deef982eed045e882e7ce42139ce009@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [44/47] hbase git commit: HBASE-18787 Fix the "dependencies connecting to an HBase cluster" archived-at: Sun, 24 Sep 2017 00:34:09 -0000 HBASE-18787 Fix the "dependencies connecting to an HBase cluster" Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bb9f01c1 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bb9f01c1 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bb9f01c1 Branch: refs/heads/HBASE-18467 Commit: bb9f01c1e400e8594c6356fecff1922c629f9a1a Parents: 21a61ad Author: Chia-Ping Tsai Authored: Mon Sep 11 16:30:32 2017 +0800 Committer: Chia-Ping Tsai Committed: Sat Sep 23 01:56:38 2017 +0800 ---------------------------------------------------------------------- src/main/asciidoc/_chapters/configuration.adoc | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/bb9f01c1/src/main/asciidoc/_chapters/configuration.adoc ---------------------------------------------------------------------- diff --git a/src/main/asciidoc/_chapters/configuration.adoc b/src/main/asciidoc/_chapters/configuration.adoc index 7e46156..6c550c4 100644 --- a/src/main/asciidoc/_chapters/configuration.adoc +++ b/src/main/asciidoc/_chapters/configuration.adoc @@ -547,19 +547,14 @@ Usually this ensemble location is kept out in the _hbase-site.xml_ and is picked If you are configuring an IDE to run an HBase client, you should include the _conf/_ directory on your classpath so _hbase-site.xml_ settings can be found (or add _src/test/resources_ to pick up the hbase-site.xml used by tests). -Minimally, an HBase client needs several libraries in its `CLASSPATH` when connecting to a cluster, including: -[source] +Minimally, an HBase client needs hbase-client module in its dependencies when connecting to a cluster: +[source,xml] ---- - -commons-configuration (commons-configuration-1.6.jar) -commons-lang3 (commons-lang3-3.6.jar) -commons-logging (commons-logging-1.1.1.jar) -hadoop-core (hadoop-core-1.0.0.jar) -hbase (hbase-0.92.0.jar) -log4j (log4j-1.2.16.jar) -slf4j-api (slf4j-api-1.5.8.jar) -slf4j-log4j (slf4j-log4j12-1.5.8.jar) -zookeeper (zookeeper-3.4.2.jar) + + org.apache.hbase + hbase-client + 1.2.4 + ---- A basic example _hbase-site.xml_ for client only may look as follows: