You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "endzeit (Jira)" <ji...@apache.org> on 2023/07/14 20:37:00 UTC
[jira] [Commented] (NIFI-8128) RedisDistributedMapCacheClientService doesn't work with password protected sentinel
[ https://issues.apache.org/jira/browse/NIFI-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743285#comment-17743285 ]
endzeit commented on NIFI-8128:
-------------------------------
I just opened the pull-request [#7481|https://github.com/apache/nifi/pull/7481] which should resolve this issue by allowing an optional Sentinel password to be provided.
> RedisDistributedMapCacheClientService doesn't work with password protected sentinel
> -----------------------------------------------------------------------------------
>
> Key: NIFI-8128
> URL: https://issues.apache.org/jira/browse/NIFI-8128
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.11.4
> Reporter: DEOM Damien
> Assignee: endzeit
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
>
> RedisDistributedMapCacheClientService doesn't work with password protected sentinel .
> Standalone mode with password works fine.
> Removing password in sentinel solves the issue
>
>
> NB: if redis has authentification, Nifi expects the password to be that of redis, not that of sentinel
> If redis has pwd but not sentinel, and no pwd is specified in nifi, we get this message:
>
> {{org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool}}
>
> If both redis and sentinel have the same pwd, we get this message:
>
> {{ failed to process session due to All sentinels down, cannot determine where is mymaster master is running...; Processor Administratively Yielded for 1 sec: redis.clients.jedis.exceptions.JedisConnectionException: All sentinels down, cannot determine where is mymaster master is running...}}
>
> The documentation should be updated to facilitate the establishment of a working, secured cluster.
>
> Original discussion
> [https://stackoverflow.com/questions/65412299/nifi-redis-sentinel-integration]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)