nifi/nifi-nar-bundles/nifi-standard-services/nifi-distributed-cache-serv.../nifi-distributed-cache-server/src
Mark Owens 701597775f NIFI-1547: DistributedMapCacheServer: Ambiguous error on
misconfiguration

Updated PersistentMapCache constructor in PersistentMapCache.java to
catch an OverlappingFileLockException and present a more useful error
message before propagating the exception forward. The log message alerts
user to possible duplicated persistencePath in call to
PersistentMapCache.

Created a test method to verify the exception is thrown as expected.

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #2192
2017-10-05 16:44:43 -04:00
..
main NIFI-1547: DistributedMapCacheServer: Ambiguous error on 2017-10-05 16:44:43 -04:00
test NIFI-1547: DistributedMapCacheServer: Ambiguous error on 2017-10-05 16:44:43 -04:00