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

o.apache.nifi.controller.FlowController Failed to capture component stats for Stats History on Windows Systems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.13.2
    • None
    • Configuration
    • None
    • Windows 10
      Windows Server 2019

    Description

      1.13.2 on Windows systems does not capture stats for Stats History by default.  Error log below:

      Also located issue mentioned in post from March 2021.

      https://community.cloudera.com/t5/Support-Questions/ERROR-FlowController-Failed-to-capture-component-stats-for/td-p/312486

      Status History as a result does not function.

       

      2021-04-02 07:56:00,013 INFO [pool-20-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile Repository
      2021-04-02 07:56:00,014 INFO [pool-20-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile Repository with 0 records in 0 milliseconds
      2021-04-02 07:56:17,311 ERROR [Timer-Driven Process Thread-7] o.apache.nifi.controller.FlowController Failed to capture component stats for Stats History
      java.lang.NullPointerException: null
      at org.apache.nifi.diagnostics.SystemDiagnostics.getOpenFileHandles(SystemDiagnostics.java:224)
      at org.apache.nifi.controller.FlowController.getNodeStatusSnapshot(FlowController.java:3011)
      at org.apache.nifi.controller.FlowController.access$400(FlowController.java:230)
      at org.apache.nifi.controller.FlowController$2.run(FlowController.java:697)
      at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ERD Eric Detwiler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: