Created 04-24-2019 03:43 PM
Hello friends, so am working on my final project its about cloudera, so while trying to install cloudera i got this error :
/tmp/scm_prepare_node.uBab8Rvw using SSH_CLIENT to get the SCM hostname: 192.168.3.32 44904 22 opening logging file descriptor Starting installation script... Acquiring installation lock... BEGIN flock 4 END (0) Detecting root privileges... effective UID is 1001 BEGIN which pbrun END (1) BEGIN sudo -S id uid=0(root) gid=0(root) groups=0(root) END (0) Using 'sudo ' to acquire root privileges Detecting distribution... BEGIN grep 'Ubuntu' /etc/lsb-release END (0) DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS" BEGIN grep DISTRIB_CODENAME /etc/lsb-release DISTRIB_CODENAME=xenial END (0) BEGIN echo DISTRIB_CODENAME=xenial | cut -d = -f 2 END (0) xenial Detecting Cloudera Manager Server... BEGIN host -t PTR 192.168.3.32 Host 32.3.168.192.in-addr.arpa. not found: 3(NXDOMAIN) END (1) BEGIN which python END (0) BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 192.168.3.32 7182 /usr/bin/python END (0) BEGIN which wget END (0) /usr/bin/wget BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname && /bin/echo END (4) Installing package repositories... validating format of repository file /tmp/scm_prepare_node.uBab8Rvw/repos/ubuntu_xenial/cloudera-manager.list installing repository file /tmp/scm_prepare_node.uBab8Rvw/repos/ubuntu_xenial/cloudera-manager.list repository file /tmp/scm_prepare_node.uBab8Rvw/repos/ubuntu_xenial/cloudera-manager.list installed BEGIN sudo apt-key add /tmp/scm_prepare_node.uBab8Rvw/archive.key OK END (0) installing priority file /tmp/scm_prepare_node.uBab8Rvw/priorities/ubuntu_xenial/cloudera.pref priority file /tmp/scm_prepare_node.uBab8Rvw/priorities/ubuntu_xenial/cloudera.pref installed Refreshing package metadata... BEGIN sudo apt-get update Get:1 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.16.1 InRelease [1,899 B] Get:2 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.16.1/contrib amd64 Packages [2,385 B] Hit:3 http://fr.archive.ubuntu.com/ubuntu xenial InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Hit:5 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease Get:6 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Fetched 220 kB in 9s (23.0 kB/s) Reading package lists... W: https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5.16.1/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) END (0) BEGIN sudo apt-get update Hit:1 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.16.1 InRelease Hit:2 http://fr.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Get:5 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Fetched 216 kB in 10s (21.1 kB/s) Reading package lists... W: https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/dists/xenial-cm5.16.1/InRelease: Signature by key F36A89E33CC1BD0F71079007327574EE02A818DD uses weak digest algorithm (SHA1) END (0) Installing oracle-j2sdk1.7 package... BEGIN sudo dpkg -l oracle-j2sdk1.7 | grep -E '^ii[[:space:]]*oracle-j2sdk1.7[[:space:]]*' dpkg-query: no packages found matching oracle-j2sdk1.7 END (1) BEGIN sudo apt-cache show oracle-j2sdk1.7 Package: oracle-j2sdk1.7 Version: 1.7.0+update67-1 License: unknown Vendor: root@rpmslave.ent.cloudera.com Architecture: amd64 Maintainer: Installed-Size: 285587 Provides: java Homepage: http://example.com/no-uri-given Priority: extra Section: default Filename: pool/contrib/o/oracle-j2sdk1.7/oracle-j2sdk1.7_1.7.0+update67-1_amd64.deb Size: 142448292 SHA256: b998f4aa8ff8e58ee1d7d55e409330034c8963dbdab07f164fe7baf2025f863e SHA1: 2f03993be2d96a6b2abf2259e77bd21ef1a2bbe4 MD5sum: f7e1bc66703c986be480001ddd087135 Description: no description given Description-md5: c0af8b65ef8df63b3bfb124d96da1778 END (0) BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y install oracle-j2sdk1.7 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: oracle-j2sdk1.7 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded. Need to get 142 MB of archives. After this operation, 292 MB of additional disk space will be used. Get:1 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.16.1/contrib amd64 oracle-j2sdk1.7 amd64 1.7.0+update67-1 [142 MB] Err:1 https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm xenial-cm5.16.1/contrib amd64 oracle-j2sdk1.7 amd64 1.7.0+update67-1 transfer closed with 118225812 bytes remaining to read E: Failed to fetch https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/pool/contrib/o/oracle-j2sdk1.7/oracle-j2sdk1... transfer closed with 118225812 bytes remaining to read E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? END (100) remote package oracle-j2sdk1.7 could not be installed, giving up waiting for rollback request PS: my master node is Ubuntu Xenial LTS , my 2 slaves are Ubuntu Server.
Created 05-10-2019 02:34 PM
Hello TheRabroub,
Thank you for posting this in our Community.
E: Failed to fetch https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/pool/contrib/o/oracle-j2sdk1.7/oracle-j2sdk1... transfer closed with 118225812 bytes remaining to read
"The above could mean that the connectivity between the Host and the Cloudera archive might have been intervened by network congestion/flaky network"
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? END (100) remote package oracle-j2sdk1.7
Have you tried the above-mentioned? If not, Since you are on Ubuntu, Try to fix/retry the missing packages by executing this:
#sudo apt-get update
or
#sudo apt-get update --fix-missing
Let us know how it goes.
Cheers