Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 11-23-2017 11:02 AM - edited 09-16-2022 05:33 AM
Hi,
I'm new to clusterdock and trying to get started on Mac Sierra 10.12.16 with Docker Version 17.09.0-ce-mac35.
Is there a trick to getting it running in this env? Below is what I'm seeing
clusterdock_run ./bin/start_cluster cdh
INFO:clusterdock.cluster:Network (cluster) not present, creating it...
INFO:clusterdock.cluster:Successfully setup network (name: cluster).
INFO:clusterdock.cluster:Successfully started node-2.cluster (IP address: 192.168.123.3).
INFO:clusterdock.cluster:Successfully started node-1.cluster (IP address: 192.168.123.2).
INFO:clusterdock.cluster:Started cluster in 21.95 seconds.
INFO:clusterdock.topologies.cdh.actions:Changing server_host to node-1.cluster in /etc/cloudera-scm-agent/config.ini...
INFO:clusterdock.topologies.cdh.actions:Restarting CM agents...
cloudera-scm-agent is already stopped
Starting cloudera-scm-agent: [ OK ]
Stopping cloudera-scm-agent: [ OK ]
Starting cloudera-scm-agent: [ OK ]
INFO:clusterdock.topologies.cdh.actions:Waiting for Cloudera Manager server to come online...
INFO:clusterdock.topologies.cdh.actions:Detected Cloudera Manager server after 38.06 seconds.
INFO:clusterdock.topologies.cdh.actions:CM server is now accessible at http://moby:32777
INFO:clusterdock.topologies.cdh.cm:Detected CM API v13.
INFO:clusterdock.topologies.cdh.cm_utils:Updating database configurations...
INFO:clusterdock.topologies.cdh.cm:Updating NameNode references in Hive metastore...
INFO:clusterdock.topologies.cdh.actions:Once its service starts, Hue server will be accessible at http://moby:32776
INFO:clusterdock.topologies.cdh.actions:Deploying client configuration...
INFO:clusterdock.topologies.cdh.actions:Starting cluster...
Traceback (most recent call last):
File "./bin/start_cluster", line 70, in <module>
main()
File "./bin/start_cluster", line 63, in main
actions.start(args)
File "/root/clusterdock/clusterdock/topologies/cdh/actions.py", line 153, in start
if not deployment.cluster.start().wait().success:
File "/root/clusterdock/clusterdock/topologies/cdh/cm_api/endpoints/types.py", line 547, in wait
cmd = self.fetch()
File "/root/clusterdock/clusterdock/topologies/cdh/cm_api/endpoints/types.py", line 524, in fetch
resp = self._get_resource_root().get(self._path())
File "/root/clusterdock/clusterdock/topologies/cdh/cm_api/resource.py", line 110, in get
return self.invoke("GET", relpath, params)
File "/root/clusterdock/clusterdock/topologies/cdh/cm_api/resource.py", line 73, in invoke
headers=headers)
File "/root/clusterdock/clusterdock/topologies/cdh/cm_api/http_client.py", line 172, in execute
return self._opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 401, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 419, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
`docker ps`
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b538d799cfbb cloudera/clusterdock:cdh580_cm581_secondary-node "/sbin/init" 8 minutes ago Up 8 minutes elated_poitras 2138ab9972ff cloudera/clusterdock:cdh580_cm581_primary-node "/sbin/init" 8 minutes ago Up 8 minutes 0.0.0.0:32777->7180/tcp, 0.0.0.0:32776->8888/tcp thirsty_brahmagupta
I try opening a browser to http://localhost:32777/ but nothing.
Any ideas or suggestions?
Thanks
Created 11-24-2017 04:20 AM
How much memory does your Mac have and how much are you allocating to the Docker VM? Guessing you're hitting a resource allocation problem where there's not enough RAM to sustain a cluster.
Created 11-24-2017 04:20 AM
How much memory does your Mac have and how much are you allocating to the Docker VM? Guessing you're hitting a resource allocation problem where there's not enough RAM to sustain a cluster.