flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From César Monteserín <cmontese...@stratio.com>
Subject Re: Some dependencies can not be found in 1.5.0 release
Date Wed, 28 May 2014 08:47:00 GMT
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/
>

Mime
View raw message