FAQ
Hi
I am running the cloudera manager installer on my ubuntu and i am
configuring for a single node cluster .I keep getting the below error
*
**Installation failed. Failed to receive heartbeat from agent. *

- *Ensure that the host's hostname is configured properly.*
- *Ensure that port 7182 is accessible on the Cloudera Manager server
(check firewall rules).*
- *Ensure that ports 9000 and 9001 are free on the host being added.*
- *Check agent logs in /var/log/cloudera-scm-agent/ on the host being
added (some of the logs can be found in the installation details*

*My /etc/hosts looks as below*

127.0.0.1 localhost.localdomain localhost
127.0.0.1 genius-Aspire-5740

# The following lines are desirable for IPv6 capable hosts
#::1 ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters


*My detailed logs are as below*
/tmp/scm_prepare_node.j5EWjpTj
using SSH_CLIENT to get the SCM hostname: 127.0.0.1 46194 3901
opening logging file descriptor
Starting installation script... Acquiring installation lock...
*BEGIN flock 4 *
*END (0) *
Detecting root privileges...
effective UID is 1001
*BEGIN sudo -S id *
sudo: unable to resolve host genius-Aspire-5749
uid=0(root) gid=0(root) groups=0(root)
*END (0) *
Detecting distribution...
*BEGIN grep 'Ubuntu' /etc/lsb-release *
*END (0) *
DISTRIB_ID=Ubuntu
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
*BEGIN grep DISTRIB_CODENAME /etc/lsb-release *
DISTRIB_CODENAME=precise
*END (0) *
*BEGIN echo DISTRIB_CODENAME=precise | cut -d = -f 2 *
precise
*END (0) *
Detecting Cloudera Manager Server...
*BEGIN host -t PTR 127.0.0.1 *
1.0.0.127.in-addr.arpa domain name pointer localhost.
*END (0) *
using localhost as scm server hostname
*BEGIN perl -e 'use IO::Socket; exit(not (new IO::Socket::INET(PeerAddr =>
@ARGV[0], PeerPort => @ARGV[1], Proto => tcp, Timeout => 5)));' localhost
7182 *
*END (0) *
scm server found
*BEGIN which wget *
/usr/bin/wget
*END (0) *
*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.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
installing repository file
/tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
sudo: unable to resolve host genius-Aspire-5749
repository file
/tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
installed
*BEGIN sudo apt-key add /tmp/scm_prepare_node.j5EWjpTj/archive.key *
sudo: unable to resolve host genius-Aspire-5749
OK
*END (0) *
Refreshing package metadata...
*BEGIN sudo apt-get update *
sudo: unable to resolve host genius-Aspire-5749
Ign http://archive.cloudera.com precise-cm4 InRelease
Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.cloudera.com precise-cm4 Release.gpg
Ign http://extras.ubuntu.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Hit http://archive.cloudera.com precise-cm4 Release
Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://archive.cloudera.com precise-cm4.5.1 Release
Hit http://extras.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.cloudera.com precise-cm4/contrib Sources
Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
Hit http://extras.ubuntu.com precise/main Sources
Hit http://ppa.launchpad.net precise/main Sources
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:3 http://us.archive.ubuntu.com precise-updates/main Sources [380 kB]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
Get:4 http://us.archive.ubuntu.com precise-updates/restricted Sources
[5,467 B]
Get:5 http://us.archive.ubuntu.com precise-updates/universe Sources [85.0
kB]
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
Get:6 http://us.archive.ubuntu.com precise-updates/multiverse Sources
[6,562 B]
Get:7 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [601
kB]
Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:8 http://us.archive.ubuntu.com precise-updates/restricted amd64
Packages [10.1 kB]
Get:9 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
[194 kB]
Ign http://extras.ubuntu.com precise/main Translation-en
Get:10 http://us.archive.ubuntu.com precise-updates/multiverse amd64
Packages [13.6 kB]
Get:11 http://us.archive.ubuntu.com precise-updates/main i386 Packages [612
kB]
Get:12 http://us.archive.ubuntu.com precise-updates/restricted i386
Packages [10.0 kB]
Get:13 http://us.archive.ubuntu.com precise-updates/universe i386 Packages
[197 kB]
Get:14 http://us.archive.ubuntu.com precise-updates/multiverse i386
Packages [13.8 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted
TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted
TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe
TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 2,179 kB in 3s (548 kB/s)
Reading package lists...
*END (0) *
*BEGIN sudo apt-get update *
sudo: unable to resolve host genius-Aspire-5749
Ign http://archive.cloudera.com precise-cm4 InRelease
Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://archive.cloudera.com precise-cm4 Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.cloudera.com precise-cm4 Release
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.cloudera.com precise-cm4.5.1 Release
Hit http://extras.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.cloudera.com precise-cm4/contrib Sources
Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates Release
Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://extras.ubuntu.com precise/main Sources
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted
TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse
TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted
TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe
TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted
Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://extras.ubuntu.com precise/main Translation-en
Reading package lists...
*END (0) *
Installing oracle-j2sdk1.6 package...
*BEGIN sudo dpkg -l oracle-j2sdk1.6 | grep -E
'^ii[[:space:]]*oracle-j2sdk1.6[[:space:]]*' *
sudo: unable to resolve host genius-Aspire-5749
ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
Oracle(TM)
*END (0) *
*BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
grep oracle-j2sdk1.6 *
oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
*END (0) *
*BEGIN sudo apt-cache show oracle-j2sdk1.6 *
sudo: unable to resolve host genius-Aspire-5749
Package: oracle-j2sdk1.6
Version: 1.6.0+update31
Architecture: amd64
Maintainer: Debian Java Maintainers
<pkg-java-maintainers@lists.alioth.debian.org>
Installed-Size: 224994
Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
libxi6, libxt6, libxtst6
Recommends: netbase, libgtk1.2, libstdc++5
Replaces: oracle-j2sdk1.6debian
Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
Priority: optional
Section: non-free/devel
Filename:
pool/contrib/o/oracle-j2sdk1.6/oracle-j2sdk1.6_1.6.0+update31_amd64.deb
Size: 96896162
SHA256: e3af578020ca3d595fbf1da7f006dde783fa10ace7e147ea135e5d09a8ad32b9
SHA1: 4b4cd040b2b71f1b754180d89c8e69f5940d27a5
MD5sum: 183149f3ddc42fcc03e137bea41cf85e
Description: Java(TM) JDK, Standard Edition, Oracle(TM)
The Java(TM) 2 SDK is a development environment for building
applications, applets, and components that can be deployed on the
Java(TM) platform.
.
The Java(TM) 2 SDK software includes tools useful for developing and
testing programs written in the Java programming language and running
on the Java platform. These tools are designed to be used from the
command line. Except for appletviewer, these tools do not provide a
graphical user interface.
.
This package has been automatically created with java-package (0.50).

*END (0) *
*BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confold -y install oracle-j2sdk1.6 *
sudo: unable to resolve host genius-Aspire-5749
Reading package lists...
Building dependency tree...
Reading state information...
oracle-j2sdk1.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
*END (0) *
remote package oracle-j2sdk1.6 installed
Installing cloudera-manager-agent package...
*BEGIN sudo dpkg -l cloudera-manager-agent | grep -E
'^ii[[:space:]]*cloudera-manager-agent[[:space:]]*' *
sudo: unable to resolve host genius-Aspire-5749
ii cloudera-manager-agent 4.5.1-1.cm451.p0.294~precise-cm4.5.1 The Cloudera
Manager Agent
*END (0) *
*BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
grep cloudera-manager-agent *
oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
*END (0) *
*BEGIN sudo apt-cache show cloudera-manager-agent *
sudo: unable to resolve host genius-Aspire-5749
Package: cloudera-manager-agent
Source: enterprise
Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
Architecture: amd64
Maintainer: Peter Linnell <plinnell@cloudera.com>
Installed-Size: 21926
Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.0),
zlib1g (>= 1:1.2.0), lsb-base, psmisc, bash, libsasl2-modules-gssapi-mit,
libxslt1.1, libsqlite3-0
Homepage: http://www.cloudera.com
Priority: extra
Section: misc
Filename:
pool/contrib/e/enterprise/cloudera-manager-agent_4.5.1-1.cm451.p0.294~precise-cm4.5.1_amd64.deb

Size: 5244892
SHA256: a1f66cb651ee7d1a1832a5d2ae4a9def462d26543a7f006e7a2f0af2ea3b4fed
SHA1: 8acedd1cc8be16806836aa6746d80012d4ac18d8
MD5sum: e7c57a95151f3f28f899e15688576377
Description: The Cloudera Manager Agent
The Agent is deployed to machines running services managed by Cloudera
Manager.

*END (0) *
Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
*BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confold -y install cloudera-manager-agent *
sudo: unable to resolve host genius-Aspire-5749
Reading package lists...
Building dependency tree...
Reading state information...
cloudera-manager-agent is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
*END (0) *
remote package cloudera-manager-agent installed
Installing cloudera-manager-daemons package...
*BEGIN sudo dpkg -l cloudera-manager-daemons | grep -E
'^ii[[:space:]]*cloudera-manager-daemons[[:space:]]*' *
sudo: unable to resolve host genius-Aspire-5749
ii cloudera-manager-daemons 4.5.1-1.cm451.p0.294~precise-cm4.5.1 Provides
daemons for monitoring Hadoop and related tools.
*END (0) *
*BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
grep cloudera-manager-daemons *
oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
*END (0) *
*BEGIN sudo apt-cache show cloudera-manager-daemons *
sudo: unable to resolve host genius-Aspire-5749
Package: cloudera-manager-daemons
Source: enterprise
Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
Architecture: all
Maintainer: Peter Linnell <plinnell@cloudera.com>
Installed-Size: 168011
Homepage: http://www.cloudera.com
Priority: extra
Section: misc
Filename:
pool/contrib/e/enterprise/cloudera-manager-daemons_4.5.1-1.cm451.p0.294~precise-cm4.5.1_all.deb

Size: 137887500
SHA256: 29523b7f214bbc746014107623470270731f92dfdb25c39b7068691ac690495e
SHA1: a22bd685b7e2c0ebb98d1950893f44a540f199e4
MD5sum: 877c36c4a50080830ffe1f246d8ab462
Description: Provides daemons for monitoring Hadoop and related tools.
Provides daemons for monitoring Hadoop and related tools.

*END (0) *
Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
*BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confold -y install cloudera-manager-daemons *
sudo: unable to resolve host genius-Aspire-5749
Reading package lists...
Building dependency tree...
Reading state information...
cloudera-manager-daemons is already the newest version.
cloudera-manager-daemons set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
*END (0) *
remote package cloudera-manager-daemons installed
Configuring Cloudera Manager Agent...
*BEGIN grep server_host=localhost /etc/cloudera-scm-agent/config.ini *
server_host=localhost
*END (0) *
scm agent is already configured
Starting Cloudera Manager Agent...
*BEGIN /usr/sbin/service cloudera-scm-agent status | grep running *
Checking for service cloudera-scm-agent * cloudera-scm-agent is running
*END (0) *
*BEGIN sudo /usr/sbin/service cloudera-scm-agent restart *
sudo: unable to resolve host genius-Aspire-5749
Stopping cloudera-scm-agent: * cloudera-scm-agent stopped
Starting cloudera-scm-agent: * Couldn't start cloudera-scm-agent

*END (0) *
agent logs:
*BEGIN sudo tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.out
sed 's/^/>>/' *
sudo: unable to resolve host genius-Aspire-5749
sudo: unable to resolve host genius-Aspire-5749
[20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
Version: 4.5.1
[20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
determine hostname or ip address; proceeding.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
parse_arguments
ip_address = socket.gethostbyname(fqdn)
gaierror: [Errno -5] No address associated with hostname
usage: agent.py [-h] [--agent_dir AGENT_DIR]
[--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
PACKAGE_DIR [--parcel_dir PARCEL_DIR]
[--supervisord_path SUPERVISORD_PATH]
[--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
[--standalone STANDALONE] [--master MASTER]
[--environment ENVIRONMENT] [--host_id HOST_ID]
[--disable_supervisord_events] [--disable_eager_heartbeats]
--hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
[--client_key_file CLIENT_KEY_FILE]
[--client_cert_file CLIENT_CERT_FILE]
[--verify_cert_file VERIFY_CERT_FILE]
[--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
[--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
agent.py: error: argument --hostname is required
[20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
[20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
Version: 4.5.1
[20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
determine hostname or ip address; proceeding.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
parse_arguments
ip_address = socket.gethostbyname(fqdn)
gaierror: [Errno -5] No address associated with hostname
usage: agent.py [-h] [--agent_dir AGENT_DIR]
[--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
PACKAGE_DIR [--parcel_dir PARCEL_DIR]
[--supervisord_path SUPERVISORD_PATH]
[--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
[--standalone STANDALONE] [--master MASTER]
[--environment ENVIRONMENT] [--host_id HOST_ID]
[--disable_supervisord_events] [--disable_eager_heartbeats]
--hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
[--client_key_file CLIENT_KEY_FILE]
[--client_cert_file CLIENT_CERT_FILE]
[--verify_cert_file VERIFY_CERT_FILE]
[--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
[--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
agent.py: error: argument --hostname is required
[20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
4-host-inspector: stopped
4-host-inspector: removed process group
4-host-inspector: stopped
4-host-inspector: removed process group
*END (0) *
*BEGIN sudo tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.log
sed 's/^/>>/' *
sudo: unable to resolve host genius-Aspire-5749
sudo: unable to resolve host genius-Aspire-5749
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating to
localhost:7182 failed.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
self.master_port)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
line 471, in __init__
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating to
localhost:7182 failed.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
self.master_port)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
line 471, in __init__
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
system symlinks for parcel IMPALA-0.7-1.p0.309
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
command
['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
'deactivate']
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
command
['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
'deactivate']
[20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
[20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
unmanaged parcel IMPALA-0.7-1.p0.309
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting process
4-host-inspector
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
supervisord update.
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring process
4-host-inspector
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping agent...
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
processes running; unmounting any cgroup roots
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes are
being managed; Supervisor will shutdown.
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
supervisord, pid 2027
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
shutdown supervisord, pid 2027
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE HTTP Server
cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
down
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE HTTP Server
cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
shut down
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE No thread running for None.
[20/Apr/201>> File "/usr/lib/python2.7/socket.py", line 571, in
create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating to
localhost:7182 failed.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
self.master_port)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
line 471, in __init__
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating to
localhost:7182 failed.
Traceback (most recent call last):
File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
self.master_port)
File
"/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
line 471, in __init__
self.conn.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
error: [Errno 111] Connection refused
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
system symlinks for parcel IMPALA-0.7-1.p0.309
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
command
['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
'deactivate']
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
[20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
command
['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
'deactivate']
[20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
[20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
unmanaged parcel IMPALA-0.7-1.p0.309
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting process
4-host-inspector
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
supervisord update.
[20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring process
4-host-inspector
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping agent...
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
processes running; unmounting any cgroup roots
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes are
being managed; Supervisor will shutdown.
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
supervisord, pid 2027
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
shutdown supervisord, pid 2027
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE HTTP Server
cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
down
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE HTTP Server
cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
shut down
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE No thread running for None.
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus STOPPED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus EXITING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus EXITED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
caught signal 15
3 10:20:26 +0000] 1621 MainThread _cplogging INFO [20/Apr/2013:10:20:26]
ENGINE Bus STOPPED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus EXITING
[20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
[20/Apr/2013:10:20:26] ENGINE Bus EXITED
[20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
caught signal 15
*END (0) *
end of agent logs.
scm agent restarted
Installation script completed successfully.
all done
closing logging file descriptor

Search Discussions

  • Philip Zeyliger at Apr 20, 2013 at 5:35 pm
    Hi there,
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.

    That's your issue. Try doing

    python -c 'import socket; print socket.getfqdn(),
    socket.gethostbyname(socket.getfqdn())'

    on the shell. If that fails (and given "sudo: unable to resolve host
    genius-Aspire-5749" in the logs, it probably will), you'll need to get your
    hostname resolution working.

    Cheers,

    -- Philip


    On Sat, Apr 20, 2013 at 10:27 AM, Raghuram Gururajan wrote:

    Hi
    I am running the cloudera manager installer on my ubuntu and i am
    configuring for a single node cluster .I keep getting the below error
    *
    **Installation failed. Failed to receive heartbeat from agent. *

    - *Ensure that the host's hostname is configured properly.*
    - *Ensure that port 7182 is accessible on the Cloudera Manager server
    (check firewall rules).*
    - *Ensure that ports 9000 and 9001 are free on the host being added.*
    - *Check agent logs in /var/log/cloudera-scm-agent/ on the host being
    added (some of the logs can be found in the installation details*

    *My /etc/hosts looks as below*

    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 genius-Aspire-5740

    # The following lines are desirable for IPv6 capable hosts
    #::1 ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters


    *My detailed logs are as below*
    /tmp/scm_prepare_node.j5EWjpTj
    using SSH_CLIENT to get the SCM hostname: 127.0.0.1 46194 3901
    opening logging file descriptor
    Starting installation script... Acquiring installation lock...
    *BEGIN flock 4 *
    *END (0) *
    Detecting root privileges...
    effective UID is 1001
    *BEGIN sudo -S id *
    sudo: unable to resolve host genius-Aspire-5749
    uid=0(root) gid=0(root) groups=0(root)
    *END (0) *
    Detecting distribution...
    *BEGIN grep 'Ubuntu' /etc/lsb-release *
    *END (0) *
    DISTRIB_ID=Ubuntu
    DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
    *BEGIN grep DISTRIB_CODENAME /etc/lsb-release *
    DISTRIB_CODENAME=precise
    *END (0) *
    *BEGIN echo DISTRIB_CODENAME=precise | cut -d = -f 2 *
    precise
    *END (0) *
    Detecting Cloudera Manager Server...
    *BEGIN host -t PTR 127.0.0.1 *
    1.0.0.127.in-addr.arpa domain name pointer localhost.
    *END (0) *
    using localhost as scm server hostname
    *BEGIN perl -e 'use IO::Socket; exit(not (new IO::Socket::INET(PeerAddr
    => @ARGV[0], PeerPort => @ARGV[1], Proto => tcp, Timeout => 5)));'
    localhost 7182 *
    *END (0) *
    scm server found
    *BEGIN which wget *
    /usr/bin/wget
    *END (0) *
    *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.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installing repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    sudo: unable to resolve host genius-Aspire-5749
    repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installed
    *BEGIN sudo apt-key add /tmp/scm_prepare_node.j5EWjpTj/archive.key *
    sudo: unable to resolve host genius-Aspire-5749
    OK
    *END (0) *
    Refreshing package metadata...
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://archive.cloudera.com precise-cm4 Release
    Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Get:3 http://us.archive.ubuntu.com precise-updates/main Sources [380 kB]
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Get:4 http://us.archive.ubuntu.com precise-updates/restricted Sources
    [5,467 B]
    Get:5 http://us.archive.ubuntu.com precise-updates/universe Sources [85.0
    kB]
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Get:6 http://us.archive.ubuntu.com precise-updates/multiverse Sources
    [6,562 B]
    Get:7 http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    [601 kB]
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Get:8 http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages [10.1 kB]
    Get:9 http://us.archive.ubuntu.com precise-updates/universe amd64
    Packages [194 kB]
    Ign http://extras.ubuntu.com precise/main Translation-en
    Get:10 http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages [13.6 kB]
    Get:11 http://us.archive.ubuntu.com precise-updates/main i386 Packages
    [612 kB]
    Get:12 http://us.archive.ubuntu.com precise-updates/restricted i386
    Packages [10.0 kB]
    Get:13 http://us.archive.ubuntu.com precise-updates/universe i386
    Packages [197 kB]
    Get:14 http://us.archive.ubuntu.com precise-updates/multiverse i386
    Packages [13.8 kB]
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Fetched 2,179 kB in 3s (548 kB/s)
    Reading package lists...
    *END (0) *
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://us.archive.ubuntu.com precise-updates Release.gpg
    Hit http://archive.cloudera.com precise-cm4 Release
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates Release
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/main Sources
    Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
    Hit http://us.archive.ubuntu.com precise-updates/universe Sources
    Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://extras.ubuntu.com precise/main Translation-en
    Reading package lists...
    *END (0) *
    Installing oracle-j2sdk1.6 package...
    *BEGIN sudo dpkg -l oracle-j2sdk1.6 | grep -E
    '^ii[[:space:]]*oracle-j2sdk1.6[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
    Oracle(TM)
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep oracle-j2sdk1.6 *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers <
    pkg-java-maintainers@lists.alioth.debian.org>
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
    libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
    java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename:
    pool/contrib/o/oracle-j2sdk1.6/oracle-j2sdk1.6_1.6.0+update31_amd64.deb
    Size: 96896162
    SHA256: e3af578020ca3d595fbf1da7f006dde783fa10ace7e147ea135e5d09a8ad32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf85e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package (0.50).

    *END (0) *
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    oracle-j2sdk1.6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package oracle-j2sdk1.6 installed
    Installing cloudera-manager-agent package...
    *BEGIN sudo dpkg -l cloudera-manager-agent | grep -E
    '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-agent 4.5.1-1.cm451.p0.294~precise-cm4.5.1 The
    Cloudera Manager Agent
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-agent *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-agent
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: amd64
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 21926
    Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.0),
    zlib1g (>= 1:1.2.0), lsb-base, psmisc, bash, libsasl2-modules-gssapi-mit,
    libxslt1.1, libsqlite3-0
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-agent_4.5.1-1.cm451.p0.294~precise-cm4.5.1_amd64.deb

    Size: 5244892
    SHA256: a1f66cb651ee7d1a1832a5d2ae4a9def462d26543a7f006e7a2f0af2ea3b4fed
    SHA1: 8acedd1cc8be16806836aa6746d80012d4ac18d8
    MD5sum: e7c57a95151f3f28f899e15688576377
    Description: The Cloudera Manager Agent
    The Agent is deployed to machines running services managed by Cloudera
    Manager.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-agent is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-agent installed
    Installing cloudera-manager-daemons package...
    *BEGIN sudo dpkg -l cloudera-manager-daemons | grep -E
    '^ii[[:space:]]*cloudera-manager-daemons[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-daemons 4.5.1-1.cm451.p0.294~precise-cm4.5.1 Provides
    daemons for monitoring Hadoop and related tools.
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-daemons *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-daemons
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: all
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 168011
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-daemons_4.5.1-1.cm451.p0.294~precise-cm4.5.1_all.deb

    Size: 137887500
    SHA256: 29523b7f214bbc746014107623470270731f92dfdb25c39b7068691ac690495e
    SHA1: a22bd685b7e2c0ebb98d1950893f44a540f199e4
    MD5sum: 877c36c4a50080830ffe1f246d8ab462
    Description: Provides daemons for monitoring Hadoop and related tools.
    Provides daemons for monitoring Hadoop and related tools.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-daemons is already the newest version.
    cloudera-manager-daemons set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-daemons installed
    Configuring Cloudera Manager Agent...
    *BEGIN grep server_host=localhost /etc/cloudera-scm-agent/config.ini *
    server_host=localhost
    *END (0) *
    scm agent is already configured
    Starting Cloudera Manager Agent...
    *BEGIN /usr/sbin/service cloudera-scm-agent status | grep running *
    Checking for service cloudera-scm-agent * cloudera-scm-agent is running
    *END (0) *
    *BEGIN sudo /usr/sbin/service cloudera-scm-agent restart *
    sudo: unable to resolve host genius-Aspire-5749
    Stopping cloudera-scm-agent: * cloudera-scm-agent stopped
    Starting cloudera-scm-agent: * Couldn't start cloudera-scm-agent

    *END (0) *
    agent logs:
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    4-host-inspector: stopped
    4-host-inspector: removed process group
    4-host-inspector: stopped
    4-host-inspector: removed process group
    *END (0) *
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating to
    localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating to
    localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting process
    4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring process
    4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes are
    being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/201>> File "/usr/lib/python2.7/socket.py", line 571, in
    create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating to
    localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating to
    localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting process
    4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring process
    4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes are
    being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    3 10:20:26 +0000] 1621 MainThread _cplogging INFO [20/Apr/2013:10:20:26]
    ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    *END (0) *
    end of agent logs.
    scm agent restarted
    Installation script completed successfully.
    all done
    closing logging file descriptor
  • Sreenivasulu Nallapati at Apr 22, 2013 at 6:06 am
    Hi,

    can you please verify /etc/hostname?

    Even I used to get the same issue when installing CM on single node cluster.

    I mapped my hostname in /etc/hosts( ex: for hostname : xyz)

    127.0.0.1 localhost.localdomain localhost
    ip_address xyz xyz


    That worked fine for me.


    Thanks
    Sreeni

    On Sat, Apr 20, 2013 at 11:04 PM, Philip Zeyliger wrote:

    Hi there,
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.

    That's your issue. Try doing

    python -c 'import socket; print socket.getfqdn(),
    socket.gethostbyname(socket.getfqdn())'

    on the shell. If that fails (and given "sudo: unable to resolve host
    genius-Aspire-5749" in the logs, it probably will), you'll need to get your
    hostname resolution working.

    Cheers,

    -- Philip



    On Sat, Apr 20, 2013 at 10:27 AM, Raghuram Gururajan <
    raghuram.gururajan@gmail.com> wrote:
    Hi
    I am running the cloudera manager installer on my ubuntu and i am
    configuring for a single node cluster .I keep getting the below error
    *
    **Installation failed. Failed to receive heartbeat from agent. *

    - *Ensure that the host's hostname is configured properly.*
    - *Ensure that port 7182 is accessible on the Cloudera Manager server
    (check firewall rules).*
    - *Ensure that ports 9000 and 9001 are free on the host being added.*
    - *Check agent logs in /var/log/cloudera-scm-agent/ on the host being
    added (some of the logs can be found in the installation details*

    *My /etc/hosts looks as below*

    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 genius-Aspire-5740

    # The following lines are desirable for IPv6 capable hosts
    #::1 ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters


    *My detailed logs are as below*
    /tmp/scm_prepare_node.j5EWjpTj
    using SSH_CLIENT to get the SCM hostname: 127.0.0.1 46194 3901
    opening logging file descriptor
    Starting installation script... Acquiring installation lock...
    *BEGIN flock 4 *
    *END (0) *
    Detecting root privileges...
    effective UID is 1001
    *BEGIN sudo -S id *
    sudo: unable to resolve host genius-Aspire-5749
    uid=0(root) gid=0(root) groups=0(root)
    *END (0) *
    Detecting distribution...
    *BEGIN grep 'Ubuntu' /etc/lsb-release *
    *END (0) *
    DISTRIB_ID=Ubuntu
    DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
    *BEGIN grep DISTRIB_CODENAME /etc/lsb-release *
    DISTRIB_CODENAME=precise
    *END (0) *
    *BEGIN echo DISTRIB_CODENAME=precise | cut -d = -f 2 *
    precise
    *END (0) *
    Detecting Cloudera Manager Server...
    *BEGIN host -t PTR 127.0.0.1 *
    1.0.0.127.in-addr.arpa domain name pointer localhost.
    *END (0) *
    using localhost as scm server hostname
    *BEGIN perl -e 'use IO::Socket; exit(not (new IO::Socket::INET(PeerAddr
    => @ARGV[0], PeerPort => @ARGV[1], Proto => tcp, Timeout => 5)));'
    localhost 7182 *
    *END (0) *
    scm server found
    *BEGIN which wget *
    /usr/bin/wget
    *END (0) *
    *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.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installing repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    sudo: unable to resolve host genius-Aspire-5749
    repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installed
    *BEGIN sudo apt-key add /tmp/scm_prepare_node.j5EWjpTj/archive.key *
    sudo: unable to resolve host genius-Aspire-5749
    OK
    *END (0) *
    Refreshing package metadata...
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://archive.cloudera.com precise-cm4 Release
    Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64
    Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64
    Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Get:3 http://us.archive.ubuntu.com precise-updates/main Sources [380 kB]
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Get:4 http://us.archive.ubuntu.com precise-updates/restricted Sources
    [5,467 B]
    Get:5 http://us.archive.ubuntu.com precise-updates/universe Sources
    [85.0 kB]
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Get:6 http://us.archive.ubuntu.com precise-updates/multiverse Sources
    [6,562 B]
    Get:7 http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    [601 kB]
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Get:8 http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages [10.1 kB]
    Get:9 http://us.archive.ubuntu.com precise-updates/universe amd64
    Packages [194 kB]
    Ign http://extras.ubuntu.com precise/main Translation-en
    Get:10 http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages [13.6 kB]
    Get:11 http://us.archive.ubuntu.com precise-updates/main i386 Packages
    [612 kB]
    Get:12 http://us.archive.ubuntu.com precise-updates/restricted i386
    Packages [10.0 kB]
    Get:13 http://us.archive.ubuntu.com precise-updates/universe i386
    Packages [197 kB]
    Get:14 http://us.archive.ubuntu.com precise-updates/multiverse i386
    Packages [13.8 kB]
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Fetched 2,179 kB in 3s (548 kB/s)
    Reading package lists...
    *END (0) *
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://us.archive.ubuntu.com precise-updates Release.gpg
    Hit http://archive.cloudera.com precise-cm4 Release
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates Release
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib TranslationIndex
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64
    Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64
    Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386 Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/main Sources
    Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
    Hit http://us.archive.ubuntu.com precise-updates/universe Sources
    Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
    Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://extras.ubuntu.com precise/main Translation-en
    Reading package lists...
    *END (0) *
    Installing oracle-j2sdk1.6 package...
    *BEGIN sudo dpkg -l oracle-j2sdk1.6 | grep -E
    '^ii[[:space:]]*oracle-j2sdk1.6[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
    Oracle(TM)
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep oracle-j2sdk1.6 *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers <
    pkg-java-maintainers@lists.alioth.debian.org>
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
    libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
    java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename:
    pool/contrib/o/oracle-j2sdk1.6/oracle-j2sdk1.6_1.6.0+update31_amd64.deb
    Size: 96896162
    SHA256: e3af578020ca3d595fbf1da7f006dde783fa10ace7e147ea135e5d09a8ad32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf85e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package (0.50).

    *END (0) *
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    oracle-j2sdk1.6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package oracle-j2sdk1.6 installed
    Installing cloudera-manager-agent package...
    *BEGIN sudo dpkg -l cloudera-manager-agent | grep -E
    '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-agent 4.5.1-1.cm451.p0.294~precise-cm4.5.1 The
    Cloudera Manager Agent
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-agent *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-agent
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: amd64
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 21926
    Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.0),
    zlib1g (>= 1:1.2.0), lsb-base, psmisc, bash, libsasl2-modules-gssapi-mit,
    libxslt1.1, libsqlite3-0
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-agent_4.5.1-1.cm451.p0.294~precise-cm4.5.1_amd64.deb

    Size: 5244892
    SHA256: a1f66cb651ee7d1a1832a5d2ae4a9def462d26543a7f006e7a2f0af2ea3b4fed
    SHA1: 8acedd1cc8be16806836aa6746d80012d4ac18d8
    MD5sum: e7c57a95151f3f28f899e15688576377
    Description: The Cloudera Manager Agent
    The Agent is deployed to machines running services managed by Cloudera
    Manager.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-agent is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-agent installed
    Installing cloudera-manager-daemons package...
    *BEGIN sudo dpkg -l cloudera-manager-daemons | grep -E
    '^ii[[:space:]]*cloudera-manager-daemons[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-daemons 4.5.1-1.cm451.p0.294~precise-cm4.5.1 Provides
    daemons for monitoring Hadoop and related tools.
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-daemons *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-daemons
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: all
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 168011
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-daemons_4.5.1-1.cm451.p0.294~precise-cm4.5.1_all.deb

    Size: 137887500
    SHA256: 29523b7f214bbc746014107623470270731f92dfdb25c39b7068691ac690495e
    SHA1: a22bd685b7e2c0ebb98d1950893f44a540f199e4
    MD5sum: 877c36c4a50080830ffe1f246d8ab462
    Description: Provides daemons for monitoring Hadoop and related tools.
    Provides daemons for monitoring Hadoop and related tools.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-daemons is already the newest version.
    cloudera-manager-daemons set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-daemons installed
    Configuring Cloudera Manager Agent...
    *BEGIN grep server_host=localhost /etc/cloudera-scm-agent/config.ini *
    server_host=localhost
    *END (0) *
    scm agent is already configured
    Starting Cloudera Manager Agent...
    *BEGIN /usr/sbin/service cloudera-scm-agent status | grep running *
    Checking for service cloudera-scm-agent * cloudera-scm-agent is running
    *END (0) *
    *BEGIN sudo /usr/sbin/service cloudera-scm-agent restart *
    sudo: unable to resolve host genius-Aspire-5749
    Stopping cloudera-scm-agent: * cloudera-scm-agent stopped
    Starting cloudera-scm-agent: * Couldn't start cloudera-scm-agent

    *END (0) *
    agent logs:
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    4-host-inspector: stopped
    4-host-inspector: removed process group
    4-host-inspector: stopped
    4-host-inspector: removed process group
    *END (0) *
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting
    process 4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring
    process 4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes
    are being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/201>> File "/usr/lib/python2.7/socket.py", line 571, in
    create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO Deleting
    unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting
    process 4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring
    process 4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes
    are being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    3 10:20:26 +0000] 1621 MainThread _cplogging INFO [20/Apr/2013:10:20:26]
    ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    *END (0) *
    end of agent logs.
    scm agent restarted
    Installation script completed successfully.
    all done
    closing logging file descriptor
  • Hendra Budiawan at Apr 22, 2013 at 8:36 am
    Hi,

    try to disable your firewall or allow port that cloudera manager used on
    iptables and restart the instalation.

    On Mon, Apr 22, 2013 at 1:06 PM, Sreenivasulu Nallapati wrote:

    Hi,

    can you please verify /etc/hostname?

    Even I used to get the same issue when installing CM on single node
    cluster.

    I mapped my hostname in /etc/hosts( ex: for hostname : xyz)

    127.0.0.1 localhost.localdomain localhost
    ip_address xyz xyz


    That worked fine for me.


    Thanks
    Sreeni

    On Sat, Apr 20, 2013 at 11:04 PM, Philip Zeyliger wrote:

    Hi there,
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.

    That's your issue. Try doing

    python -c 'import socket; print socket.getfqdn(),
    socket.gethostbyname(socket.getfqdn())'

    on the shell. If that fails (and given "sudo: unable to resolve host
    genius-Aspire-5749" in the logs, it probably will), you'll need to get your
    hostname resolution working.

    Cheers,

    -- Philip



    On Sat, Apr 20, 2013 at 10:27 AM, Raghuram Gururajan <
    raghuram.gururajan@gmail.com> wrote:
    Hi
    I am running the cloudera manager installer on my ubuntu and i am
    configuring for a single node cluster .I keep getting the below error
    *
    **Installation failed. Failed to receive heartbeat from agent. *

    - *Ensure that the host's hostname is configured properly.*
    - *Ensure that port 7182 is accessible on the Cloudera Manager
    server (check firewall rules).*
    - *Ensure that ports 9000 and 9001 are free on the host being added.*
    - *Check agent logs in /var/log/cloudera-scm-agent/ on the host
    being added (some of the logs can be found in the installation details
    *

    *My /etc/hosts looks as below*

    127.0.0.1 localhost.localdomain localhost
    127.0.0.1 genius-Aspire-5740

    # The following lines are desirable for IPv6 capable hosts
    #::1 ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters


    *My detailed logs are as below*
    /tmp/scm_prepare_node.j5EWjpTj
    using SSH_CLIENT to get the SCM hostname: 127.0.0.1 46194 3901
    opening logging file descriptor
    Starting installation script... Acquiring installation lock...
    *BEGIN flock 4 *
    *END (0) *
    Detecting root privileges...
    effective UID is 1001
    *BEGIN sudo -S id *
    sudo: unable to resolve host genius-Aspire-5749
    uid=0(root) gid=0(root) groups=0(root)
    *END (0) *
    Detecting distribution...
    *BEGIN grep 'Ubuntu' /etc/lsb-release *
    *END (0) *
    DISTRIB_ID=Ubuntu
    DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
    *BEGIN grep DISTRIB_CODENAME /etc/lsb-release *
    DISTRIB_CODENAME=precise
    *END (0) *
    *BEGIN echo DISTRIB_CODENAME=precise | cut -d = -f 2 *
    precise
    *END (0) *
    Detecting Cloudera Manager Server...
    *BEGIN host -t PTR 127.0.0.1 *
    1.0.0.127.in-addr.arpa domain name pointer localhost.
    *END (0) *
    using localhost as scm server hostname
    *BEGIN perl -e 'use IO::Socket; exit(not (new IO::Socket::INET(PeerAddr
    => @ARGV[0], PeerPort => @ARGV[1], Proto => tcp, Timeout => 5)));'
    localhost 7182 *
    *END (0) *
    scm server found
    *BEGIN which wget *
    /usr/bin/wget
    *END (0) *
    *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.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installing repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    sudo: unable to resolve host genius-Aspire-5749
    repository file
    /tmp/scm_prepare_node.j5EWjpTj/repos/ubuntu_precise/cloudera-manager.list
    installed
    *BEGIN sudo apt-key add /tmp/scm_prepare_node.j5EWjpTj/archive.key *
    sudo: unable to resolve host genius-Aspire-5749
    OK
    *END (0) *
    Refreshing package metadata...
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://archive.cloudera.com precise-cm4 Release
    Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    TranslationIndex
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64
    Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64
    Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386
    Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Get:3 http://us.archive.ubuntu.com precise-updates/main Sources [380
    kB]
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse i386
    Packages
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Get:4 http://us.archive.ubuntu.com precise-updates/restricted Sources
    [5,467 B]
    Get:5 http://us.archive.ubuntu.com precise-updates/universe Sources
    [85.0 kB]
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Get:6 http://us.archive.ubuntu.com precise-updates/multiverse Sources
    [6,562 B]
    Get:7 http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    [601 kB]
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Get:8 http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages [10.1 kB]
    Get:9 http://us.archive.ubuntu.com precise-updates/universe amd64
    Packages [194 kB]
    Ign http://extras.ubuntu.com precise/main Translation-en
    Get:10 http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages [13.6 kB]
    Get:11 http://us.archive.ubuntu.com precise-updates/main i386 Packages
    [612 kB]
    Get:12 http://us.archive.ubuntu.com precise-updates/restricted i386
    Packages [10.0 kB]
    Get:13 http://us.archive.ubuntu.com precise-updates/universe i386
    Packages [197 kB]
    Get:14 http://us.archive.ubuntu.com precise-updates/multiverse i386
    Packages [13.8 kB]
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Fetched 2,179 kB in 3s (548 kB/s)
    Reading package lists...
    *END (0) *
    *BEGIN sudo apt-get update *
    sudo: unable to resolve host genius-Aspire-5749
    Ign http://archive.cloudera.com precise-cm4 InRelease
    Ign http://archive.cloudera.com precise-cm4.5.1 InRelease
    Ign http://extras.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-backports InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://archive.cloudera.com precise-cm4 Release.gpg
    Ign http://security.ubuntu.com precise-security InRelease
    Hit http://us.archive.ubuntu.com precise Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release.gpg
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Hit http://us.archive.ubuntu.com precise-updates Release.gpg
    Hit http://archive.cloudera.com precise-cm4 Release
    Hit http://security.ubuntu.com precise-security Release.gpg
    Hit http://us.archive.ubuntu.com precise-backports Release.gpg
    Hit http://archive.cloudera.com precise-cm4.5.1 Release
    Hit http://extras.ubuntu.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://us.archive.ubuntu.com precise Release
    Hit http://security.ubuntu.com precise-security Release
    Hit http://archive.cloudera.com precise-cm4/contrib Sources
    Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates Release
    Hit http://archive.cloudera.com precise-cm4.5.1/contrib amd64 Packages
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    TranslationIndex
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://extras.ubuntu.com precise/main Sources
    Hit http://security.ubuntu.com precise-security/main Sources
    Hit http://us.archive.ubuntu.com precise-backports Release
    Hit http://us.archive.ubuntu.com precise/main Sources
    Hit http://us.archive.ubuntu.com precise/restricted Sources
    Hit http://us.archive.ubuntu.com precise/universe Sources
    Hit http://us.archive.ubuntu.com precise/multiverse Sources
    Hit http://us.archive.ubuntu.com precise/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
    Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
    Hit http://us.archive.ubuntu.com precise/main i386 Packages
    Hit http://ppa.launchpad.net precise/main amd64 Packages
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://extras.ubuntu.com precise/main amd64 Packages
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
    Hit http://us.archive.ubuntu.com precise/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
    Hit http://us.archive.ubuntu.com precise/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted Sources
    Hit http://security.ubuntu.com precise-security/universe Sources
    Hit http://security.ubuntu.com precise-security/multiverse Sources
    Hit http://security.ubuntu.com precise-security/main amd64 Packages
    Hit http://security.ubuntu.com precise-security/restricted amd64
    Packages
    Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    Hit http://security.ubuntu.com precise-security/multiverse amd64
    Packages
    Hit http://security.ubuntu.com precise-security/main i386 Packages
    Hit http://security.ubuntu.com precise-security/restricted i386
    Packages
    Hit http://security.ubuntu.com precise-security/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
    Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/main Sources
    Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
    Hit http://us.archive.ubuntu.com precise-updates/universe Sources
    Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
    Hit http://security.ubuntu.com precise-security/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
    Hit http://us.archive.ubuntu.com precise-updates/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-updates/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/main Sources
    Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
    Hit http://us.archive.ubuntu.com precise-backports/universe Sources
    Hit http://security.ubuntu.com precise-security/main TranslationIndex
    Hit http://security.ubuntu.com precise-security/multiverse
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/restricted
    TranslationIndex
    Hit http://security.ubuntu.com precise-security/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
    Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
    Hit http://us.archive.ubuntu.com precise-backports/restricted i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/universe i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/multiverse i386
    Packages
    Hit http://us.archive.ubuntu.com precise-backports/main
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise-backports/universe
    TranslationIndex
    Hit http://us.archive.ubuntu.com precise/main Translation-en
    Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
    Hit http://security.ubuntu.com precise-security/main Translation-en
    Hit http://security.ubuntu.com precise-security/multiverse
    Translation-en
    Hit http://security.ubuntu.com precise-security/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise/restricted Translation-en
    Hit http://us.archive.ubuntu.com precise/universe Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-updates/universe
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/multiverse
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/restricted
    Translation-en
    Hit http://us.archive.ubuntu.com precise-backports/universe
    Translation-en
    Hit http://security.ubuntu.com precise-security/universe Translation-en
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
    Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib
    Translation-en_US
    Ign http://archive.cloudera.com precise-cm4.5.1/contrib Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en
    Ign http://extras.ubuntu.com precise/main Translation-en
    Reading package lists...
    *END (0) *
    Installing oracle-j2sdk1.6 package...
    *BEGIN sudo dpkg -l oracle-j2sdk1.6 | grep -E
    '^ii[[:space:]]*oracle-j2sdk1.6[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii oracle-j2sdk1.6 1.6.0+update31 Java(TM) JDK, Standard Edition,
    Oracle(TM)
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep oracle-j2sdk1.6 *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Package: oracle-j2sdk1.6
    Version: 1.6.0+update31
    Architecture: amd64
    Maintainer: Debian Java Maintainers <
    pkg-java-maintainers@lists.alioth.debian.org>
    Installed-Size: 224994
    Depends: libasound2 (>= 1.0.16), libc6 (>= 2.2.5), libx11-6, libxext6,
    libxi6, libxt6, libxtst6
    Recommends: netbase, libgtk1.2, libstdc++5
    Replaces: oracle-j2sdk1.6debian
    Provides: j2re1.6, j2sdk1.6, java-browser-plugin, java-compiler,
    java-runtime, java-runtime-headless, java-sdk, java-virtual-machine,
    java2-compiler, java2-runtime, java2-runtime-headless, java2-sdk
    Priority: optional
    Section: non-free/devel
    Filename:
    pool/contrib/o/oracle-j2sdk1.6/oracle-j2sdk1.6_1.6.0+update31_amd64.deb
    Size: 96896162
    SHA256: e3af578020ca3d595fbf1da7f006dde783fa10ace7e147ea135e5d09a8ad32b9
    SHA1: 4b4cd040b2b71f1b754180d89c8e69f5940d27a5
    MD5sum: 183149f3ddc42fcc03e137bea41cf85e
    Description: Java(TM) JDK, Standard Edition, Oracle(TM)
    The Java(TM) 2 SDK is a development environment for building
    applications, applets, and components that can be deployed on the
    Java(TM) platform.
    .
    The Java(TM) 2 SDK software includes tools useful for developing and
    testing programs written in the Java programming language and running
    on the Java platform. These tools are designed to be used from the
    command line. Except for appletviewer, these tools do not provide a
    graphical user interface.
    .
    This package has been automatically created with java-package (0.50).

    *END (0) *
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install oracle-j2sdk1.6 *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    oracle-j2sdk1.6 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package oracle-j2sdk1.6 installed
    Installing cloudera-manager-agent package...
    *BEGIN sudo dpkg -l cloudera-manager-agent | grep -E
    '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-agent 4.5.1-1.cm451.p0.294~precise-cm4.5.1 The
    Cloudera Manager Agent
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-agent *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-agent
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: amd64
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 21926
    Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.0),
    zlib1g (>= 1:1.2.0), lsb-base, psmisc, bash, libsasl2-modules-gssapi-mit,
    libxslt1.1, libsqlite3-0
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-agent_4.5.1-1.cm451.p0.294~precise-cm4.5.1_amd64.deb

    Size: 5244892
    SHA256: a1f66cb651ee7d1a1832a5d2ae4a9def462d26543a7f006e7a2f0af2ea3b4fed
    SHA1: 8acedd1cc8be16806836aa6746d80012d4ac18d8
    MD5sum: e7c57a95151f3f28f899e15688576377
    Description: The Cloudera Manager Agent
    The Agent is deployed to machines running services managed by Cloudera
    Manager.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-agent *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-agent is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-agent installed
    Installing cloudera-manager-daemons package...
    *BEGIN sudo dpkg -l cloudera-manager-daemons | grep -E
    '^ii[[:space:]]*cloudera-manager-daemons[[:space:]]*' *
    sudo: unable to resolve host genius-Aspire-5749
    ii cloudera-manager-daemons 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Provides daemons for monitoring Hadoop and related tools.
    *END (0) *
    *BEGIN echo oracle-j2sdk1.6 cloudera-manager-agent
    cloudera-manager-daemons | grep cloudera-manager-daemons *
    oracle-j2sdk1.6 cloudera-manager-agent cloudera-manager-daemons
    *END (0) *
    *BEGIN sudo apt-cache show cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Package: cloudera-manager-daemons
    Source: enterprise
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    Architecture: all
    Maintainer: Peter Linnell <plinnell@cloudera.com>
    Installed-Size: 168011
    Homepage: http://www.cloudera.com
    Priority: extra
    Section: misc
    Filename:
    pool/contrib/e/enterprise/cloudera-manager-daemons_4.5.1-1.cm451.p0.294~precise-cm4.5.1_all.deb

    Size: 137887500
    SHA256: 29523b7f214bbc746014107623470270731f92dfdb25c39b7068691ac690495e
    SHA1: a22bd685b7e2c0ebb98d1950893f44a540f199e4
    MD5sum: 877c36c4a50080830ffe1f246d8ab462
    Description: Provides daemons for monitoring Hadoop and related tools.
    Provides daemons for monitoring Hadoop and related tools.

    *END (0) *
    Version: 4.5.1-1.cm451.p0.294~precise-cm4.5.1
    *BEGIN sudo apt-get -o Dpkg::Options::=--force-confdef -o
    Dpkg::Options::=--force-confold -y install cloudera-manager-daemons *
    sudo: unable to resolve host genius-Aspire-5749
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cloudera-manager-daemons is already the newest version.
    cloudera-manager-daemons set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
    *END (0) *
    remote package cloudera-manager-daemons installed
    Configuring Cloudera Manager Agent...
    *BEGIN grep server_host=localhost /etc/cloudera-scm-agent/config.ini *
    server_host=localhost
    *END (0) *
    scm agent is already configured
    Starting Cloudera Manager Agent...
    *BEGIN /usr/sbin/service cloudera-scm-agent status | grep running *
    Checking for service cloudera-scm-agent * cloudera-scm-agent is running
    *END (0) *
    *BEGIN sudo /usr/sbin/service cloudera-scm-agent restart *
    sudo: unable to resolve host genius-Aspire-5749
    Stopping cloudera-scm-agent: * cloudera-scm-agent stopped
    Starting cloudera-scm-agent: * Couldn't start cloudera-scm-agent

    *END (0) *
    agent logs:
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent INFO SCM Agent
    Version: 4.5.1
    [20/Apr/2013 10:20:30 +0000] 8709 MainThread agent ERROR Could not
    determine hostname or ip address; proceeding.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 1463, in
    parse_arguments
    ip_address = socket.gethostbyname(fqdn)
    gaierror: [Errno -5] No address associated with hostname
    usage: agent.py [-h] [--agent_dir AGENT_DIR]
    [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
    PACKAGE_DIR [--parcel_dir PARCEL_DIR]
    [--supervisord_path SUPERVISORD_PATH]
    [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
    [--standalone STANDALONE] [--master MASTER]
    [--environment ENVIRONMENT] [--host_id HOST_ID]
    [--disable_supervisord_events] [--disable_eager_heartbeats]
    --hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls]
    [--client_key_file CLIENT_KEY_FILE]
    [--client_cert_file CLIENT_CERT_FILE]
    [--verify_cert_file VERIFY_CERT_FILE]
    [--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE]
    [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
    agent.py: error: argument --hostname is required
    [20/Apr/2013 10:20:30 +0000] 8709 Dummy-1 agent INFO Stopping agent...
    4-host-inspector: stopped
    4-host-inspector: removed process group
    4-host-inspector: stopped
    4-host-inspector: removed process group
    *END (0) *
    *BEGIN sudo tail -n 50
    /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/' *
    sudo: unable to resolve host genius-Aspire-5749
    sudo: unable to resolve host genius-Aspire-5749
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO
    Deleting unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO
    Deleting unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting
    process 4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring
    process 4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes
    are being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/201>> File "/usr/lib/python2.7/socket.py", line 571, in
    create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:14:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:15:53 +0000] 1621 MainThread agent ERROR Heartbeating
    to localhost:7182 failed.
    Traceback (most recent call last):
    File "/usr/lib/cmf/agent/src/cmf/agent.py", line 661, in
    send_heartbeat
    self.master_port)
    File
    "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/avro-1.6.3-py2.7.egg/avro/ipc.py",
    line 471, in __init__
    self.conn.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    error: [Errno 111] Connection refused
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/IMPALA-0.7-1.p0.309/meta/impala_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Deactivating
    system symlinks for parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:08 +0000] 1621 MainThread parcel INFO Executing
    command
    ['/opt/cloudera/parcels/CDH-4.2.0-1.cdh4.2.0.p0.10/meta/cdh_alternatives.sh',
    'deactivate']
    [20/Apr/2013 10:16:10 +0000] 1621 MainThread parcel_cache INFO
    Deleting unmanaged parcel CDH-4.2.0-1.cdh4.2.0.p0.10
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread parcel_cache INFO
    Deleting unmanaged parcel IMPALA-0.7-1.p0.309
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Deleting
    process 4-host-inspector
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Triggering
    supervisord update.
    [20/Apr/2013 10:16:12 +0000] 1621 MainThread agent INFO Retiring
    process 4-host-inspector
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Stopping
    agent...
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No cgrouped
    processes running; unmounting any cgroup roots
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO No processes
    are being managed; Supervisor will shutdown.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Shutting down
    supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Successfully
    shutdown supervisord, pid 2027
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) shut
    down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Stopped thread '_TimeoutMonitor'.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE HTTP Server
    cherrypy._cpwsgi_server.CPWSGIServer(('genius-Aspire-5749', 9000)) already
    shut down
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE No thread running for None.
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    3 10:20:26 +0000] 1621 MainThread _cplogging INFO [20/Apr/2013:10:20:26]
    ENGINE Bus STOPPED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITING
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread _cplogging INFO
    [20/Apr/2013:10:20:26] ENGINE Bus EXITED
    [20/Apr/2013 10:20:26 +0000] 1621 MainThread agent INFO Agent exiting;
    caught signal 15
    *END (0) *
    end of agent logs.
    scm agent restarted
    Installation script completed successfully.
    all done
    closing logging file descriptor

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 20, '13 at 5:27p
activeApr 22, '13 at 8:36a
posts4
users4
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase