[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flume-user
Subject:    Re: Some dependencies can not be found in 1.5.0 release
From:       César Monteserín <cmonteserin () stratio ! com>
Date:       2014-05-29 14:54:28
Message-ID: CAFYwQEkFDrVRsrWL0uBvbyFEbuX1U=fkwdxuj_q48FUcrAQFEQ () mail ! gmail ! com
[Download RAW message or body]

It is good to know that,

thank you!


2014-05-28 20:45 GMT+02:00 Wolfgang Hoschek <whoschek@cloudera.com>:

> There is no backwards incompatible change in the code regardless of
> whether it's kite 0.10 or 0.11 or 0.12 or 0.13 or 0.14. The dependencies
> have been made "optional" in
> flume-ng-sinks/flume-ng-morphline-solr-sink/pom.xml via
> <optional>true</optional>, thus the dependencies don't ship automatically
> with the build.
> 
> Here is a flume-centric way of getting hold of all the jars:
> https://groups.google.com/a/cloudera.org/d/msg/cdk-dev/7T4pTebdWN4/sBHGkoS70LkJ
> 
> Wolfgang.
> 
> On May 28, 2014, at 12:11 PM, Iván Fernández Perea <
> ivan.fernandez.perea@gmail.com> wrote:
> 
> > It seems that flume has updated kite to 0.12 version
> > http://flume.apache.org/releases/1.5.0.html
> > https://issues.apache.org/jira/browse/FLUME-2345
> > 
> > So flume doesnt use lastest kite version and probably does not use this
> class anymore org/kitesdk/morphline/api/Command. What kite version are you
> using?
> > 
> > Regards
> > 
> > 
> > 2014-05-28 10:47 GMT+02:00 César Monteserín <cmonteserin@stratio.com>:
> > Hi Iván,
> > 
> > the MorphlineInterceptor class belongs to the Solr sink that comes with
> flume.
> > 
> > If I add the Kite, Metrics and Config dependencies, the
> NoClassDefFoundError error dissappears. However, I did not have to add any
> dependency in the previous version.
> > 
> > Thank you.
> > 
> > 
> > 2014-05-28 10:04 GMT+02:00 Iván Fernández Perea <
> ivan.fernandez.perea@gmail.com>:
> > 
> > Hi Cesar,
> > 
> > check if ou have MorphlineInterceptor within your flume classpath
> (FLUME_CLASSPATH variable in flume-env.sh file)
> > 
> > 
> > 
> > 
> > 2014-05-28 9:55 GMT+02:00 César Monteserín <cmonteserin@stratio.com>:
> > 
> > Hi,
> > 
> > I am getting the following error:
> > 
> > [ERROR -
> org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:145)]
>  Failed to start agent because dependencies were not found in classpath.
> Error follows.
> > java.lang.NoClassDefFoundError: org/kitesdk/morphline/api/Command
> > at
> org.apache.flume.sink.solr.morphline.MorphlineInterceptor.<init>(MorphlineInterceptor.java:55)
> 
> > at
> org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder.build(MorphlineInterceptor.java:112)
> 
> > at
> org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder.build(MorphlineInterceptor.java:103)
> 
> > at
> org.apache.flume.channel.ChannelProcessor.configureInterceptors(ChannelProcessor.java:111)
> 
> > at
> org.apache.flume.channel.ChannelProcessor.configure(ChannelProcessor.java:80)
> > at
> org.apache.flume.conf.Configurables.configure(Configurables.java:41)
> > at
> org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:353)
> 
> > ...
> > 
> > The configuration of the morphline interceptor is:
> > 
> > agent.sources.spoolSource.interceptors = morphlineinterceptor
> > agent.sources.spoolSource.interceptors.morphlineinterceptor.type =
> org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder
> > 
> agent.sources.spoolSource.interceptors.morphlineinterceptor.morphlineFile =
> {morphline_file}
> > agent.sources.spoolSource.interceptors.morphlineinterceptor.morphlineId
> = morphline1
> > 
> > Thanks in advance
> > 
> > 
> > 2014-05-28 5:11 GMT+02:00 Otis Gospodnetic <otis.gospodnetic@gmail.com>:
> > 
> > Hi,
> > 
> > Maybe you can provide some more information about errors you are seeing
> when you do ____ and somebody may be able to help.
> > 
> > Otis
> > --
> > Performance Monitoring * Log Analytics * Search Analytics
> > Solr & Elasticsearch Support * http://sematext.com/
> > 
> > 
> > On Mon, May 26, 2014 at 7:23 AM, César Monteserín <
> cmonteserin@stratio.com> wrote:
> > Hi,
> > 
> > I am trying to use a morphline interceptor with no success.
> > The same configuration works with the previous version, the 1.4.0.
> > 
> > It seems that several dependencies can not be found such as Kite,
> Metrics and Config.
> > 
> > Could you take a look at it?
> > 
> > Thank you
> > 
> > 
> > 
> > 
> > 
> > --
> > Visit my blog:
> > http://java4developers.com/
> > 
> > 
> > 
> > 
> > --
> > Visit my blog:
> > http://java4developers.com/
> 
> 


