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

Specify Correct Output Format in logger when transferring records to success in SelectHiveQl Processor

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: Core Framework
    • Labels:
    • Flags:
      Patch

      Description

      Get the output Format printed in the app.log from outputFormat variable instead of hardcoding "Avro" . 

       

      Current logger.info prints :

      logger.info("{} contains {} Avro records; transferring to 'success'", new Object[]{flowfile, nrOfRows.get()});

       

      Instead It should take the outputFormat based on the option selected from the processor like CSV/AVRO.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                amittal6 Aman Mittal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: