[
https://issues.apache.org/jira/browse/NIFI-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
DEOM Damien updated NIFI-8128:
------------------------------
Description:
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, seured cluster.
Original discussion
[https://stackoverflow.com/questions/65412299/nifi-redis-sentinel-integration]
was:
RedisDistributedMapCacheClientService doesn't work with password protected
sentinel .
Standalone mode with password works fine.
Removing password in sentinel solves the issue
[https://stackoverflow.com/questions/65412299/nifi-redis-sentinel-integration]
NB: if redis has authentification, Nifi expects the password to be that of
redis, not that of sentinel
> 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
> Priority: Minor
>
>
> 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, seured cluster.
>
> Original discussion
> [https://stackoverflow.com/questions/65412299/nifi-redis-sentinel-integration]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)