Brandon DeVries created NIFI-1547:
-------------------------------------

             Summary: DistributedMapCacheServer: Ambiguous error on 
misconfiguration
                 Key: NIFI-1547
                 URL: https://issues.apache.org/jira/browse/NIFI-1547
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Brandon DeVries
            Priority: Minor


If a DistributedMapCacheServer's "Persistence Directory" is set to the same 
location as another DistributedMapCacheServer (or another controller service 
with a  "Persistence Directory") only one will enable successfully.  The 
other(s) will get an OverlappingFileLockException.  Consider catching this 
exception \[1\] and providing additional information (e.g. check the lock 
location /  "Persistence Directory").

\[1\] 
https://github.com/apache/nifi/blob/31fba6b3332978ca2f6a1d693f6053d719fb9daa/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/map/PersistentMapCache.java#L44



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to