Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ranger fails to install as ranger_3_1_4_0_315-admin filese is missing in the repo

avatar
Contributor

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

10 REPLIES 10

avatar
Expert Contributor

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

avatar
Contributor

Its an existing cluster where I am trying to add Ranger

avatar
Expert Contributor

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

avatar
Expert Contributor

Are you able to access https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7/ranger/ ?

 

Thanks,

Megh

avatar
Expert Contributor

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

avatar
Expert Contributor

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

avatar
Contributor

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

avatar
Expert Contributor

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