[ 
https://issues.apache.org/jira/browse/NIFI-11580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael W Moser updated NIFI-11580:
-----------------------------------
    Status: Patch Available  (was: Open)

> NiFi does not stop timely when using DistributedMapCacheClient and Server
> -------------------------------------------------------------------------
>
>                 Key: NIFI-11580
>                 URL: https://issues.apache.org/jira/browse/NIFI-11580
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.21.0
>            Reporter: Michael W Moser
>            Assignee: Michael W Moser
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When using a DistributedMapCacheClientService and DistributedMapCacheServer, 
> and the DistributedMapCacheClientService has been enabled, then NiFi does not 
> stop within the graceful.shutdown.seconds period and has to be killed.  It 
> would be nice to clean this up.
> I setup a DistributedMapCacheClientService and DistributedMapCacheServer to 
> talk to each other, enabled both, then disabled 
> DistributedMapCacheClientService.  I stopped NiFi and it was killed after 20 
> seconds instead of stopping in 2 or 3 seconds.
> 2023-05-22 18:33:25,575 INFO [main] org.apache.nifi.bootstrap.Command Apache 
> NiFi has accepted the Shutdown Command and is shutting down now
> ...
> 2023-05-22 18:33:45,713 INFO [main] org.apache.nifi.bootstrap.Command NiFi 
> PID [15127] shutdown in progress...
> 2023-05-22 18:33:45,720 WARN [main] org.apache.nifi.bootstrap.Command NiFi 
> PID [15127] shutdown not completed after 20 seconds: Killing process
> 2023-05-22 18:33:45,728 INFO [main] org.apache.nifi.bootstrap.Command NiFi 
> PID [15127] shutdown completed
> This was mentioned in a PR for NIFI-10232 
> (https://github.com/apache/nifi/pull/6221)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to