Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

upgrade hdp2.2 to hdp2.3.0.0

avatar
Guru

Team,

I am upgrading one of my cluster and following given url(http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_upgrading_Ambari/content/_upgrading_hdp_s...) also with Local Repository with No Internet Access.

I have downloaded tar and setup local repository as well. I am able to setup HDP Base URL but not able to setup HDP-UTILS Base URL. getting following error.

http://w3.hdp22/hdp/HDP/centos6/2.x/updates/2.3.0.0/

Index of /hdp/HDP/centos6/2.x/updates/2.3.0.0

[ICO>NameLast modifiedSizeDescription
[DIR>Parent Directory
[DIR>RPM-GPG-KEY/17-Jul-2015 14:58
[DIR>accumulo/17-Jul-2015 14:58
[DIR>atlas/17-Jul-2015 14:58
[DIR>bigtop-jsvc/17-Jul-2015 14:58
[DIR>bigtop-tomcat/17-Jul-2015 14:58
[   >build.id17-Jul-2015 14:58

Error: http://w3.hdp22/hdp/HDP-UTILS-1.1.0.20/repos/centos6

Not Found

The requested URL /hdp/HDP-UTILS-1.1.0.20/repos/centos6 was not found on this server.


Apache/2.2.15 (CentOS) Server at w3.hdp22 Port 80.So can you please help me to set it up.
1 ACCEPTED SOLUTION

avatar
Rising Star

@Saurabh

Looks like the HDP-UTILS repo path is incorrect. I see an additonal "/hdp/" in your path

The UTILS repo for CentOS6 is at: http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6

The UTILS tar file is at: http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar...

Check this link for more

View solution in original post

3 REPLIES 3

avatar
Rising Star

@Saurabh

Looks like the HDP-UTILS repo path is incorrect. I see an additonal "/hdp/" in your path

The UTILS repo for CentOS6 is at: http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6

The UTILS tar file is at: http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar...

Check this link for more

avatar
Guru

@vsharmaThansk for your reply.

But it was not an issue with /hdp/ dir. As it was working fine for HDP Base repo. http://w3.hdp22/hdp/HDP/centos6/2.x/updates/2.3.0.0/ Actually I forgot to copy HDP-UTILS file to this location (/var/www/html/hdp). Once I copied it then it started working and I have successfully upgraded my hdp stack as well.

[root@w3 hdp]# ll

total 8

drwxr-xr-x 3 root root 4096 Oct 4 07:48 HDP

drwxr-xr-x 3 ambari-qa users 4096 Dec 3 2015 HDP-UTILS-1.1.0.20

http://w3.hdp22/hdp/HDP-UTILS-1.1.0.20/repos/centos6/

Index of /hdp/HDP-UTILS-1.1.0.20/repos/centos6

avatar
Rising Star

Glad that you got it working!