Created 05-04-2021 12:45 AM
Ranger Installation fails as ranger fileset is missing in the repo.
I dont see any ranger-admin package in the repository
https:/archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/ranger/
raise RuntimeError(message) RuntimeError: Failed to execute command '/usr/bin/yum -y install ranger_3_1_4_0_315-admin', exited with code '1', message: 'https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/ranger/ranger_3_1_4_0_315-admin-1.2.0.3.1...: [Errno 14] Error 404 - The requested URL returned error: 404 Not Found Trying other mirror. To address this issue please refer to the below knowledge base article
Created 05-04-2021 04:50 AM
Hi @PrernaU ,
Is it an existing cluster on which you're trying to install Ranger recently or it's a fresh cluster installation?
Thanks,
Megh
Created 05-04-2021 05:10 AM
Its an existing cluster where I am trying to add Ranger
Created 05-04-2021 06:30 AM
Recently all the online repos (CDH, CDP and HDP) have been moved behind paywall, so if you have an active subscription with Cloudera, you can check with your account manager to get the credentials to access the repository. If you don't have a subscription, the only way to install new components is to install through local repository if you have downloaded the same earlier.
Thanks,
Megh
Created 05-04-2021 06:55 AM
I do have access and I dont see Ranger admin there below is the o/p from repo
Parent Directory | ||
ranger_3_1_4_0_315-hbase-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 43.36MB |
ranger_3_1_4_0_315-hdfs-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 56.41MB |
ranger_3_1_4_0_315-hive-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 41.71MB |
ranger_3_1_4_0_315-kafka-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 75.58MB |
ranger_3_1_4_0_315-kms-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 89.63MB |
ranger_3_1_4_0_315-knox-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 54.30MB |
ranger_3_1_4_0_315-solr-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 45.02MB |
ranger_3_1_4_0_315-storm-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 80.28MB |
ranger_3_1_4_0_315-tagsync-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 31.15MB |
ranger_3_1_4_0_315-usersync-1.2.0.3.1.4.0-315.ppc64le.rpm | 2021-01-18 14:33 | 14.94MB |
ranger_3_1_4_0_315-yarn-plugin-1.2.0.3.1.4.0-315.ppc64le.rpm |
Created 05-04-2021 07:07 AM
Created 05-04-2021 07:26 AM
Okay, I think I understood your problem completely now.
in https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/artifacts.txt , ranger-admin package is mentioned under ranger directory but in the actual directory it is not present.
In this case, I think someone from Cloudera only can help you with the required package.
Thanks,
Megh
Created 05-04-2021 07:32 AM
Also, check this https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7-ppc/tars/ranger/
You can find a tar file of ranger-admin package here. Maybe you can download this tar.gz and configure it in a local repository and use if possible (Just a workaround though).
Thanks,
Megh
Created 05-04-2021 10:03 AM
Thanks @vidanimegh
I dont see any rpms in the ranger-1.2.0.3.1.4.0-315-admin.tar.gz file .
I think there is no option to use this with YUM for install are you suggesting that I use the install scripts.
Below is the o/p after untaring the file.
# ls -ls
total 320
0 drwxr-xr-x 2 cecuser users 107 Aug 23 2019 bin
8 -r-xr--r-- 1 cecuser users 4288 Aug 23 2019 changepasswordutil.py
8 -r-xr--r-- 1 cecuser users 5126 Aug 23 2019 changeusernameutil.py
0 drwxrwxrwx 4 cecuser users 60 Aug 23 2019 contrib
0 drwxr-xr-x 3 root root 17 May 4 12:57 cred
0 drwxrwxrwx 7 cecuser users 85 Aug 23 2019 db
88 -r-xr--r-- 1 cecuser users 89153 Aug 23 2019 dba_script.py
64 -r-xr--r-- 1 cecuser users 64379 Aug 23 2019 db_setup.py
12 -r-xr--r-- 1 cecuser users 9876 Aug 23 2019 deleteUserGroupUtil.py
0 drwxrwxrwx 5 cecuser users 165 Aug 23 2019 ews
12 -rwx------ 1 cecuser users 8555 Aug 23 2019 install.properties
0 drwxr-xr-x 3 root root 17 May 4 12:57 jisql
4 -r-xr--r-- 1 cecuser users 3054 Aug 23 2019 ranger_credential_helper.py
20 -r-xr--r-- 1 cecuser users 17900 Aug 23 2019 restrict_permissions.py
8 -r-xr--r-- 1 cecuser users 6480 Aug 23 2019 rolebasedusersearchutil.py
4 -r-xr--r-- 1 cecuser users 3936 Aug 23 2019 set_globals.sh
4 -r-xr--r-- 1 cecuser users 2855 Aug 23 2019 setup_authentication.sh
60 -r-xr--r-- 1 cecuser users 59989 Aug 23 2019 setup.sh
0 drwxr-xr-x 2 root root 70 May 4 12:57 templates-upgrade
4 -r-xr--r-- 1 cecuser users 1920 Aug 23 2019 update_property.py
16 -r-xr--r-- 1 cecuser users 13281 Aug 23 2019 upgrade_admin.py
4 -r-xr--r-- 1 cecuser users 1247 Aug 23 2019 upgrade.sh
4 -r--r--r-- 1 cecuser users 17 Aug 23 2019 version
Created 05-04-2021 10:12 PM
Ohh okay. In my environment, Downloads are restricted so I couldn't verify.
Strangely, there is no overall tar.gz file for all the packages in centos7-ppc (like there is one for centos7).
I think the best way forward for you would be to raise a support case with Cloudera to get this package.
Thanks,
Megh