Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cluster installation failing .

avatar
Rising Star

Hello All ,

 

 I get this error when iam trying to add a cluster .

 

Installing jdk package...

BEGIN yum list installed jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Installed Packages
jdk.x86_64 2000:1.7.0_55-fcs installed
END (0)
BEGIN echo jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons | grep jdk
jdk oracle-j2sdk1.7 cloudera-manager-agent cloudera-manager-daemons
END (0)
BEGIN yum info jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/repodata/repomd.xml: [Errno 12] Timeout on http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudera-manager. Please verify its path and try again
END (1)
remote package jdk is not available, giving up
waiting for rollback request

 

1. I have jdfk already installed in my system and i again manually installed . Stil then i get this error .

2, I have intalled Cloudera manager 5 but the link its refering is [http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/repodata/repomd.xml:. ] Cloudera manager 4 version . I am very much confused as i deleted all the repo files . I dono where its refereing to 4 version .

 

Please Help me with this issue 😞

 

Thanks

Balakumar

Thanks
Bala
1 ACCEPTED SOLUTION

avatar
Rising Star
I installed the Cloudera Manager successfully . I was first installing the free edition . this time i re-installed with the Enterprise edition which to my surprise installed everything without any issues .
Thanks
Bala

View solution in original post

7 REPLIES 7

avatar
Expert Contributor

Balakumar,

Can't say much except the things you likely already know (sorry!):

* Make sure there are no cm4 repos

* run yum clean all or similar

* if using CM installer, ensure you are using the correct version.

avatar
Rising Star
Hello ,

I made some changes to the etc/hosts . Now while adding cluster its stuck at distributing the Cluster . Its staying in 0% .
What should i do , this is the log file data

2014-06-23 02:42:59,559 INFO [StaleEntityEviction:model.HeartbeatStore@107] Reaped 0 process heartbeats and 0 host heartbeats.
2014-06-23 02:42:59,564 INFO [StaleEntityEviction:cmf.StaleEntityEvictionThread@238] Found no commands older than 2012-06-22T21:12:59.563Z to reap.
2014-06-23 02:42:59,565 INFO [StaleEntityEviction:node.NodeScannerService@335] Reaped 0 requests.
2014-06-23 02:42:59,565 INFO [StaleEntityEviction:node.NodeConfiguratorService@358] Reaped 0 requests.
2014-06-23 02:43:25,969 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:44:39,756 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:45:57,719 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:47:11,853 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:48:28,955 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:49:46,071 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo
2014-06-23 02:50:59,881 INFO [ParcelUpdateService:components.LocalParcelManagerImpl@97] Found files CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel under /opt/cloudera/parcel-repo

Thanks
Thanks
Bala

avatar
Rising Star
this is my etc/host file

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.18.42.119 inbasdlp00958.mycompany.ad INCHCMPCCHE01
Thanks
Bala

avatar
Rising Star
Hello This is the agent log

Exception: Invalid parcel directory: manifest.json
[23/Jun/2014 03:19:31 +0000] 2597 MainThread agent INFO Using parcels directory from server provided value: /opt/cloudera/parcel-repo
[23/Jun/2014 03:19:31 +0000] 2597 MainThread agent WARNING Expected user root for /opt/cloudera/parcel-repo but was cloudera-scm
[23/Jun/2014 03:19:31 +0000] 2597 MainThread agent WARNING Expected group root for /opt/cloudera/parcel-repo but was cloudera-scm
[23/Jun/2014 03:19:31 +0000] 2597 MainThread parcel INFO Agent does create users/groups and apply file permissions
[23/Jun/2014 03:19:31 +0000] 2597 MainThread parcel INFO Loading parcel manifest for: CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel.sha
[23/Jun/2014 03:19:31 +0000] 2597 MainThread parcel ERROR Exception while reading parcel: CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel.sha
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/src/cmf/parcel.py", line 104, in refresh
fd = open(manifest)
IOError: [Errno 20] Not a directory: u'/opt/cloudera/parcel-repo/CDH-5.0.2-1.cdh5.0.2.p0.13-el6.parcel.sha/meta/parcel.json'
[23/Jun/2014 03:19:31 +0000] 2597 MainThread parcel INFO Loading parcel manifest for: manifest.json
[23/Jun/2014 03:19:31 +0000] 2597 MainThread parcel ERROR Exception while reading parcel: manifest.json
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/src/cmf/parcel.py", line 104, in refresh
fd = open(manifest)
IOError: [Errno 20] Not a directory: u'/opt/cloudera/parcel-repo/manifest.json/meta/parcel.json'
[23/Jun/2014 03:19:31 +0000] 2597 MainThread agent ERROR Caught unexpected exception in main loop.
Traceback (most recent call last):
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 454, in start
self._init_after_first_heartbeat_response(heartbeat_response["data"])
File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 529, in _init_after_first_heartbeat_response
self.repo.refresh()
File "/usr/lib64/cmf/agent/src/cmf/parcel.py", line 136, in refresh
pid = ParcelId.dir(child)
File "/usr/lib64/cmf/agent/src/cmf/parcel_id.py", line 74, in dir
raise Exception("Invalid parcel directory: %s" % (dir))

What shall i do ?
Thanks
Bala

avatar
Rising Star
no reply ?????
Thanks
Bala

avatar
Rising Star
I installed the Cloudera Manager successfully . I was first installing the free edition . this time i re-installed with the Enterprise edition which to my surprise installed everything without any issues .
Thanks
Bala

avatar
Contributor

What was the issue with free edition?