Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6577

Controller Services are not getting committed while committing job-flow (associated with existing job) into NiFi Registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

       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)}}

      Attachments

        1. Screen Shot 2019-08-26 at 2.03.24 PM.png
          96 kB
          sanjiv kumar
        2. Screen Shot 2019-08-26 at 2.03.41 PM.png
          519 kB
          sanjiv kumar

        Activity

          People

            Unassigned Unassigned
            sanjiv1980 sanjiv kumar
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: