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-admin, ranger-kms, ranger-usersysnc directories not present

Solved Go to solution
Highlighted

ranger-admin, ranger-kms, ranger-usersysnc directories not present

Contributor

HDP 2.3.x cluster

ranger-admin directory not present, while installing ranger 0.5 by using the command "yum install ranger-admin"

ranger0.4 –

Command - sudo yum install ranger-admin

The ranger-admin directory is getting created as below:

[ec2-user@ip- ~]$ cd /usr/hdp/current/ranger-admin/

[ec2-user@ip- ranger-admin]$ ls -lt

total 96

drwxr-xr-x. 2 root root 4096 Mar 29 06:25 unixauth-config

...... many more files

Ranger0.5 –

Command - sudo yum install ranger-admin

The ranger directory was not created. Instead saw a symbolic link.

cd /usr/hdp/current

[ec2-user@da current]$ ls -lt ranger*

lrwxrwxrwx. 1 root root 34 Mar 29 05:12 ranger-admin -> /usr/hdp/2.3.4.0-3485/ranger-admin

lrwxrwxrwx. 1 root root 32 Mar 29 05:12 ranger-kms -> /usr/hdp/2.3.4.0-3485/ranger-kms

lrwxrwxrwx. 1 root root 37 Mar 29 05:12 ranger-usersync -> /usr/hdp/2.3.4.0-3485/ranger-usersync

If we list the link /usr/hdp/2.3.4.0-3485/, ranger-admin directory is not found

[ec2-user@da current]$ ls -lt /usr/hdp/2.3.4.0-3485/

total 40

drwxr-xr-x. 11 root root 4096 Mar 29 05:12 hadoop

drwxr-xr-x. 7 root root 4096 Mar 29 05:12 zookeeper

drwxr-xr-x. 5 root root 4096 Mar 29 05:11 hadoop-httpfs

drwxr-xr-x. 8 root root 4096 Mar 29 05:11 etc

drwxr-xr-x. 4 root root 4096 Mar 29 05:11 usr

drwxr-xr-x. 7 root root 4096 Mar 29 05:11 hadoop-hdfs

drwxr-xr-x. 6 root root 4096 Mar 29 05:10 hadoop-mapreduce

drwxr-xr-x. 6 root root 4096 Mar 29 05:09 hadoop-yarn

drwxr-xr-x. 4 root root 4096 Mar 29 05:09 ranger-hdfs-plugin

drwxr-xr-x. 4 root root 4096 Mar 29 05:08 ranger-yarn-plugin

ranger-admin directory is not there.

Thanks,

Mohana Murali

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: ranger-admin, ranger-kms, ranger-usersysnc directories not present

Hi @Mohana Murali Gurunathan - you really should use Ambari, as it will make your life significantly easier when managing your Ranger installation.

If you choose to continue with the non-Ambari installation, please follow our documentation in full: here

As you can see, you have to do

yum install ranger_<version>

and usersync, kms and the plugins are all separate components which need to be installed.

View solution in original post

4 REPLIES 4

Re: ranger-admin, ranger-kms, ranger-usersysnc directories not present

Expert Contributor

If your cluster is Ambari managed then use Ambari to install Ranger

Highlighted

Re: ranger-admin, ranger-kms, ranger-usersysnc directories not present

Contributor

Rahul, the cluster is managed by Ambari. Infact, the cluster is created using Ambari blueprints. But using Ambari blueprint, we could not install Ranger. - https://bugs.launchpad.net/sahara/+bug/1496527

we would like to automate the installation of Ranger. So, we tried yum-install ranger-admin (for a HDP 2.3 cluster) and we were not able to taste success that we had with ranger 0.4 (for a HDP 2.2 cluster).

Highlighted

Re: ranger-admin, ranger-kms, ranger-usersysnc directories not present

Hi @Mohana Murali Gurunathan - you really should use Ambari, as it will make your life significantly easier when managing your Ranger installation.

If you choose to continue with the non-Ambari installation, please follow our documentation in full: here

As you can see, you have to do

yum install ranger_<version>

and usersync, kms and the plugins are all separate components which need to be installed.

View solution in original post

Highlighted

Re: ranger-admin, ranger-kms, ranger-usersysnc directories not present

@Kuldeep Kulkarni Can you help here with blueprints installation for ranger.

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