Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Flume >> mail # user >> Flume NG 1.3 snapshot


Copy link to this message
-
Flume NG 1.3 snapshot
I build 1.3 NG snapshot and took the
apache-flume-1.3.0-SNAPSHOT-dist.tar.gz .When I run flume-ng I get the
following exception. Did I miss anything here?

 # bin/flume-ng node -n webanalytics -f conf/flume-conf.properties
Warning: The "node" command is deprecated. Please use "agent" instead.
Warning: No configuration directory set! Use --conf <dir> to override.
Warning: JAVA_HOME is not set!
Info: Including Hadoop libraries found via
(/usr/local/flume/hadoop-0.20.2/bin/hadoop) for HDFS access
Info: Excluding
/usr/local/flume/hadoop-0.20.2/bin/../lib/slf4j-api-1.4.3.jar from classpath
Info: Excluding
/usr/local/flume/hadoop-0.20.2/bin/../lib/slf4j-log4j12-1.4.3.jar from
classpath
+ exec /usr/bin/java -Xmx20m -cp
'/usr/local/flume/lib/*:/usr/local/flume/hadoop-0.20.2/conf:/usr/java/jdk1.6.0_25/lib/tools.jar:/usr/local/flume/hadoop-0.20.2/bin/..:/usr/local/flume/hadoop-0.20.2/bin/../hadoop*core*.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/aspectjrt-1.6.5.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/aspectjtools-1.6.5.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-cli-1.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-codec-1.4.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-daemon-1.0.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-el-1.0.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-httpclient-3.0.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-logging-1.0.4.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-logging-api-1.0.4.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/commons-net-1.4.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/core-3.1.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/eval-0.5.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/guava-11.0.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hadoop-0.20.2-dev-capacity-scheduler.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hadoop-0.20.2-dev-core.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hadoop-0.20.2-dev-fairscheduler.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hadoop-lzo-0.4.4.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hadoop-snappy-0.0.1-SNAPSHOT.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/hsqldb-1.8.0.10.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jackson-core-asl-1.5.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jackson-mapper-asl-1.5.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jasper-compiler-5.5.12.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jasper-runtime-5.5.12.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jets3t-0.6.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jetty-6.1.14.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jetty-servlet-tester-6.1.14.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jetty-util-6.1.14.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/junit-4.5.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/kfs-0.2.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/log4j-1.2.15.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/logging-0.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/maprfs-0.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/maprfs-test-0.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/mockito-all-1.8.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/mysql-connector-java-5.0.8-bin.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/oro-2.0.8.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/servlet-api-2.5-6.1.14.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/xmlenc-0.52.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/zookeeper-3.3.2.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jsp-2.1/jsp-2.1.jar:/usr/local/flume/hadoop-0.20.2/bin/../lib/jsp-2.1/jsp-api-2.1.jar'
-Djava.library.path= org.apache.flume.node.Application -n webanalytics -f
conf/flume-conf.properties
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/flume/node/Application
Caused by: java.lang.ClassNotFoundException:
org.apache.flume.node.Application
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.apache.flume.node.Application.  Program
will exit.
+
Mohit Anchlia 2012-09-06, 00:27
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB