Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ranger KMS : connection failed on "test connection" button

Highlighted

Ranger KMS : connection failed on "test connection" button

New Contributor

Hello,

In Kerberized environments, i installed ranger KMS.

ranger.service.https.attrib.ssl.enabled = false

But while running a test connection for the service: i'm getting :

Connection Failed.
Unable to retrieve any files using given parameters, You can still save the repository and start creating policies, but you would not be able to use autocomplete for resource names. Check ranger_admin.log for more info.

org.apache.ranger.plugin.client.HadoopException: {
"RemoteException" : {
"message" : "User:ranger not allowed to do 'GET_KEYS'",
"exception" : "AuthorizationException",
"javaClassName" : "org.apache.hadoop.security.authorize.AuthorizationException"
}
}.
{
"RemoteException" : {
"message" : "User:ranger not allowed to do 'GET_KEYS'",
"exception" : "AuthorizationException",
"javaClassName" : "org.apache.hadoop.security.authorize.AuthorizationException"
}
}.

Cluster is Kerberized/LDAP (freeIPA).

Not sure what to do then,

Thanks for your help,

1 REPLY 1

Re: Ranger KMS : connection failed on "test connection" button

Super Mentor

@ranya triki

Can you please check the core-site configuration inside the Ambari UI to verify if you have setup the ranger kms proxyusers properly or not?

hadoop.proxyuser.kms.users=*
hadoop.proxyuser.kms.hosts=*
hadoop.proxyuser.kms.groups=*

And then restart ranger KMS + HDFS services.