You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Srikanth <sr...@gmail.com> on 2015/09/01 21:44:11 UTC

Re: GetSolr NoClassDefFoundError

Hello,

Any hint on what I'm missing here? This is with 0.2.1 out of the box.

Thanks,
Srikanth

On Sun, Aug 30, 2015 at 7:50 PM, Srikanth <sr...@gmail.com> wrote:

> Hello,
>
> I'm trying out my first dataflow using NiFi. The flow involves GetSolr ->
> LogAttributes. I ran into NoClassDefFoundError while trying this.
>
> Here is an extract from nifi-app.log
>
> 18:36:26 EDTERROR7a7692b6-a9dd-4a95-a68a-932d54774144
>> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144]
>> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144] failed to process due to
>> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser;
>> rolling back session: java.lang.NoClassDefFoundError:
>> org/apache/http/message/TokenParser
>> 2015-08-30 18:34:55,908 WARN [Timer-Driven Process Thread-7]
>> o.a.n.c.t.ContinuallyRunProcessorTask
>> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser
>>         at
>> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:280)
>> ~[httpclient-4.4.1.jar:4.4.1]
>>         at
>> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:237)
>> ~[httpclient-4.4.1.jar:4.4.1]
>
>
> Should I be manually adding certain jars to class path?
>
> A more general question, how are jars built, distributed and loaded in
> NiFi.
> Asking this mainly because of the extendable design of this project.
>
> I have to say it was super easy to get started with NiFi. Doc was well
> organized.
> I had my first visit to NiFi page y'day morning and I'm writing my first
> dataflow today evening...hit my first exception too!!
>
> Regards,
> Srikanth
>

Re: GetSolr NoClassDefFoundError

Posted by Joe Witt <jo...@gmail.com>.
Srikanth

You arent doing anything wrong.  We introduced a regression with the solr
processors.  It will be resolved in the upcoming 030 release.  It is in
testing so vote shall be soon.

Thanks
Joe
On Sep 1, 2015 2:46 PM, "Srikanth" <sr...@gmail.com> wrote:

> Hello,
>
> Any hint on what I'm missing here? This is with 0.2.1 out of the box.
>
> Thanks,
> Srikanth
>
> On Sun, Aug 30, 2015 at 7:50 PM, Srikanth <sr...@gmail.com> wrote:
>
> > Hello,
> >
> > I'm trying out my first dataflow using NiFi. The flow involves GetSolr ->
> > LogAttributes. I ran into NoClassDefFoundError while trying this.
> >
> > Here is an extract from nifi-app.log
> >
> > 18:36:26 EDTERROR7a7692b6-a9dd-4a95-a68a-932d54774144
> >> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144]
> >> GetSolr[id=7a7692b6-a9dd-4a95-a68a-932d54774144] failed to process due
> to
> >> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser;
> >> rolling back session: java.lang.NoClassDefFoundError:
> >> org/apache/http/message/TokenParser
> >> 2015-08-30 18:34:55,908 WARN [Timer-Driven Process Thread-7]
> >> o.a.n.c.t.ContinuallyRunProcessorTask
> >> java.lang.NoClassDefFoundError: org/apache/http/message/TokenParser
> >>         at
> >>
> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:280)
> >> ~[httpclient-4.4.1.jar:4.4.1]
> >>         at
> >>
> org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:237)
> >> ~[httpclient-4.4.1.jar:4.4.1]
> >
> >
> > Should I be manually adding certain jars to class path?
> >
> > A more general question, how are jars built, distributed and loaded in
> > NiFi.
> > Asking this mainly because of the extendable design of this project.
> >
> > I have to say it was super easy to get started with NiFi. Doc was well
> > organized.
> > I had my first visit to NiFi page y'day morning and I'm writing my first
> > dataflow today evening...hit my first exception too!!
> >
> > Regards,
> > Srikanth
> >
>