nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud G <greatpat...@gmail.com>
Subject Re: VolatileProvenanceRepository problem with 1.2?
Date Fri, 12 May 2017 08:52:05 GMT
Hi Pierre,

You pinpointed it, it was the trailing white space that I left with my
copy/paste... I didn't think about it.

Thank you very much!

On Fri, May 12, 2017 at 10:36 AM, Pierre Villard <
pierre.villard.fr@gmail.com> wrote:

> Hi Arnaud,
>
> I just tried to switch to the volatile provenance repository and didn't
> get any issue.
>
> I think it could be because of a whitespace at the end:
>
> *The specified implementation class
> 'org.apache.nifi.provenance.VolatileProvenanceRepository ' is not known to
> this nifi.*
>
> If that's the issue we could probably trim the property before using it.
>
> Pierre.
>
>
> 2017-05-12 10:27 GMT+02:00 Arnaud G <greatpatton@gmail.com>:
>
>> Hi all!
>>
>>
>> I was trying to solve an issue regarding the slowing down of the
>> provenance repository by switching to the volatile storage as documented in
>> the documention and in various mailing list topics.
>>
>>
>> However when I changed the configuration to:
>>
>>
>>
>> *nifi.provenance.repository.**implementation=org.apache.**nifi.pr
>> <http://nifi.pr>ovenance.**VolatileProvenanceRepository*
>>
>>
>>
>>
>>
>> I received:
>>
>>
>> *Caused by: java.lang.RuntimeException: Unable to create Provenance
>> Repository*
>>
>> *        at
>> org.apache.nifi.controller.FlowController.<init>(FlowController.java:472)*
>>
>> *        at
>> org.apache.nifi.controller.FlowController.createClusteredInstance(FlowController.java:416)*
>>
>> *        at
>> org.apache.nifi.spring.FlowControllerFactoryBean.getObject(FlowControllerFactoryBean.java:61)*
>>
>> *        at
>> org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)*
>>
>> *        ... 41 common frames omitted*
>>
>> *Caused by: java.lang.RuntimeException: java.lang.IllegalStateException:
>> The specified implementation class
>> 'org.apache.nifi.provenance.VolatileProvenanceRepository ' is not known to
>> this nifi.*
>>
>> *        at
>> org.apache.nifi.controller.FlowController.createProvenanceRepository(FlowController.java:869)*
>>
>> *        at
>> org.apache.nifi.controller.FlowController.<init>(FlowController.java:469)*
>>
>> *        ... 44 common frames omitted*
>>
>> *Caused by: java.lang.IllegalStateException: The specified implementation
>> class 'org.apache.nifi.provenance.VolatileProvenanceRepository ' is not
>> known to this nifi.*
>>
>> *        at
>> org.apache.nifi.nar.NarThreadContextClassLoader.createInstance(NarThreadContextClassLoader.java:195)*
>>
>> *        at
>> org.apache.nifi.controller.FlowController.createProvenanceRepository(FlowController.java:867)*
>>
>>
>>
>> *         ... 45 common frames omitted*
>> I'm running the official 1.2 build.
>>
>> Thanks!
>>
>> Arnaud
>>
>
>

Mime
View raw message