Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Cloudera cluster install hangs

Cloudera cluster install hangs

New Contributor

Hi,

When I login into Cloudera Manger it goes to the Cluster Installation wizard, where it says it is installing parcels, but just hangs and nothing happens.

I checked the log on the nodes and it gives those errors:

Anyone knows what this parcel.torrent file is suppose to do what, and how to resolve this python errors?

thank you,

cluster package installation screenshot

 

Version: Cloudera Enterprise Data Hub Edition Trial 5.7.0 (#76 built by jenkins on 20160401-1334 git: ec0e7e69444280aa311511998bd83e8e6572f61c)

Java VM Name: Java HotSpot(TM) 64-Bit Server VM

Java VM Vendor: Oracle Corporation

Java Version: 1.7.0_67

http://10.3.1.46:7180/api/v12/clusters/Cluster%201/parcels

{

  "items" : [ {

    "product" : "CDH",

    "version" : "4.7.1-1.cdh4.7.1.p0.47",

    "stage" : "AVAILABLE_REMOTELY",

    "clusterRef" : {

      "clusterName" : "cluster"

    }

  }, {

    "product" : "SOLR",

    "version" : "1.3.0-1.cdh4.5.0.p0.9",

    "stage" : "AVAILABLE_REMOTELY",

    "clusterRef" : {

      "clusterName" : "cluster"

    }

  }, {

    "product" : "CDH",

    "version" : "5.7.0-1.cdh5.7.0.p0.45",

    "stage" : "ACTIVATED",

    "clusterRef" : {

      "clusterName" : "cluster"

    }

  }, {

    "product" : "IMPALA",

    "version" : "2.1.0-1.impala2.0.0.p0.1995",

    "stage" : "AVAILABLE_REMOTELY",

    "clusterRef" : {

      "clusterName" : "cluster"

    }

  } ]

}

 

http://10.3.1.46:7180/api/v12/clusters/Cluster%202/parcels

 

{  "items" : [ {    "product" : "CDH",    "version" : "4.7.1-1.cdh4.7.1.p0.47",    "stage" : "AVAILABLE_REMOTELY",    "clusterRef" : {      "clusterName" : "cluster2"    }  }, {    "product" : "SOLR",    "version" : "1.3.0-1.cdh4.5.0.p0.9",    "stage" : "AVAILABLE_REMOTELY",    "clusterRef" : {      "clusterName" : "cluster2"    }  }, {    "product" : "CDH",    "version" : "5.7.0-1.cdh5.7.0.p0.45",    "stage" : "DISTRIBUTING",    "clusterRef" : {      "clusterName" : "cluster2"    }  }, {    "product" : "IMPALA",    "version" : "2.1.0-1.impala2.0.0.p0.1995",    "stage" : "AVAILABLE_REMOTELY",    "clusterRef" : {      "clusterName" : "cluster2"    }  } ]}

 

http://10.3.1.46:7180/api/v12/cm/config

 

{  "items" : [ {    "name" : "CLUSTER_STATS_START",    "value" : "10/25/2012 22:40"  } ]}

 

  File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.7.0-py2.6.egg/cmf/downloader.py", line 263, in download
cmf.https.ssl_url_opener.fetch_to_file(torrent_url, torrent_file)
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.7.0-py2.6.egg/cmf/https.py", line 176, in fetch_to_file
resp = self.open(req_url)
File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.7.0-py2.6.egg/cmf/https.py", line 171, in open
return self.opener(*pargs, **kwargs)
File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
URLError: <urlopen error timed out>
[31/May/2016 15:18:55 +0000] 4793 Thread-13 downloader INFO Fetching torrent: http://hadoop5.vm:7180/cmf/parcel/download/CDH-5.7.0-1.cdh5.7.0.p0.45-el6.parcel.torrent

 

1 REPLY 1
Highlighted

Re: Cloudera cluster install hangs

New Contributor

I solved that parcel.torrent time-out problem. 

Found out the 4 agent nodes didn't have the hostname of the server in their host file. 

 

Now I just have to take care of those bits and pieces:

  • There are mismatched versions across the system, which will cause failures. See below for details on which hosts are running what versions of components.
  • Cloudera supports versions 1.6.0_31 and 1.7.0_55 of Oracle JVM and later. OpenJDK is not supported, and gcj is known to not work. Check the component version table below to identify hosts with unsupported versions of Java.
  • Cloudera supports versions 1.6.0_31 and 1.7.0_55 of Oracle JVM and later. OpenJDK is not supported, and gcj is known to not work. Check the component version table below to identify hosts with unsupported versions of Java.
  • Java version 6 not supported for CDH 5. You must use Java version 7.
  • Cloudera recommends setting /proc/sys/vm/swappiness to a maximum of 10. Current setting is 60. Use the sysctl command to change this setting at run time and edit/etc/sysctl.conf for this setting to be saved after a reboot. You can continue with installation, but Cloudera Manager might report that your hosts are unhealthy because they are swapping.