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

For each Processor in the canvas we end up with 4 instances of such Processor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.4.0
    • None
    • Core Framework
    • None

    Description

      Also, 4 calls to Processor.initialize(..) method are made
      Can't imagine it to be intentional.

      The first call is during documentation setup and is done even when the processor is not in the canvas.
      For each subsequent call see stack trace below:

      GenerateFlowFile.init(ProcessorInitializationContext) line: 97	
      GenerateFlowFile(AbstractSessionFactoryProcessor).initialize(ProcessorInitializationContext) line: 58	
      FlowController.instantiateProcessor(String, String) line: 908	
      FlowController.createProcessor(String, String, boolean) line: 869	
      FingerprintFactory.addFlowFileProcessorFingerprint(StringBuilder, Element, FlowController) line: 481	
      FingerprintFactory.addProcessGroupFingerprint(StringBuilder, Element, FlowController) line: 402	
      FingerprintFactory.addFlowControllerFingerprint(StringBuilder, Element, FlowController) line: 247	
      FingerprintFactory.createFingerprint(Document, FlowController) line: 174	
      FingerprintFactory.createFingerprint(byte[], FlowController) line: 134	
      StandardFlowSynchronizer.checkFlowInheritability(byte[], byte[], FlowController) line: 1059	
      . . .
      
      GenerateFlowFile.init(ProcessorInitializationContext) line: 97	
      GenerateFlowFile(AbstractSessionFactoryProcessor).initialize(ProcessorInitializationContext) line: 58	
      FlowController.instantiateProcessor(String, String) line: 908	
      FlowController.createProcessor(String, String, boolean) line: 869	
      FingerprintFactory.addFlowFileProcessorFingerprint(StringBuilder, Element, FlowController) line: 481	
      FingerprintFactory.addProcessGroupFingerprint(StringBuilder, Element, FlowController) line: 402	
      FingerprintFactory.addFlowControllerFingerprint(StringBuilder, Element, FlowController) line: 247	
      FingerprintFactory.createFingerprint(Document, FlowController) line: 174	
      FingerprintFactory.createFingerprint(byte[], FlowController) line: 134	
      StandardFlowSynchronizer.checkFlowInheritability(byte[], byte[], FlowController) line: 1068
      . . .
      
      GenerateFlowFile.init(ProcessorInitializationContext) line: 97	
      GenerateFlowFile(AbstractSessionFactoryProcessor).initialize(ProcessorInitializationContext) line: 58	
      FlowController.instantiateProcessor(String, String) line: 908	
      FlowController.createProcessor(String, String, boolean) line: 869	
      StandardFlowSynchronizer.addProcessGroup(FlowController, ProcessGroup, Element, StringEncryptor) line: 774
      . . .
      

      Attachments

        Issue Links

          Activity

            People

              ozhurakousky Oleg Zhurakousky
              ozhurakousky Oleg Zhurakousky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: