flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Percy <mpe...@cloudera.com>
Subject Re: mvn package error
Date Wed, 27 Jun 2012 00:47:09 GMT
Use the dist tarball after compiling. It contains the binaries (as well as
the sources).

Launch flume using the bin/flume-ng script.

Regards,
Mike

On Tuesday, June 26, 2012, vijay k wrote:

> Hi,
>
> Thanks a lot users, who are helped me for  the successful installation of
> flume.
>
> I appreciate you guys help me further going forward with respect to flume.
>
> I have downloaded the jruby-complete-1.6.5.jar from gogle. and placed the
> jar file into the root/.m2/repository/org/jruby/jruby-complete/1.6.5
> location
>  and re-run the #mvn package -DskipTests package again. I am getting the
> following ALL SUCCESS output.
>
>
> [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
> flume-ng-tests ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Flume ...................................... SUCCESS
> [36.084s]
> [INFO] Flume NG SDK ...................................... SUCCESS [3.452s]
> [INFO] Flume NG Configuration ............................ SUCCESS [2.073s]
> [INFO] Flume NG Core ..................................... SUCCESS [5.179s]
> [INFO] Flume NG Sinks .................................... SUCCESS [1.022s]
> [INFO] Flume NG HDFS Sink ................................ SUCCESS [2.897s]
> [INFO] Flume NG IRC Sink ................................. SUCCESS [2.025s]
> [INFO] Flume NG HBase Sink ............................... SUCCESS [2.106s]
> [INFO] Flume NG Channels ................................. SUCCESS [0.713s]
> [INFO] Flume NG JDBC channel ............................. SUCCESS [3.668s]
> [INFO] Flume NG Node ..................................... SUCCESS [2.566s]
> [INFO] Flume NG file-based channel ....................... SUCCESS [2.976s]
> [INFO] Flume NG file backed Memory channel ............... SUCCESS [2.666s]
> [INFO] Flume legacy Sources .............................. SUCCESS [0.673s]
> [INFO] Flume legacy Avro source .......................... SUCCESS [2.063s]
> [INFO] Flume legacy Thrift Source ........................ SUCCESS [2.256s]
> [INFO] Flume NG Clients .................................. SUCCESS [0.657s]
> [INFO] Flume NG Log4j Appender ........................... SUCCESS [1.971s]
> [INFO] Flume NG distribution ............................. SUCCESS
> [32.970s]
> [INFO] Flume NG Integration Tests ........................ SUCCESS [2.324s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:50.773s
> [INFO] Finished at: Tue Jun 26 13:15:19 IST 2012
> [INFO] Final Memory: 75M/757M
>
>
> I am having one query here.
>
> 1. I have created two zip file below pasted the output
>
> root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist/target<javascript:_e({},
'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist/target');># ls
> -l
> total 14340
> drwxr-xr-x 2 root root     4096 2012-06-26 13:15 archive-tmp
> drwxr-xr-x 3 root root     4096 2012-06-26 13:15 docs
> -rw-r--r-- 1 root root 14193511 2012-06-26 13:15
> flume-ng-dist-1.2.0-incubating-SNAPSHOT-dist.tar.gz
> -rw-r--r-- 1 root root   464668 2012-06-26 13:15
> flume-ng-dist-1.2.0-incubating-SNAPSHOT-src.tar.gz
> drwxr-xr-x 3 root root     4096 2012-06-26 13:14
> maven-shared-archive-resources
> -rw-r--r-- 1 root root      958 2012-06-26 13:14 rat.txt
> drwxr-xr-x 5 root root     4096 2012-06-26 13:15 site
> Can you please let me know on which folder i can decompress the
> flume-ng-dist-1.2.0-incubating-SNAPSHOT-dist.tar.gz file?
>
> For reference:
>
> root@md-trngpoc1:/usr/local/flume_dir/flume <javascript:_e({}, 'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume');># ls -lrt
> total 140
> drwxr-xr-x  3 root root  4096 2012-06-26 12:57 conf
> drwxr-xr-x 19 root root  4096 2012-06-26 12:57 src
> drwxr-xr-x  4 root root  4096 2012-06-26 12:57 contrib
> drwxr-xr-x  3 root root  4096 2012-06-26 12:57 bin
> -rw-r--r--  1 root root  1997 2012-06-26 12:57 RELEASE-NOTES
> -rw-r--r--  1 root root  1433 2012-06-26 12:57 README
> -rw-r--r--  1 root root 25311 2012-06-26 12:57 pom.xml
> -rw-r--r--  1 root root   249 2012-06-26 12:57 NOTICE
> -rw-r--r--  1 root root 11358 2012-06-26 12:57 LICENSE
> drwxr-xr-x  7 root root  4096 2012-06-26 12:57 flume-ng-doc
> -rw-r--r--  1 root root   719 2012-06-26 12:57 DISCLAIMER
> -rw-r--r--  1 root root  5559 2012-06-26 12:57 DEVNOTES
> -rw-r--r--  1 root root  9952 2012-06-26 12:57 CHANGELOG
> drwxr-xr-x  5 root root  4096 2012-06-26 13:13 flume-ng-sdk
> drwxr-xr-x  7 root root  4096 2012-06-26 13:14 target
> drwxr-xr-x  5 root root  4096 2012-06-26 13:14 flume-ng-configuration
> drwxr-xr-x  5 root root  4096 2012-06-26 13:14 flume-ng-core
> drwxr-xr-x  7 root root  4096 2012-06-26 13:14 flume-ng-sinks
> drwxr-xr-x  7 root root  4096 2012-06-26 13:14 flume-ng-channels
> drwxr-xr-x  5 root root  4096 2012-06-26 13:14 flume-ng-node
> drwxr-xr-x  6 root root  4096 2012-06-26 13:14 flume-ng-legacy-sources
> drwxr-xr-x  5 root root  4096 2012-06-26 13:14 flume-ng-clients
> drwxr-xr-x  5 root root  4096 2012-06-26 13:14 flume-ng-dist
> drwxr-xr-x  5 root root  4096 2012-06-26 13:15 flume-ng-tests
> root@md-trngpoc1:/usr/local/flume_dir/flume <javascript:_e({}, 'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume');># cd flume-ng-dist
> root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist<javascript:_e({}, 'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist');># ls -lrt
> total 12
> drwxr-xr-x 4 root root 4096 2012-06-26 12:57 src
> -rw-r--r-- 1 root root 3981 2012-06-26 12:57 pom.xml
> drwxr-xr-x 6 root root 4096 2012-06-26 13:15 target
> root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist<javascript:_e({}, 'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist');># cd target
> root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist/target<javascript:_e({},
'cvml',
> 'root@md-trngpoc1:/usr/local/flume_dir/flume/flume-ng-dist/target');># ls
> -l
> total 14340
> drwxr-xr-x 2 root root     4096 2012-06-26 13:15 archive-tmp
> drwxr-xr-x 3 root root     4096 2012-06-26 13:15 docs
> -rw-r--r-- 1 root root 14193511 2012-06-26 13:15
> flume-ng-dist-1.2.0-incubating-SNAPSHOT-dist.tar.gz
> -rw-r--r-- 1 root root   464668 2012-06-26 13:15
> flume-ng-dist-1.2.0-incubating-SNAPSHOT-src.tar.gz
> drwxr-xr-x 3 root root     4096 2012-06-26 13:14
> maven-shared-archive-resources
> -rw-r--r-- 1 root root      958 2012-06-26 13:14 rat.txt
> drwxr-xr-x 5 root root     4096 2012-06-26 13:15 site
>
> Thanks,
> Vijay
>
>
> On Tue, Jun 26, 2012 at 9:31 AM, Rajesh Koilpillai <
> rajesh.koilpillai@gmail.com> wrote:
>
> Remove the contents of the folder under /org/jruby/jruby-complete/1.6.5,
> its quite possible that it download this maven artifact properly.
> Re-run your maven commands again and check to see if the downloaded file
> is really a jar and not a corrupt file.
>
> On Tue, Jun 26, 2012 at 8:38 AM, vijay k <k.vijay52@gmail.com> wrote:
>
> Can you please anyone help me on the inline issue?
>
> On Mon, Jun 25, 2012 at 7:26 PM, vijay k <k.vijay52@gmail.com> wrote:
>
> While testing the ./javadoc.sh script i am getting the following output.
>
>
> root@md-trngpoc1:/usr/local/flume_dir/flume/target/site/apidocs#
> ./javadoc.sh
> error: error reading
> /root/.m2/repository/org/jruby/jruby-complete/1.6.5/jruby-complete-1.6.5.jar;
> error in opening zip file
> Loading source files for package org.apache.flume...
> Loading source files for package org.apache.flume.api...
> Loading source files for package org.apache.flume.event...
> Loading source files for package org.apache.flume.util...
> Loading source files for package org.apache.flume.source.avro...
> Loading source files for package org.apache.flume.conf.channel...
> Loading source files for package org.apache.flume.conf...
> Loading source files for package org.apache.flume.conf.sink...
> Loading source files for package org.apache.flume.conf.source...
> Loading source files for package org.apache.flume.channel...
> Loading source files for package org.apache.flume.sink...
> Loading source files for package org.apache.flume.tools...
> Loading source files for package org.apache.flume.client.avro...
> Loading source files for package org.apache.flume.lifecycle...
> Loading source files for package org.apache.flume.interceptor...
> Loading source files for package org.apache.flume.formatter.output...
> Loading source files for package org.apache.flume.source...
> Loading source files for package org.apache.flume.serialization...
> Loading source files for package org.apache.flume.sink.hdfs...
> Loading source files for package org.apache.flume.sink.irc...
> Loading source files for package org.apache.flume.sink.hbase...
> Loading source files for package org.apache.flume.channel.jdbc...
> Loading source files for package org.apache.flume.channel.jdbc.impl...
> Loading source files for package org.apache.flume.conf.properties...
> Loading source files for package org.apache.flume.conf.file...
> Loading source files for package org.apache.flume.node...
> Loading source files for package org.apache.flume.node.nodemanager...
> Loading source files for package org.apache.flume.channel.file...
> Loading source files for package
> org.apache.flume.channel.recoverable.memory.wal...
> Loading source files for package
> org.apache.flume.channel.recoverable.memory...
> Loading source files for package org.apache.flume.source.avroLegacy...
> Loading source files for package com.cloudera.flume.handlers.avro...
> Loading source files for package com.cloudera.flume.handlers.thrift...
> Loading source files for package org.apache.flume.source.thriftLegacy...
> Loading source files for package org.apache.flume.clients.log4jappender...
> 1 error
>
>
> I have opend the jruby-complete-1.6.5.jar file and see the following
> content the .jar file.
>
>
>
> root@md-trngpoc1:/usr/local/flume_dir/flume/target/site/apidocs# more
> /root/.m2/repository/org/jruby/jruby-complete/1.6.5/jruby-complete-1.6.5.jar
> <HTML><BODY>  <h2>Attenti
>
>

Mime
View raw message