docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

Unable to build teradata docker image (teradatalabs/cdh5-hive)

Open karunakaranpt opened this issue 7 years ago • 0 comments

I am unable to build teradata docker image using the following steps and running the following on Ubuntu 16.04

  1. Downloaded https://github.com/Teradata/docker-images
  2. sudo make teradatalabs/cdh5-hive
  3. Result with following error
Total download size: 507 M
Downloading Packages:
https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/RPMS/x86_64/hadoop-mapreduce-2.6.0%2Bcdh5.9.1%2B1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm: [Errno 12] Timeout on https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/RPMS/x86_64/hadoop-mapreduce-2.6.0%2Bcdh5.9.1%2B1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.


https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/RPMS/x86_64/hadoop-yarn-2.6.0%2Bcdh5.9.1%2B1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm: [Errno 12] Timeout on https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/RPMS/x86_64/hadoop-yarn-2.6.0%2Bcdh5.9.1%2B1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm: (28, 'Connection time-out')
Trying other mirror.


https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/RPMS/noarch/solr-4.10.3%2Bcdh5.9.1%2B460-1.cdh5.9.1.p0.5.el6.noarch.rpm: [Errno 14] PYCURL ERROR 18 - "transfer closed with 21762312 bytes remaining to read"
Trying other mirror.


Error Downloading Packages:
  solr-4.10.3+cdh5.9.1+460-1.cdh5.9.1.p0.5.el6.noarch: failure: RPMS/noarch/solr-4.10.3+cdh5.9.1+460-1.cdh5.9.1.p0.5.el6.noarch.rpm from cloudera-cdh5: [Errno 256] No more mirrors to try.
  hadoop-yarn-2.6.0+cdh5.9.1+1889-1.cdh5.9.1.p0.5.el6.x86_64: failure: RPMS/x86_64/hadoop-yarn-2.6.0+cdh5.9.1+1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm from cloudera-cdh5: [Errno 256] No more mirrors to try.
  hadoop-mapreduce-2.6.0+cdh5.9.1+1889-1.cdh5.9.1.p0.5.el6.x86_64: failure: RPMS/x86_64/hadoop-mapreduce-2.6.0+cdh5.9.1+1889-1.cdh5.9.1.p0.5.el6.x86_64.rpm from cloudera-cdh5: [Errno 256] No more mirrors to try.

The command '/bin/sh -c wget -nv http://archive.cloudera.com/cdh5/one-click-install/redhat/6/x86_64/cloudera-cdh-5-0.x86_64.rpm   && yum --nogpgcheck localinstall -y cloudera-cdh-5-0.x86_64.rpm   && rm cloudera-cdh-5-0.x86_64.rpm   && rpm --import http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera   && sed -i '/^baseurl=/c\baseurl=https://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5.9.1/' /etc/yum.repos.d/cloudera-cdh5.repo   && yum install -y hive   && yum install -y python-setuptools   && easy_install pip   && pip install supervisor   && mkdir /etc/supervisord.d/   && wget -nv http://dl.fedoraproject.org/pub/epel/6/x86_64/python-meld3-0.6.7-1.el6.x86_64.rpm   && rpm -ihv python-meld3-0.6.7-1.el6.x86_64.rpm   && rm python-meld3-0.6.7-1.el6.x86_64.rpm   && yum -y clean all && rm -rf /tmp/* /var/tmp/*   && mkdir -p /var/log/hadoop   && ln -s /var/log/hadoop-hdfs /var/log/hadoop/hdfs   && ln -s /var/log/hadoop-mapreduce /var/log/hadoop/mapreduce   && ln -s /var/log/hadoop-yarn /var/log/hadoop/yarn' returned a non-zero code: 1
Command exited with non-zero status 1
0.12user 0.01system 5:33.01elapsed 0%CPU (0avgtext+0avgdata 33488maxresident)k
0inputs+0outputs (0major+2967minor)pagefaults 0swaps
Makefile:240: recipe for target 'teradatalabs/cdh5-base@latest' failed
make: *** [teradatalabs/cdh5-base@latest] Error 1

karunakaranpt avatar Oct 16 '18 09:10 karunakaranpt