Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade repo for Ambari 2.4.2 #6

Open
saptak opened this issue Oct 3, 2016 · 2 comments
Open

upgrade repo for Ambari 2.4.2 #6

saptak opened this issue Oct 3, 2016 · 2 comments

Comments

@saptak
Copy link

saptak commented Oct 3, 2016

When I changed the repo to http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.2.0/hdp.repo I got the following error

saptak$ ./run.sh
Sending build context to Docker daemon 9.728 kB
Step 1 : FROM centos:6
6: Pulling from library/centos
f402e43879a8: Pull complete
Digest: sha256:f3cc24b376d42d9fd9fa914335dddee46ed7b5a2e2dd1ee6df045ce437199d79
Status: Downloaded newer image for centos:6
 ---> f07f6ca555a5
Step 2 : MAINTAINER Mingliang Liu <[email protected]>
 ---> Running in 1ea4e8799ceb
 ---> 75cde86e0b4f
Removing intermediate container 1ea4e8799ceb
Step 3 : RUN yum install -y epel-release
 ---> Running in 5fe54e8d41ef
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch             Version         Repository        Size
================================================================================
Installing:
 epel-release           noarch           6-8             extras            14 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 14 k
Installed size: 22 k
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
 Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <[email protected]>
 Package: centos-release-6-8.el6.centos.12.3.x86_64 (@CentOS/6.8)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : epel-release-6-8.noarch                                      1/1
  Verifying  : epel-release-6-8.noarch                                      1/1

Installed:
  epel-release.noarch 0:6-8

Complete!
 ---> 9a0961b73380
Removing intermediate container 5fe54e8d41ef
Step 4 : RUN yum -y update
 ---> Running in 5f767c1c44e8
Loaded plugins: fastestmirror, ovl
Setting up Update Process
Determining fastest mirrors
 * base: centos.eecs.wsu.edu
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.5ninesolutions.com
 * updates: repos.lax.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package bind-libs.x86_64 32:9.8.2-0.47.rc1.el6 will be updated
---> Package bind-libs.x86_64 32:9.8.2-0.47.rc1.el6_8.1 will be an update
---> Package bind-utils.x86_64 32:9.8.2-0.47.rc1.el6 will be updated
---> Package bind-utils.x86_64 32:9.8.2-0.47.rc1.el6_8.1 will be an update
---> Package openssl.x86_64 0:1.0.1e-48.el6_8.1 will be updated
---> Package openssl.x86_64 0:1.0.1e-48.el6_8.3 will be an update
---> Package tzdata.noarch 0:2016f-1.el6 will be updated
---> Package tzdata.noarch 0:2016g-2.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch        Version                         Repository    Size
================================================================================
Updating:
 bind-libs       x86_64      32:9.8.2-0.47.rc1.el6_8.1       updates      889 k
 bind-utils      x86_64      32:9.8.2-0.47.rc1.el6_8.1       updates      187 k
 openssl         x86_64      1.0.1e-48.el6_8.3               updates      1.5 M
 tzdata          noarch      2016g-2.el6                     updates      452 k

Transaction Summary
================================================================================
Upgrade       4 Package(s)

Total download size: 3.0 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           787 kB/s | 3.0 MB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : openssl-1.0.1e-48.el6_8.3.x86_64                             1/8
  Updating   : 32:bind-libs-9.8.2-0.47.rc1.el6_8.1.x86_64                   2/8
  Updating   : 32:bind-utils-9.8.2-0.47.rc1.el6_8.1.x86_64                  3/8
  Updating   : tzdata-2016g-2.el6.noarch                                    4/8
  Cleanup    : 32:bind-utils-9.8.2-0.47.rc1.el6.x86_64                      5/8
  Cleanup    : tzdata-2016f-1.el6.noarch                                    6/8
  Cleanup    : 32:bind-libs-9.8.2-0.47.rc1.el6.x86_64                       7/8
  Cleanup    : openssl-1.0.1e-48.el6_8.1.x86_64                             8/8
  Verifying  : 32:bind-utils-9.8.2-0.47.rc1.el6_8.1.x86_64                  1/8
  Verifying  : 32:bind-libs-9.8.2-0.47.rc1.el6_8.1.x86_64                   2/8
  Verifying  : tzdata-2016g-2.el6.noarch                                    3/8
  Verifying  : openssl-1.0.1e-48.el6_8.3.x86_64                             4/8
  Verifying  : 32:bind-libs-9.8.2-0.47.rc1.el6.x86_64                       5/8
  Verifying  : 32:bind-utils-9.8.2-0.47.rc1.el6.x86_64                      6/8
  Verifying  : tzdata-2016f-1.el6.noarch                                    7/8
  Verifying  : openssl-1.0.1e-48.el6_8.1.x86_64                             8/8

Updated:
  bind-libs.x86_64 32:9.8.2-0.47.rc1.el6_8.1
  bind-utils.x86_64 32:9.8.2-0.47.rc1.el6_8.1
  openssl.x86_64 0:1.0.1e-48.el6_8.3
  tzdata.noarch 0:2016g-2.el6

Complete!
 ---> 111bc959f0eb
Removing intermediate container 5f767c1c44e8
Step 5 : RUN yum install -y wget ntp sudo
 ---> Running in 45db9f7ca001
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.eecs.wsu.edu
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.5ninesolutions.com
 * updates: repos.lax.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package ntp.x86_64 0:4.2.6p5-10.el6.centos.1 will be installed
--> Processing Dependency: ntpdate = 4.2.6p5-10.el6.centos.1 for package: ntp-4.2.6p5-10.el6.centos.1.x86_64
--> Processing Dependency: /sbin/service for package: ntp-4.2.6p5-10.el6.centos.1.x86_64
--> Processing Dependency: libedit.so.0()(64bit) for package: ntp-4.2.6p5-10.el6.centos.1.x86_64
---> Package sudo.x86_64 0:1.8.6p3-24.el6 will be installed
---> Package wget.x86_64 0:1.12-8.el6 will be installed
--> Running transaction check
---> Package initscripts.x86_64 0:9.03.53-1.el6.centos.1 will be installed
--> Processing Dependency: util-linux-ng >= 2.16 for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: udev >= 125-1 for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: sysvinit-tools >= 2.87-6 for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: plymouth for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: /sbin/pidof for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: /sbin/ip for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: /sbin/blkid for package: initscripts-9.03.53-1.el6.centos.1.x86_64
--> Processing Dependency: /sbin/arping for package: initscripts-9.03.53-1.el6.centos.1.x86_64
---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed
---> Package ntpdate.x86_64 0:4.2.6p5-10.el6.centos.1 will be installed
--> Running transaction check
---> Package iproute.x86_64 0:2.6.32-54.el6 will be installed
--> Processing Dependency: iptables >= 1.4.5 for package: iproute-2.6.32-54.el6.x86_64
--> Processing Dependency: libxtables.so.4()(64bit) for package: iproute-2.6.32-54.el6.x86_64
---> Package iputils.x86_64 0:20071127-21.el6 will be installed
---> Package plymouth.x86_64 0:0.8.3-27.el6.centos.1 will be installed
--> Processing Dependency: system-logos for package: plymouth-0.8.3-27.el6.centos.1.x86_64
--> Processing Dependency: libdrm_radeon.so.1()(64bit) for package: plymouth-0.8.3-27.el6.centos.1.x86_64
--> Processing Dependency: libdrm_nouveau.so.1()(64bit) for package: plymouth-0.8.3-27.el6.centos.1.x86_64
--> Processing Dependency: libdrm_intel.so.1()(64bit) for package: plymouth-0.8.3-27.el6.centos.1.x86_64
--> Processing Dependency: libdrm.so.2()(64bit) for package: plymouth-0.8.3-27.el6.centos.1.x86_64
---> Package sysvinit-tools.x86_64 0:2.87-6.dsf.el6 will be installed
---> Package udev.x86_64 0:147-2.73.el6_8.2 will be installed
--> Processing Dependency: hwdata for package: udev-147-2.73.el6_8.2.x86_64
---> Package util-linux-ng.x86_64 0:2.17.2-12.24.el6 will be installed
--> Running transaction check
---> Package hwdata.noarch 0:0.233-16.1.el6 will be installed
---> Package iptables.x86_64 0:1.4.7-16.el6 will be installed
--> Processing Dependency: policycoreutils for package: iptables-1.4.7-16.el6.x86_64
---> Package libdrm.x86_64 0:2.4.65-2.el6 will be installed
--> Processing Dependency: libpciaccess.so.0()(64bit) for package: libdrm-2.4.65-2.el6.x86_64
---> Package redhat-logos.noarch 0:60.0.14-12.el6.centos will be installed
--> Running transaction check
---> Package libpciaccess.x86_64 0:0.13.4-1.el6 will be installed
---> Package policycoreutils.x86_64 0:2.0.83-29.el6 will be installed
--> Processing Dependency: libdbus-glib-1.so.2()(64bit) for package: policycoreutils-2.0.83-29.el6.x86_64
--> Running transaction check
---> Package dbus-glib.x86_64 0:0.86-6.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch       Version                       Repository   Size
================================================================================
Installing:
 ntp                 x86_64     4.2.6p5-10.el6.centos.1       updates     598 k
 sudo                x86_64     1.8.6p3-24.el6                base        710 k
 wget                x86_64     1.12-8.el6                    base        484 k
Installing for dependencies:
 dbus-glib           x86_64     0.86-6.el6                    base        170 k
 hwdata              noarch     0.233-16.1.el6                base        1.3 M
 initscripts         x86_64     9.03.53-1.el6.centos.1        updates     947 k
 iproute             x86_64     2.6.32-54.el6                 base        389 k
 iptables            x86_64     1.4.7-16.el6                  base        254 k
 iputils             x86_64     20071127-21.el6               base        120 k
 libdrm              x86_64     2.4.65-2.el6                  base        136 k
 libedit             x86_64     2.11-4.20080712cvs.1.el6      base         74 k
 libpciaccess        x86_64     0.13.4-1.el6                  base         24 k
 ntpdate             x86_64     4.2.6p5-10.el6.centos.1       updates      78 k
 plymouth            x86_64     0.8.3-27.el6.centos.1         base         89 k
 policycoreutils     x86_64     2.0.83-29.el6                 base        663 k
 redhat-logos        noarch     60.0.14-12.el6.centos         base         15 M
 sysvinit-tools      x86_64     2.87-6.dsf.el6                base         60 k
 udev                x86_64     147-2.73.el6_8.2              updates     358 k
 util-linux-ng       x86_64     2.17.2-12.24.el6              base        1.6 M

Transaction Summary
================================================================================
Install      19 Package(s)

Total download size: 22 M
Installed size: 45 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.0 MB/s |  22 MB     00:07
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : hwdata-0.233-16.1.el6.noarch                                1/19
  Installing : sysvinit-tools-2.87-6.dsf.el6.x86_64                        2/19
  Installing : libpciaccess-0.13.4-1.el6.x86_64                            3/19
  Installing : dbus-glib-0.86-6.el6.x86_64                                 4/19
  Installing : redhat-logos-60.0.14-12.el6.centos.noarch                   5/19
  Installing : policycoreutils-2.0.83-29.el6.x86_64                        6/19
  Installing : iptables-1.4.7-16.el6.x86_64                                7/19
  Installing : iproute-2.6.32-54.el6.x86_64                                8/19
  Installing : libdrm-2.4.65-2.el6.x86_64                                  9/19
  Installing : plymouth-0.8.3-27.el6.centos.1.x86_64                      10/19
  Installing : iputils-20071127-21.el6.x86_64                             11/19
  Installing : util-linux-ng-2.17.2-12.24.el6.x86_64                      12/19
install-info: No such file or directory for /usr/share/info/ipc.info
  Installing : initscripts-9.03.53-1.el6.centos.1.x86_64                  13/19
  Installing : udev-147-2.73.el6_8.2.x86_64                               14/19
  Installing : ntpdate-4.2.6p5-10.el6.centos.1.x86_64                     15/19
  Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64                    16/19
  Installing : ntp-4.2.6p5-10.el6.centos.1.x86_64                         17/19
  Installing : wget-1.12-8.el6.x86_64                                     18/19
install-info: No such file or directory for /usr/share/info/wget.info.gz
  Installing : sudo-1.8.6p3-24.el6.x86_64                                 19/19
  Verifying  : sudo-1.8.6p3-24.el6.x86_64                                  1/19
  Verifying  : iptables-1.4.7-16.el6.x86_64                                2/19
  Verifying  : plymouth-0.8.3-27.el6.centos.1.x86_64                       3/19
  Verifying  : libedit-2.11-4.20080712cvs.1.el6.x86_64                     4/19
  Verifying  : ntp-4.2.6p5-10.el6.centos.1.x86_64                          5/19
  Verifying  : redhat-logos-60.0.14-12.el6.centos.noarch                   6/19
  Verifying  : udev-147-2.73.el6_8.2.x86_64                                7/19
  Verifying  : iproute-2.6.32-54.el6.x86_64                                8/19
  Verifying  : iputils-20071127-21.el6.x86_64                              9/19
  Verifying  : libpciaccess-0.13.4-1.el6.x86_64                           10/19
  Verifying  : initscripts-9.03.53-1.el6.centos.1.x86_64                  11/19
  Verifying  : sysvinit-tools-2.87-6.dsf.el6.x86_64                       12/19
  Verifying  : util-linux-ng-2.17.2-12.24.el6.x86_64                      13/19
  Verifying  : policycoreutils-2.0.83-29.el6.x86_64                       14/19
  Verifying  : wget-1.12-8.el6.x86_64                                     15/19
  Verifying  : ntpdate-4.2.6p5-10.el6.centos.1.x86_64                     16/19
  Verifying  : dbus-glib-0.86-6.el6.x86_64                                17/19
  Verifying  : libdrm-2.4.65-2.el6.x86_64                                 18/19
  Verifying  : hwdata-0.233-16.1.el6.noarch                               19/19

Installed:
  ntp.x86_64 0:4.2.6p5-10.el6.centos.1       sudo.x86_64 0:1.8.6p3-24.el6
  wget.x86_64 0:1.12-8.el6

Dependency Installed:
  dbus-glib.x86_64 0:0.86-6.el6
  hwdata.noarch 0:0.233-16.1.el6
  initscripts.x86_64 0:9.03.53-1.el6.centos.1
  iproute.x86_64 0:2.6.32-54.el6
  iptables.x86_64 0:1.4.7-16.el6
  iputils.x86_64 0:20071127-21.el6
  libdrm.x86_64 0:2.4.65-2.el6
  libedit.x86_64 0:2.11-4.20080712cvs.1.el6
  libpciaccess.x86_64 0:0.13.4-1.el6
  ntpdate.x86_64 0:4.2.6p5-10.el6.centos.1
  plymouth.x86_64 0:0.8.3-27.el6.centos.1
  policycoreutils.x86_64 0:2.0.83-29.el6
  redhat-logos.noarch 0:60.0.14-12.el6.centos
  sysvinit-tools.x86_64 0:2.87-6.dsf.el6
  udev.x86_64 0:147-2.73.el6_8.2
  util-linux-ng.x86_64 0:2.17.2-12.24.el6

Complete!
 ---> e6aa2b8e3301
Removing intermediate container 45db9f7ca001
Step 6 : RUN yum install -y which openssh-clients openssh-server
 ---> Running in fac30fe7d9ba
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.eecs.wsu.edu
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.5ninesolutions.com
 * updates: repos.lax.quadranet.com
Package which-2.19-6.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package openssh-clients.x86_64 0:5.3p1-118.1.el6_8 will be installed
--> Processing Dependency: openssh = 5.3p1-118.1.el6_8 for package: openssh-clients-5.3p1-118.1.el6_8.x86_64
--> Processing Dependency: libfipscheck.so.1()(64bit) for package: openssh-clients-5.3p1-118.1.el6_8.x86_64
---> Package openssh-server.x86_64 0:5.3p1-118.1.el6_8 will be installed
--> Processing Dependency: libwrap.so.0()(64bit) for package: openssh-server-5.3p1-118.1.el6_8.x86_64
--> Running transaction check
---> Package fipscheck-lib.x86_64 0:1.2.0-7.el6 will be installed
--> Processing Dependency: /usr/bin/fipscheck for package: fipscheck-lib-1.2.0-7.el6.x86_64
---> Package openssh.x86_64 0:5.3p1-118.1.el6_8 will be installed
---> Package tcp_wrappers-libs.x86_64 0:7.6-58.el6 will be installed
--> Running transaction check
---> Package fipscheck.x86_64 0:1.2.0-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch        Version                  Repository    Size
================================================================================
Installing:
 openssh-clients        x86_64      5.3p1-118.1.el6_8        updates      442 k
 openssh-server         x86_64      5.3p1-118.1.el6_8        updates      328 k
Installing for dependencies:
 fipscheck              x86_64      1.2.0-7.el6              base          14 k
 fipscheck-lib          x86_64      1.2.0-7.el6              base         8.3 k
 openssh                x86_64      5.3p1-118.1.el6_8        updates      276 k
 tcp_wrappers-libs      x86_64      7.6-58.el6               base          62 k

Transaction Summary
================================================================================
Install       6 Package(s)

Total download size: 1.1 M
Installed size: 2.9 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           418 kB/s | 1.1 MB     00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : fipscheck-lib-1.2.0-7.el6.x86_64                             1/6
  Installing : fipscheck-1.2.0-7.el6.x86_64                                 2/6
  Installing : openssh-5.3p1-118.1.el6_8.x86_64                             3/6
  Installing : tcp_wrappers-libs-7.6-58.el6.x86_64                          4/6
  Installing : openssh-server-5.3p1-118.1.el6_8.x86_64                      5/6
  Installing : openssh-clients-5.3p1-118.1.el6_8.x86_64                     6/6
  Verifying  : tcp_wrappers-libs-7.6-58.el6.x86_64                          1/6
  Verifying  : fipscheck-1.2.0-7.el6.x86_64                                 2/6
  Verifying  : openssh-5.3p1-118.1.el6_8.x86_64                             3/6
  Verifying  : openssh-server-5.3p1-118.1.el6_8.x86_64                      4/6
  Verifying  : openssh-clients-5.3p1-118.1.el6_8.x86_64                     5/6
  Verifying  : fipscheck-lib-1.2.0-7.el6.x86_64                             6/6

Installed:
  openssh-clients.x86_64 0:5.3p1-118.1.el6_8
  openssh-server.x86_64 0:5.3p1-118.1.el6_8

Dependency Installed:
  fipscheck.x86_64 0:1.2.0-7.el6        fipscheck-lib.x86_64 0:1.2.0-7.el6
  openssh.x86_64 0:5.3p1-118.1.el6_8    tcp_wrappers-libs.x86_64 0:7.6-58.el6

Complete!
 ---> 138e6136c7b7
Removing intermediate container fac30fe7d9ba
Step 7 : RUN echo 'root:hortonworks' | chpasswd
 ---> Running in 94e01620c813
 ---> 76253858f470
Removing intermediate container 94e01620c813
Step 8 : RUN ssh-keygen -t rsa -f ~/.ssh/id_rsa -P '' &&     cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
 ---> Running in d7cb817f4fd0
Generating public/private rsa key pair.
Created directory '/root/.ssh'.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
36:82:79:4d:ea:c9:8f:91:3f:fc:66:a9:20:2e:6d:8e root@4f3bd15550ac
The key's randomart image is:
+--[ RSA 2048]----+
|                 |
|                 |
|        .        |
|     o +         |
|    o + S        |
|     + = .       |
|   .. B.   .     |
|  .oo. *o +      |
|  E+o . +*.      |
+-----------------+
 ---> d15b99506522
Removing intermediate container d7cb817f4fd0
Step 9 : RUN sed -i '/pam_loginuid.so/c session    optional     pam_loginuid.so'  /etc/pam.d/sshd
 ---> Running in b627cb76a389
 ---> b8bd1b2d8357
Removing intermediate container b627cb76a389
Step 10 : RUN echo -e "Host *\n StrictHostKeyChecking no" >> /etc/ssh/ssh_config
 ---> Running in ca655a4b6c1a
 ---> be4e1be88190
Removing intermediate container ca655a4b6c1a
Step 11 : RUN yum -y install supervisor
 ---> Running in 6ea6ef3b151b
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.eecs.wsu.edu
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.5ninesolutions.com
 * updates: repos.lax.quadranet.com
Resolving Dependencies
--> Running transaction check
---> Package supervisor.noarch 0:2.1-9.el6 will be installed
--> Processing Dependency: python-meld3 for package: supervisor-2.1-9.el6.noarch
--> Running transaction check
---> Package python-meld3.x86_64 0:0.6.7-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch            Version              Repository     Size
================================================================================
Installing:
 supervisor            noarch          2.1-9.el6            epel          292 k
Installing for dependencies:
 python-meld3          x86_64          0.6.7-1.el6          epel           71 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 364 k
Installed size: 1.4 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           876 kB/s | 364 kB     00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
 Userid : EPEL (6) <[email protected]>
 Package: epel-release-6-8.noarch (@extras)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : python-meld3-0.6.7-1.el6.x86_64                              1/2
  Installing : supervisor-2.1-9.el6.noarch                                  2/2
  Verifying  : python-meld3-0.6.7-1.el6.x86_64                              1/2
  Verifying  : supervisor-2.1-9.el6.noarch                                  2/2

Installed:
  supervisor.noarch 0:2.1-9.el6

Dependency Installed:
  python-meld3.x86_64 0:0.6.7-1.el6

Complete!
 ---> 581cb336f4ee
Removing intermediate container 6ea6ef3b151b
Step 12 : RUN mkdir /etc/supervisor.d/
 ---> Running in 73a582ac6059
 ---> b97923db908d
Removing intermediate container 73a582ac6059
Step 13 : RUN echo -e "[program:sshd]\ncommand=/sbin/service sshd start" >> /etc/supervisord.conf
 ---> Running in 8b063c002ced
 ---> f5339c19ae7c
Removing intermediate container 8b063c002ced
Step 14 : RUN echo -e "[program:ntpd]\ncommand=/sbin/service ntpd start" >> /etc/supervisord.conf
 ---> Running in a9fa6ab99b78
 ---> aacacefa8916
Removing intermediate container a9fa6ab99b78
Step 15 : RUN wget -O /etc/yum.repos.d/ambari.repo http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.2.0/hdp.repo
 ---> Running in 4b0766c0ff34
--2016-10-03 16:41:15--  http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.2.0/hdp.repo
Resolving public-repo-1.hortonworks.com... 52.84.16.148, 52.84.16.114, 52.84.16.45, ...
Connecting to public-repo-1.hortonworks.com|52.84.16.148|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 575 [binary/octet-stream]
Saving to: `/etc/yum.repos.d/ambari.repo'

     0K                                                       100% 64.6M=0s

2016-10-03 16:41:15 (64.6 MB/s) - `/etc/yum.repos.d/ambari.repo' saved [575/575]

 ---> dd8bbc626366
Removing intermediate container 4b0766c0ff34
Step 16 : RUN yum install ambari-server -y
 ---> Running in fd381f3ffa67
Loaded plugins: fastestmirror, ovl
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.eecs.wsu.edu
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.5ninesolutions.com
 * updates: repos.lax.quadranet.com
No package ambari-server available.
Error: Nothing to do
The command '/bin/sh -c yum install ambari-server -y' returned a non-zero code: 1
476c16ed12cfe011b282a1629101d2712c02cef0d26d22101f7a6b8364c0d6c5
"docker rm" requires at least 1 argument(s).
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
Unable to find image 'caochong-ambari:latest' locally
Pulling repository docker.io/library/caochong-ambari
docker: Error: image library/caochong-ambari:latest not found.
See 'docker run --help'.
Unable to find image 'caochong-ambari:latest' locally
Pulling repository docker.io/library/caochong-ambari
docker: Error: image library/caochong-ambari:latest not found.
See 'docker run --help'.
Unable to find image 'caochong-ambari:latest' locally
Pulling repository docker.io/library/caochong-ambari
docker: Error: image library/caochong-ambari:latest not found.
See 'docker run --help'.
must specify at least one container source
Using the following hostnames:
------------------------------



------------------------------
Copying back the private key...
must specify at least one container source
Error response from daemon: No such container: caochong-ambari-0
@weiqingy
Copy link
Owner

weiqingy commented Oct 5, 2016

Hi,
You should use ambari.repo instead of HDP.repo in which No package ambari-server available.

Thanks.

@westcottian
Copy link

Hi,
Where to update this?

Thanks!
Amit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants