``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. > >> > > >> > > > > > >