Controller Service not loading ERROR: The service APIs should not be bundled with the implementations.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Controller Service not loading ERROR: The service APIs should not be bundled with the implementations.

Milan Das
Hello NIFI Dev,

I am trying to add two  new controller services. Getting an error with one of the controller services. I am not sure what went wrong.

I am guessing it is pssoibly nifi jar maven dependencies scope I have added. Like nifi-hbase-client-service-api, nifi-distributed-cache-client-service-api

 

 

2018-10-29 21:35:17,614 WARN [main] org.apache.nifi.nar.ExtensionManager Controller Service com.interset.nifi.hbase.CDHHBase_ClientService is bundled with its supporting APIs com.interset.nifi.hbase.CDHHBaseClientService. The service APIs should not be bundled with the implementations.

2018-10-29 21:35:17,614 ERROR [main] org.apache.nifi.nar.ExtensionManager Skipping Controller Service com.interset.nifi.hbase.CDHHBase_ClientService because it is bundled with its supporting APIs and requires instance class loading.

2018-10-29 21:35:21,523 WARN [main] o.a.n.d.html.HtmlDocumentationWriter Could not link to com.interset.nifi.hbase.CDHHBase_ClientService because no bundles were found

 

 

Thanks,

Milan Das

 

Reply | Threaded
Open this post in threaded view
|

Re: Controller Service not loading ERROR: The service APIs should not be bundled with the implementations.

Koji Kawamura-2
Hi Milan,

I assume you put both of the ControllerServices interface and
implementation classes into the same NAR file.
You need to separate those into different NARs.
Please refer nifi-standard-services-api-nar (interfaces) and
nifi-distributed-cache-client-sevices-nar (implementations).

Thanks,
Koji
On Tue, Oct 30, 2018 at 10:51 AM Milan Das <[hidden email]> wrote:

>
> Hello NIFI Dev,
>
> I am trying to add two  new controller services. Getting an error with one of the controller services. I am not sure what went wrong.
>
> I am guessing it is pssoibly nifi jar maven dependencies scope I have added. Like nifi-hbase-client-service-api, nifi-distributed-cache-client-service-api
>
>
>
>
>
> 2018-10-29 21:35:17,614 WARN [main] org.apache.nifi.nar.ExtensionManager Controller Service com.interset.nifi.hbase.CDHHBase_ClientService is bundled with its supporting APIs com.interset.nifi.hbase.CDHHBaseClientService. The service APIs should not be bundled with the implementations.
>
> 2018-10-29 21:35:17,614 ERROR [main] org.apache.nifi.nar.ExtensionManager Skipping Controller Service com.interset.nifi.hbase.CDHHBase_ClientService because it is bundled with its supporting APIs and requires instance class loading.
>
> 2018-10-29 21:35:21,523 WARN [main] o.a.n.d.html.HtmlDocumentationWriter Could not link to com.interset.nifi.hbase.CDHHBase_ClientService because no bundles were found
>
>
>
>
>
> Thanks,
>
> Milan Das
>
>
>