[ 
https://issues.apache.org/jira/browse/RANGER-3942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767893#comment-17767893
 ] 

Erplus commented on RANGER-3942:
--------------------------------

I found a working solution on cloduera forum: 
[https://community.cloudera.com/t5/Support-Questions/Ranger-HDFS-plug-in-error-No-common-protection-layer-between/m-p/159668/highlight/true#M122057]
 

??For HA configuration to work, need to add the below properties in repo config 
(I.e. additional entries in the advanced section). They can be copied from 
hdfs-site.xml.??
{code:java}
dfs.nameservices = <ha_name>
dfs.ha.namenodes.<ha_name> = <nn1,nn2>
dfs.namenode.rpc-address.<nn1> = <nn1_host:8020>
dfs.namenode.rpc-address.<nn2> = <nn2_host:8020>
dfs.client.failover.proxy.provider.<nn2> = 
org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider{code}

> HA for HDFS service with active-standby namenodes works wrong
> -------------------------------------------------------------
>
>                 Key: RANGER-3942
>                 URL: https://issues.apache.org/jira/browse/RANGER-3942
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, Ranger
>    Affects Versions: 2.3.0
>            Reporter: Erplus
>            Priority: Minor
>
> When i create HDFS service in ranger admin based on Hadoop cluster with 2 
> namenodes (1 active, 1 standby - not secondary!) and i select the second 
> option (HA): [https://ibb.co/XC41DHc] then i have got an error: 
> [https://ibb.co/qjfJzd4] 
> For me it's a bug. I fill addres same as it is written in help description. 



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

Reply via email to