Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-29-2016 05:14 PM
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
Created 03-30-2016 03:14 PM
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.
Created 03-29-2016 05:35 PM
If your cluster is Ambari managed then use Ambari to install Ranger
Created 03-30-2016 12:18 AM
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).
Created 03-30-2016 03:14 PM
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.
Created 06-08-2016 06:03 PM
@Kuldeep Kulkarni Can you help here with blueprints installation for ranger.