Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> flume-ng script error...


Copy link to this message
-
flume-ng script error...
I'm testing the spooling directory source in 1.3.  Last night I did a git
pull/mvn install on the 1.3 branch, and now I'm getting the following error
when I run /bin/flume-ng

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/flume/tools/GetJavaProperty
Caused by: java.lang.ClassNotFoundException:
org.apache.flume.tools.GetJavaProperty
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)

I did a diff on the previous flume-ng script, copied it over and ran
bin/flume-ng without any such error.  Here's the diff

diff flume-ng flume-ng.PREVIOUS
74c74
<         java.library.path)
---
>         java.library.path 2>/dev/null)
93c93
<     HADOOP_CLASSPATH=$($HADOOP_IN_PATH classpath)
---
>     HADOOP_CLASSPATH=$($HADOOP_IN_PATH classpath 2>/dev/null)
123c123
<         java.library.path)
---
>         java.library.path 2>/dev/null)
142c142
<     HBASE_CLASSPATH=$($HBASE_IN_PATH classpath)
---
>     HBASE_CLASSPATH=$($HBASE_IN_PATH classpath 2>/dev/null)
Regards,

Dano