[Attachment #3 (text/html)]

<div dir="ltr">It is good to know that,<br><br>thank you!<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2014-05-28 20:45 GMT+02:00 \
Wolfgang Hoschek <span dir="ltr">&lt;<a href="mailto:whoschek@cloudera.com" \
target="_blank">whoschek@cloudera.com</a>&gt;</span>:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">There is no backwards incompatible change in the code \
regardless of whether it&#39;s kite 0.10 or 0.11 or 0.12 or 0.13 or 0.14. The \
dependencies have been made "optional" in \
flume-ng-sinks/flume-ng-morphline-solr-sink/pom.xml via \
&lt;optional&gt;true&lt;/optional&gt;, thus the dependencies don't ship automatically \
with the build.<br>

<br>
Here is a flume-centric way of getting hold of all the jars: <a \
href="https://groups.google.com/a/cloudera.org/d/msg/cdk-dev/7T4pTebdWN4/sBHGkoS70LkJ" \
target="_blank">https://groups.google.com/a/cloudera.org/d/msg/cdk-dev/7T4pTebdWN4/sBHGkoS70LkJ</a><br>


<span class="HOEnZb"><font color="#888888"><br>
Wolfgang.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On May 28, 2014, at 12:11 PM, Iván Fernández Perea &lt;<a \
href="mailto:ivan.fernandez.perea@gmail.com">ivan.fernandez.perea@gmail.com</a>&gt; \
wrote:<br> <br>
&gt; It seems that flume has updated kite to 0.12 version<br>
&gt; <a href="http://flume.apache.org/releases/1.5.0.html" \
target="_blank">http://flume.apache.org/releases/1.5.0.html</a><br> &gt; <a \
href="https://issues.apache.org/jira/browse/FLUME-2345" \
target="_blank">https://issues.apache.org/jira/browse/FLUME-2345</a><br> &gt;<br>
&gt; So flume doesnt use lastest kite version and probably does not use this class \
anymore org/kitesdk/morphline/api/Command. What kite version are you using?<br> \
&gt;<br> &gt; Regards<br>
&gt;<br>
&gt;<br>
&gt; 2014-05-28 10:47 GMT+02:00 César Monteserín &lt;<a \
href="mailto:cmonteserin@stratio.com">cmonteserin@stratio.com</a>&gt;:<br> &gt; Hi \
Iván,<br> &gt;<br>
&gt; the MorphlineInterceptor class belongs to the Solr sink that comes with \
flume.<br> &gt;<br>
&gt; If I add the Kite, Metrics and Config dependencies, the NoClassDefFoundError \
error dissappears. However, I did not have to add any dependency in the previous \
version.<br> &gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt;<br>
&gt; 2014-05-28 10:04 GMT+02:00 Iván Fernández Perea &lt;<a \
href="mailto:ivan.fernandez.perea@gmail.com">ivan.fernandez.perea@gmail.com</a>&gt;:<br>
 &gt;<br>
&gt; Hi Cesar,<br>
&gt;<br>
&gt; check if ou have MorphlineInterceptor within your flume classpath \
(FLUME_CLASSPATH variable in flume-env.sh file)<br> &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2014-05-28 9:55 GMT+02:00 César Monteserín &lt;<a \
href="mailto:cmonteserin@stratio.com">cmonteserin@stratio.com</a>&gt;:<br> &gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am getting the following error:<br>
&gt;<br>
&gt; [ERROR - org.apache.flume.node.PollingPropertiesFileConfigurationProvider$FileWatcherRunnable.run(PollingPropertiesFileConfigurationProvider.java:145)] \
Failed to start agent because dependencies were not found in classpath. Error \
follows.<br>

&gt; java.lang.NoClassDefFoundError: org/kitesdk/morphline/api/Command<br>
&gt;       at org.apache.flume.sink.solr.morphline.MorphlineInterceptor.&lt;init&gt;(MorphlineInterceptor.java:55)<br>
 &gt;       at org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder.build(MorphlineInterceptor.java:112)<br>
 &gt;       at org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder.build(MorphlineInterceptor.java:103)<br>
 &gt;       at org.apache.flume.channel.ChannelProcessor.configureInterceptors(ChannelProcessor.java:111)<br>
 &gt;       at org.apache.flume.channel.ChannelProcessor.configure(ChannelProcessor.java:80)<br>
 &gt;       at org.apache.flume.conf.Configurables.configure(Configurables.java:41)<br>
 &gt;       at org.apache.flume.node.AbstractConfigurationProvider.loadSources(AbstractConfigurationProvider.java:353)<br>
 &gt;       ...<br>
&gt;<br>
&gt; The configuration of the morphline interceptor is:<br>
&gt;<br>
&gt; agent.sources.spoolSource.interceptors = morphlineinterceptor<br>
&gt; agent.sources.spoolSource.interceptors.morphlineinterceptor.type = \
org.apache.flume.sink.solr.morphline.MorphlineInterceptor$Builder<br> &gt; \
agent.sources.spoolSource.interceptors.morphlineinterceptor.morphlineFile = \
{morphline_file}<br> &gt; \
agent.sources.spoolSource.interceptors.morphlineinterceptor.morphlineId = \
morphline1<br> &gt;<br>
&gt; Thanks in advance<br>
&gt;<br>
&gt;<br>
&gt; 2014-05-28 5:11 GMT+02:00 Otis Gospodnetic &lt;<a \
href="mailto:otis.gospodnetic@gmail.com">otis.gospodnetic@gmail.com</a>&gt;:<br> \
&gt;<br> &gt; Hi,<br>
&gt;<br>
&gt; Maybe you can provide some more information about errors you are seeing when you \
do ____ and somebody may be able to help.<br> &gt;<br>
&gt; Otis<br>
&gt; --<br>
&gt; Performance Monitoring * Log Analytics * Search Analytics<br>
&gt; Solr &amp; Elasticsearch Support * <a href="http://sematext.com/" \
target="_blank">http://sematext.com/</a><br> &gt;<br>
&gt;<br>
&gt; On Mon, May 26, 2014 at 7:23 AM, César Monteserín &lt;<a \
href="mailto:cmonteserin@stratio.com">cmonteserin@stratio.com</a>&gt; wrote:<br> &gt; \
Hi,<br> &gt;<br>
&gt; I am trying to use a morphline interceptor with no success.<br>
&gt; The same configuration works with the previous version, the 1.4.0.<br>
&gt;<br>
&gt; It seems that several dependencies can not be found such as Kite, Metrics and \
Config.<br> &gt;<br>
&gt; Could you take a look at it?<br>
&gt;<br>
&gt; Thank you<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Visit my blog:<br>
&gt; <a href="http://java4developers.com/" \
target="_blank">http://java4developers.com/</a><br> &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Visit my blog:<br>
&gt; <a href="http://java4developers.com/" \
target="_blank">http://java4developers.com/</a><br> <br>
</div></div></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic