Support Questions

Find answers, ask questions, and share your expertise

after tar -zxvf ambari-2.1.2.1-centos6.tar.gz, I dont have ambari.repo file, why?

avatar
Expert Contributor

I am trying to install HDP ambari without internet access, according to

https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_ambari_repos...

I downloaded the tarball file to /var/www/http from following URL

tar -zxvf ambari-2.1.2.1-centos6.tar.gz, -- this step create some subdirs and files, but I dont see the ambari.repo file on server at all.

according to HDP doc, after untar, ambari.repo needs to move to /etc/yum/repo.d directory. so I stuck here.

Please help.

1 ACCEPTED SOLUTION

avatar

step 1) Run below command to untar:

go to files location and run below command :

tar zxvf ambari-2.1.2.1-centos6.tar.gz -C /var/www/html/

tar zxvf HDP-2.3.2.0-centos6-rpm.tar.gz -C /var/www/html/

Follow link to set up local Repo link

All the best.:)

View solution in original post

7 REPLIES 7

avatar

@Robin Dong

Here is some additional info

Ambari repo link:

------------------

wget http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.1.2.1/ambari-2.1.2.1-centos6.tar.g...

HDP2.3.2.0 repo link:

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

as you know that if you don't have internet and trying to install on Multiple nodes first you need to setup local repository/copy files in all the nodes.. ensure that latest files/repos are showing across the cluster.

Note: If you install ambari2.1.2.1 we have to go with HDP2.3.2.0 . if you are looking for HDP2.3.4 you have to install Ambari2.2.0 or later.

We cann't install HDP2.3.4 with Ambari2.1.2.1

avatar
Expert Contributor

Thankyou Divakar. I do download exact tarball you provided above, however, according to HDP doc at following URL

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Installing_HDP_AMB/bk_Installing_HDP_AMB-...

it says,

b. Untar the repository tarballs to the following locations: where , , , , and represent the name, home directory, operating system type, version, and most recent release version, respectively.

Untar Locations for a Local Repository - No Internet Access

----------------------------------------------------------------------------

Repository Content Repository Location

Ambari Repository Untar under <web.server.directory>

---------------------------------------------------------------------------------

I just could not find any ambari repository file after untar.

I do download HDP-2.3.2.0 with ambari 2.1.2.1. and I can find repo files for HDP and HDP_UTIL after untar. thank you for mention that too.

thanks,

avatar
Expert Contributor

Thankyou Divakar. I do download exact tarball you provided above, however, according to HDP doc at following URL

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Installing_HDP_AMB/bk_Installing_HDP_AMB-...

it says,

b. Untar the repository tarballs to the following locations: where , , , , and represent the name, home directory, operating system type, version, and most recent release version, respectively.

Untar Locations for a Local Repository - No Internet Access

----------------------------------------------------------------------------

Repository Content Repository Location

Ambari Repository Untar under <web.server.directory>

---------------------------------------------------------------------------------

I just could not find any ambari repository file after untar.

I do download HDP-2.3.2.0 with ambari 2.1.2.1. and I can find repo files for HDP and HDP_UTIL after untar. thank you for mention that too.

thanks,

avatar
Expert Contributor

Neeraj, this link you provided here --

https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_obtaining_th...

got an error:

[root@ip-172-31-62-67 html]# wget https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_obtaining_th... --2016-03-05 22:58:28-- https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_obtaining_th... Resolving docs.hortonworks.com... 54.230.193.145, 54.230.193.190, 54.230.193.214, ... Connecting to docs.hortonworks.com|54.230.193.145|:443... connected. OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Unable to establish SSL connection.

please help.

thank you,

Robin

avatar

step 1) Run below command to untar:

go to files location and run below command :

tar zxvf ambari-2.1.2.1-centos6.tar.gz -C /var/www/html/

tar zxvf HDP-2.3.2.0-centos6-rpm.tar.gz -C /var/www/html/

Follow link to set up local Repo link

All the best.:)

avatar
Expert Contributor

thank you all, I have to download the ambari.repo file separately in this case -- without internet access. now I am done with ambari setup and start.