Support Questions

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

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

avatar
Explorer

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 ? 

1 ACCEPTED SOLUTION

avatar
Master Guru

@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.

View solution in original post

9 REPLIES 9

avatar
Master Guru

@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.

avatar
Explorer

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

 

avatar
Super Collaborator

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

 

avatar
Explorer

I was able to use https://archive.cloudera.com/cm7/7.4.4/ instead  and it seems to go through better 

avatar
Super Collaborator

Yes, https://archive.cloudera.com/cm7/7.4.4/   has all the files in the open archive.cloudera.com location.  7.3.1 is ONLY stored behind the paywall archive.cloudera.com/p/ and you need a username/password to get to it.

 

Glad you got the latest CM7 version to work! 

 

 

avatar
Master Guru
@Sam2020 you are missing an important point here that is the Trial installation will always we available for latest software version. Since we have released CM7.4.4 last week so the error you are seeing is expected.
You have to change you repo to https://archive.cloudera.com/cm7/7.4.4/redhat7/yum/repodata/ (try accessing this from browser you will understand).
Bottom-line is if you have valid subscription you can still have 7.3.1 but if you want trial than you have to go for 7.4.4.

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.

avatar
Explorer

I have valid subscription and also have access to archive.cloudera.com . The installer fails with some repo issue 

avatar
Super Collaborator

@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.

 

avatar
Community Manager

@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. 



Regards,

Vidya Sargur,
Community Manager


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.
Learn more about the Cloudera Community: