Skip to main content
Sam2020
Silver ⭐️⭐️
Jul 14, 2021 5:56 AM UTC
Solved

cloudera-manager-installer.bin fails in redhat-7 with openjdk issue

I am trying to install Cloudera in AWS for test purposes and the first obstacle I ran into was when I tried to run the cloudera-manager-installer.bin which I downloaded from https://archive.cloudera.com/p/cm7/7.3.1/cloudera-manager-installer.bin.

 

The problem is that when you run this it fails with "

https://archive.cloudera.com/cm7/7.3.1/redhat7/yum/repodata/repomd.xml: [Errno 14]  Error 404 - The requested URL returned error: 404 Not Found" and this seems like a bug because the file is there but in a diff location ie https://archive.cloudera.com/p/cm7/7.3.1/redhat7/yum/repodata/repomd.xml (please note the "p" in working link . 

 

How do we fix this ? Looks like installer is looking in wrong location ? 

GangWar
GangWarAnswer
Platinum ⭐️⭐️
Jul 15, 2021 10:32 AM UTC

@Sam2020 This is because Cloudera recently changed the download policy and now to download Cloudera Software you need a valid subscription. 

Please see the announcement here: Transition to private repositories for CDH, HDP and HDF

This is because of recent changes with respect to Paywall. Same has been answered in below thread :

https://community.cloudera.com/t5/Support-Questions/http-public-repo-1-hortonworks-com-ambari-centos...

 

One solution would be to download the installed (Trial version from here) 

$ wget https://archive.cloudera.com/cm7/7.1.4/cloudera-manager-installer.bin
$ chmod u+x cloudera-manager-installer.bin
$ sudo ./cloudera-manager-installer.bin

For more details on Trial see: https://www.cloudera.com/downloads/cdp-private-cloud-trial.html

Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.

9 replies

GangWar
Platinum ⭐️⭐️
GangWarAnswer
Platinum ⭐️⭐️
Jul 15, 2021 10:32 AM UTC

@Sam2020 This is because Cloudera recently changed the download policy and now to download Cloudera Software you need a valid subscription. 

Please see the announcement here: Transition to private repositories for CDH, HDP and HDF

This is because of recent changes with respect to Paywall. Same has been answered in below thread :

https://community.cloudera.com/t5/Support-Questions/http-public-repo-1-hortonworks-com-ambari-centos...

 

One solution would be to download the installed (Trial version from here) 

$ wget https://archive.cloudera.com/cm7/7.1.4/cloudera-manager-installer.bin
$ chmod u+x cloudera-manager-installer.bin
$ sudo ./cloudera-manager-installer.bin

For more details on Trial see: https://www.cloudera.com/downloads/cdp-private-cloud-trial.html

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
Sam2020
Sam2020Author
Silver ⭐️⭐️
Aug 14, 2021 7:16 PM UTC

My apologies for not responding faster but that did not help . It still fails when you run the installer after a couple of steps with JDK issues . 

more 2.install-openjdk8.log

Loaded plugins: amazon-id, search-disabled-repos

https://archive.cloudera.com/cm7/7.3.1/redhat7/yum/repodata/repomd.xml: [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

 

https://access.redhat.com/articles/1320623

 

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

 

 

 

One of the configured repositories failed (Cloudera Manager),

and yum doesn't have enough cached data to continue. At this point the only

safe thing yum can do is fail. There are a few ways to work "fix" this:

 

     1. Contact the upstream for the repository and get them to fix the problem.

 

     2. Reconfigure the baseurl/etc. for the repository, to point to a working

        upstream. This is most often useful if you are using a newer

        distribution release than is supported by the repository (and the

        packages for the previous distribution release still work).

 

     3. Run the command with the repository temporarily disabled

            yum --disablerepo=cloudera-manager ...

 

     4. Disable the repository permanently, so yum won't use it by default. Yum

        will then just ignore the repository until you permanently enable it

        again or use --enablerepo for temporary usage:

 

            yum-config-manager --disable cloudera-manager

        or

            subscription-manager repos --disable=cloudera-manager

 

Translate
truonala
Gold ⭐️
Gold ⭐️
Aug 14, 2021 7:25 PM UTC

The error indicates it is trying to install the software from https://archive.cloudera.com/cm7/7.3.1/   this directory does not exist anymore.

It should be looking in https://archive.cloudera.com/p/cm7/7.3.1/ 

What is the command you used to start the cloudera-manager-installer.bin file?

Don't type any usernames or passwords.  Are you typing something like this:

 

sudo ./cloudera-manager-installer.bin --username=USERNAME --password=PASSWORD

 

Translate
truonala
Gold ⭐️
Gold ⭐️
Aug 6, 2021 7:00 PM UTC

@Sam2020   How did you download the file?   To download from behind the paywall /p/ you would need to use your username/password.

wget https://USERNAME:PASSWORD@archive.cloudera.com/p/cm7/7.3.1/cloudera-manager-installer.bin

use the same username/password to run the executable.

sudo ./cloudera-manager-installer.bin --username=USERNAME --password=PASSWORD

 

  (I will enter a jira to investigate this misleading message)

 

If you do not have  a username and password, the open archive location as @GangWar pointed out is where you can get the trial version.

That location should have the latest released version only of CM7 for you to download and install.  So as of today CM7.4.4 should be available.

@GangWar   Thank you for the links to the trial information.  It is indicating to download an older version and not the latest version.  I will enter a jira to investigate that also.

 

Translate
VidyaSargur
Community Manager
Community Manager
Aug 10, 2021 7:36 AM UTC

@Sam2020, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.