Support Questions

Find answers, ask questions, and share your expertise

missing directories in ambari installation package

avatar
Super Collaborator

I downloaded the ambari tar ball from the following url

http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.1.0/HDP-2.6.1.0-centos6-rpm.tar.gz

untarred it at location /var/www/html/ and it created the directory structure as shown below :

if you notice it did not create a "2.x" directory under ambari/centos6/ nor did it create the "updates" folder ?

[root@hadoop1 ~]# ls /var/www/html/ambari/centos6
ambari  ambari.repo  build.id  build_metadata.txt  repodata  RPM-GPG-KEY  smartsense  tars
[root@hadoop1 ~]# cat /var/www/html/ambari/centos6/ambari.repo
#VERSION_NUMBER=2.5.1.0-159
[ambari-2.5.1.0]
name=ambari Version - ambari-2.5.1.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
1 ACCEPTED SOLUTION

avatar
Master Guru

You use either the public repo pointing to public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0 (meaning ambari.repo as you download it without any changes), or you download the tar file, untar it, and change ambari.repo so that baseurl points to http://your-apache-server/ambari/centos6 and also change gpgkey to http://your-apache-server/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins. Either should work.

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Sami Ahmad

Can you please check the following link:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation/content/hdp_26_repos...

There you will find the "md5" sum results of the Tarball. Please compare your Downloaded tarball md5 with this one to double check if you got any corrupted reppo or the correct one.

.

Tarball md5 | asc http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.1.0/HDP-2.6.1.0-centos6-rpm.tar.gz

avatar
Super Collaborator

sorry I typed the wrong download url , its actually 2.5 repository so the url I used for downloading is

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation/content/ambari_repos...

I compared the checksum and it matches.

below is the md5 file from the above site for this repository:
ambari-2.5.1.0-centos6.tar.gz: 16 73 FB 17 7B 0A 59 3E  4B 6D 56 46 FD 68 94 E9

below is the md5 checksum of the tar ball after downloading from the above url. 
[root@hadoop1 ~]# md5sum ambari-2.5.1.0-centos6.tar.gz
1673fb177b0a593e4b6d5646fd6894e9  ambari-2.5.1.0-centos6.tar.gz

can you or someone try to unzip it ? I am pretty sure you will also not see these directories.

either the document is incorrectly stating to use these directories or there is some other correct tar ball somewhere on the web .

please advise

avatar
Super Collaborator

anyone seeing this post ? need help to fix to fix this issue

avatar
Master Guru

You use either the public repo pointing to public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0 (meaning ambari.repo as you download it without any changes), or you download the tar file, untar it, and change ambari.repo so that baseurl points to http://your-apache-server/ambari/centos6 and also change gpgkey to http://your-apache-server/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins. Either should work.