Return-Path: X-Original-To: apmail-incubator-flume-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-flume-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 442E87DF4 for ; Mon, 10 Oct 2011 17:32:38 +0000 (UTC) Received: (qmail 46069 invoked by uid 500); 10 Oct 2011 17:32:38 -0000 Delivered-To: apmail-incubator-flume-user-archive@incubator.apache.org Received: (qmail 46052 invoked by uid 500); 10 Oct 2011 17:32:38 -0000 Mailing-List: contact flume-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flume-user@incubator.apache.org Delivered-To: mailing list flume-user@incubator.apache.org Received: (qmail 46044 invoked by uid 99); 10 Oct 2011 17:32:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 17:32:38 +0000 X-ASF-Spam-Status: No, hits=1.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mjlai09@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 17:32:31 +0000 Received: by vwe42 with SMTP id 42so5018277vwe.6 for ; Mon, 10 Oct 2011 10:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=/c6tYLOjevGFe9c2kHmq5blUjIYjoWqFY4UfbF169v4=; b=fF/b/TCiwdQh1BBv9FAjUxEQbLseJzWsQNdwjZMr8ghsh94W3u4pEhZT2UEOy/X4l2 99f446ZFg1OSWqE5dI6XQiwzXMUuoA1bNyUEORdYrd7mXWJOzcB2LCNu1dL/WAUDUjKo XpxYjyDZGOLwnVEUPGF518nogVHVtDffLMNKk= Received: by 10.68.34.69 with SMTP id x5mr39117151pbi.92.1318267930429; Mon, 10 Oct 2011 10:32:10 -0700 (PDT) Received: from [172.16.31.99] (69-170-60-202.static-ip.telepacific.net. [69.170.60.202]) by mx.google.com with ESMTPS id h5sm69716836pbf.4.2011.10.10.10.32.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Oct 2011 10:32:08 -0700 (PDT) Message-ID: <4E932C16.8090509@googlemail.com> Date: Mon, 10 Oct 2011 10:32:06 -0700 From: Mingjie Lai User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: flume-user@incubator.apache.org Subject: Re: Help: Error with flume-hbase sink References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org ``mvn package'' should work. On 10/10/2011 08:35 AM, AD wrote: > how do you build this plugin from source? mvn compile doesnt seem to > create the .jar, jut the .classes ? > > On Mon, Oct 10, 2011 at 3:29 AM, Alex Baranau > wrote: > > Weird. Jar seems good to me. Doing this: > > $ wget > https://github.com/abaranau/flume-plugin-hbasesink-compiled/raw/master/flume-plugin-hbasesink-0.9.5-SNAPSHOT-20110627.jar > $ alex@alexpc:/tmp$ jar tf > flume-plugin-hbasesink-0.9.5-SNAPSHOT-20110627.jar > META-INF/ > META-INF/MANIFEST.MF > com/ > com/cloudera/ > com/cloudera/flume/ > com/cloudera/flume/hbase/ > com/cloudera/flume/hbase/Attr2HBaseEventSink.class > com/cloudera/flume/hbase/HBaseSink$QualifierSpec.class > com/cloudera/flume/hbase/Attr2HBaseEventSink$1.class > com/cloudera/flume/hbase/HBaseSink.class > com/cloudera/flume/hbase/HBaseSink$1.class > META-INF/maven/ > META-INF/maven/com.cloudera.flume.plugin/ > META-INF/maven/com.cloudera.flume.plugin/flume-plugin-hbasesink/ > META-INF/maven/com.cloudera.flume.plugin/flume-plugin-hbasesink/pom.xml > META-INF/maven/com.cloudera.flume.plugin/flume-plugin-hbasesink/pom.properties > > Is that were you got the file from? > > Anyhow, if that is OK, I'd suggest you to try to build the new one > from the flume sources if this one doesn't work for you. As a bonus I > guess it has some minor improvements in there - no sure. Don't know if > there any other place to download this jar without compiling... > > Alex Baranau > ---- > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - Hadoop - > HBase > > On Sun, Oct 9, 2011 at 11:03 AM, Eran Kutner > wrote: > > Just place those JARs in the flume lib directory. > > > > -eran > > > > > > > > On Fri, Oct 7, 2011 at 21:27, Saritha Ravi > > wrote: > >> > >> Hi All, > >> > >> >I am trying to configure flume-hbase sink in ec2 cloud. > >> >I have one flume-master,one flume-collector and one agent. I added > >> >hbase-sink jar file from github on my collector and update the > >> >flume-site.xml file. Added flume-class path too. > >> >I am getting error saying hbase class not found exception for > these two > >> >files > >> > >> > > >com.cloudera.flume.hbase.HBaseSink,com.cloudera.flume.hbase.Attr2HBaseEven > >> >tSink > >> >When I try jar tf > >> > > >> > >> > >> jar tf flume-plugin-hbasesink-0.9.5-SNAPSHOT-20110627.jar > >> java.util.zip.ZipException: error in opening zip file > >> at java.util.zip.ZipFile.open(Native Method) > >> at java.util.zip.ZipFile.(ZipFile.java:127) > >> at java.util.zip.ZipFile.(ZipFile.java:88) > >> at sun.tools.jar.Main.list(Main.java:979) > >> at sun.tools.jar.Main.run(Main.java:224) > >> at sun.tools.jar.Main.main(Main.java:1149) > >> > >> > >> >Getting the below error could you please help me with this > >> > > >> > > >> > > >> > > >> >Or can you please send me correct jar file > >> > > >> >Thanks, > >> >Saritha. > >> > > >> > > > > > >