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.

Problem with Apache Ranger Kms

Highlighted

Problem with Apache Ranger Kms

New Contributor
4 REPLIES 4

Re: Problem with Apache Ranger Kms

Expert Contributor

@Aitor Osa

The last line of your stederr states that Ranger service is not started on the host. Do you have your Ranger service running?

File "/var/lib/ambari-agent/cache/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/kms.py", line 274, in enable_kms_plugin
    raise Fail('Ranger service is not started on given host')   
resource_management.core.exceptions.Fail: Ranger service is not started on given host

You can view the status / start / stop services from Ambari directly

Re: Problem with Apache Ranger Kms

New Contributor

Apache Ranger is running , with HDFS, ZooKeeper and Ambari Metrics, and no one of them has warnings :s

Re: Problem with Apache Ranger Kms

New Contributor

Re: Problem with Apache Ranger Kms

@Aitor Osa

Can you please check value for below properties -

-- 'ranger.externalurl' in 'ranger-admin-site.xml' -- 'ranger.service.host' in 'ranger-kms-site.xml' The value of 'ranger.externalurl' needs to include 'http://'. For example, 'http://ranger.admin.url:6080'.

While the value of 'ranger.service.host' needs to exclude 'http://'. For example, 'ranger.admin.url:6080'.

Don't have an account?
Coming from Hortonworks? Activate your account here