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

Switch to Plain View
Flume, mail # user - flume-ng script error...


+
Dan Young 2012-11-15, 16:10
+
Brock Noland 2012-11-15, 16:53
+
Dan Young 2012-11-15, 17:03
+
Alexander Alten-Lorenz 2012-11-15, 17:02
Copy link to this message
-
Re: flume-ng script error...
Dan Young 2012-11-15, 17:04
I'm sym linking the flume dir...let me nuke the old one......and retry...

Dano
On Thu, Nov 15, 2012 at 10:02 AM, Alexander Alten-Lorenz <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> sounds like you have other jars in path (previous installations?), which
> mess up your new build. Do you have tried to start the new one from a
> different directory?
>
> cheers
> - Alex
>
>
>
> On Nov 15, 2012, at 5:10 PM, Dan Young <[EMAIL PROTECTED]> wrote:
>
> > 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
>
> --
> Alexander Alten-Lorenz
> http://mapredit.blogspot.com
> German Hadoop LinkedIn Group: http://goo.gl/N8pCF
>
>
+
Dan Young 2012-11-15, 17:06
+
Brock Noland 2012-11-15, 17:08
+
Dan Young 2012-11-15, 17:16
+
Brock Noland 2012-11-15, 17:33
+
Dan Young 2012-11-15, 18:00