Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF945104C0 for ; Fri, 22 Nov 2013 11:18:02 +0000 (UTC) Received: (qmail 72814 invoked by uid 500); 22 Nov 2013 11:17:59 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 72749 invoked by uid 500); 22 Nov 2013 11:17:53 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 72716 invoked by uid 99); 22 Nov 2013 11:17:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 11:17:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of silvio.digregorio@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 11:17:42 +0000 Received: by mail-ie0-f175.google.com with SMTP id x13so1755841ief.6 for ; Fri, 22 Nov 2013 03:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HUbVVUAd+aSyAS0hFu4OX9J/iKj3yjPaIOXJfDSlck8=; b=qEUg8dHg/a96/R1yBts2nUBb9z1H/uocsNRf/5w9ejHC6lWCar3l2Z41PfetNkxFhr nsXLELQZddjSGf6fm/xuKVdDpNont4DmPeAae5mxSNCzP+hBGXYzxClc10cD0k8mblkz 6MggWzJcUZTPVOgRVdTHQP/wEkFHTu8qdGVLtCVckCFPX8N7gDA9lmdleEAbgs3TzOi5 hI4hgEw6zJE2RPXtokF60EaRUJ2vEqttRq7NtRrzU/QKEWY/iq3Zm3W7DV+lFnc+RiIn 0DrbJiDjEik2IgntXyKhBkea6+ZGtbAD5/EyQCJ3o6Wjqyp+DYbVDXL5f5HL21MBm/4v KSLA== MIME-Version: 1.0 X-Received: by 10.50.61.35 with SMTP id m3mr1943473igr.56.1385119041421; Fri, 22 Nov 2013 03:17:21 -0800 (PST) Received: by 10.64.239.226 with HTTP; Fri, 22 Nov 2013 03:17:21 -0800 (PST) Date: Fri, 22 Nov 2013 12:17:21 +0100 Message-ID: Subject: example of hbase definitive guide From: Silvio Di gregorio To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a1134b62c6f8e8204ebc228c2 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134b62c6f8e8204ebc228c2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi to All this is the first time, i have launched the example PutWriteBufferExample, chapter 3 of the "hbase definitive guide" in a working hadoop cluster and returns this error Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration i have build the example in eclipse with all necessary jar, after the command i have launched: *- java -cp hbase-trai.jar client.PutWriteBufferExample -classpath `hbase classpath`* ERROR: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration at client.PutWriteBufferExample.main(PutWriteBufferExample.java:18) *- hadoop jar hbase-trai.jar client.PutWriteBufferExample -libjars `hbase classpath`* ERROR: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration at client.PutWriteBufferExample.main(PutWriteBufferExample.java:18) hbase classpath work, a piace of output /opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../conf:/opt= /jdk1.7.0_21//lib/tools.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.2= 2/lib/hbase/bin/..:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hba= se/bin/../hbase-0.94.6-cdh4.3.0-security.jar:/opt/cloudera/parcels/CDH-4.3.= 0-1.cdh4.3.0.p0.22/lib/hbase/bin/../hbase-0.94.6-cdh4.3.0-security-tests.ja= r:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../hbase.j= ar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/ac= tivation-1.1.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase= /bin/../lib/aopalliance-1.0.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.= p0.22/lib/hbase/bin/../lib/asm-3.2.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cd= h4.3.0.p0.22/lib/hbase/bin/../lib/avro-1.7.4.jar:/opt/cloudera/parcels/CDH-= 4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/commons-beanutils-1.7.0.jar:/op= t/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/commons-= beanutils-core-1.8.0.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/l= ib/hbase/bin/../lib/commons-cli-1.2.jar:/opt/cloudera/parcels/CDH-4.3.0-1.c= dh4.3.0.p0.22/lib/hbase/bin/../lib/commons-codec-1.4.jar:/opt/cloudera/parc= els/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/commons-collections-3.2= .1.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../li= b/commons-compress-1.4.1.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.= 22/lib/hbase/bin/../lib/commons-configuration-1.6.jar:/opt/cloudera/parcels= /CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/commons-daemon-1.0.3.jar:/= opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/common= s-digester-1.8.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hba= se/bin/../lib/commons-el-1.0.jar:/opt/cloudera/parcels/CDH-4.3.0-1.cdh4.3.0= .p0.22/lib/hbase/bin/../lib/commons-httpclient-3.1.jar:/opt/cloudera/parcel= s/CDH-4.3.0-1.cdh4.3.0.p0.22/lib/hbase/bin/../lib/commons-io-2.1.jar:/opt/c= loude ........ Can you help me? i'm newbie. thanks in advance Silvio --001a1134b62c6f8e8204ebc228c2--