[ 
https://issues.apache.org/jira/browse/NIFI-6577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915602#comment-16915602
 ] 

sanjiv kumar commented on NIFI-6577:
------------------------------------

Hi David,
I tried to keep everything on same process group , but still I am getting that 
error

 

{{SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/share/nifi-1.8.0/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/share/nififn/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/share/nififn/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type 
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
Exception in thread "main" java.lang.IllegalArgumentException: context is not 
valid: 'AWS Credentials Provider service' validated against 
'1bf2e043-50c8-3166-ac84-d0f0d7b59ba0' is invalid because Controller Service 
with ID 1bf2e043-50c8-3166-ac84-d0f0d7b59ba0 is not enabled
'' is invalid because Controller service 1bf2e043-50c8-3166-ac84-d0f0d7b59ba0 
for  is not enabled
        at 
org.apache.nifi.fn.core.FnProcessorWrapper.initialize(FnProcessorWrapper.java:125)
        at 
org.apache.nifi.fn.core.FnProcessorWrapper.runRecursive(FnProcessorWrapper.java:136)
        at org.apache.nifi.fn.core.FnFlow.runOnce(FnFlow.java:201)
        at org.apache.nifi.fn.runtimes.Program.main(Program.java:104)}}

{{}}

{{I can attached fe screen shot}}

{{}}

{{}}

Could you please guide me If I am doing some mistake ...?

{{}}

Note : When I ran from NiFi Dashboard , It gave me the result what I expected .

{{}}

Regards,
sanjiv

{{}}

{{}}

{{}}

{{}}

{{}}

{{}}

> Controller Services are not getting committed while committing job-flow 
> (associated with existing job) into NiFi Registry
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-6577
>                 URL: https://issues.apache.org/jira/browse/NIFI-6577
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: sanjiv kumar
>            Priority: Major
>              Labels: nifi-registry
>         Attachments: Screen Shot 2019-08-26 at 2.03.24 PM.png, Screen Shot 
> 2019-08-26 at 2.03.41 PM.png
>
>
>  have written simple job which do the file listing from S3 , related to that 
> , I have attached controller services (AWS Credentials Provider service) 
> which generally contains AWS credentials stuff . I thought while committing 
> Job into NiFi-Registry those services should also be a part of that , but It 
> seems that is not the case . I am getting exception below
>  
> {{kubectl logs nififn-sample-job-pfrn4 -n nifi-fn-operator-system
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/usr/share/nifi-1.8.0/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/share/nififn/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/usr/share/nififn/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> SLF4J: Actual binding is of type 
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> Exception in thread "main" java.lang.IllegalArgumentException: context is not 
> valid: 'AWS Credentials Provider service' validated against 
> 'b7f1e9d1-9ba8-321c-8c7c-31dab0ef0161' is invalid because Property references 
> a Controller Service that does not exist
> 'AWS Credentials Provider service' validated against 
> 'b7f1e9d1-9ba8-321c-8c7c-31dab0ef0161' is invalid because Invalid Controller 
> Service: b7f1e9d1-9ba8-321c-8c7c-31dab0ef0161 is not a valid Controller 
> Service Identifier
>       at 
> org.apache.nifi.fn.core.FnProcessorWrapper.initialize(FnProcessorWrapper.java:125)
>       at 
> org.apache.nifi.fn.core.FnProcessorWrapper.runRecursive(FnProcessorWrapper.java:136)
>       at org.apache.nifi.fn.core.FnFlow.runOnce(FnFlow.java:201)
>       at org.apache.nifi.fn.runtimes.Program.main(Program.java:104)}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to