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

Nadeem commented on NIFI-8401:
------------------------------

 

[~ERD] The issue is related to what [~mattyb149] has reported already NIFI-8400

Hopefully, will be fixed in 1.14.0. Thanks for the issue.

> o.apache.nifi.controller.FlowController Failed to capture component stats for 
> Stats History on Windows Systems
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-8401
>                 URL: https://issues.apache.org/jira/browse/NIFI-8401
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.13.2
>         Environment: Windows 10
> Windows Server 2019
>            Reporter: Eric Detwiler
>            Priority: Major
>
> 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)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to