Support Questions

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

How much time does Ambari take to set up a cluster? It fails often. Is there any free alternative?

avatar
Explorer

Ambari takes too much time to install components. Is's been 2 hours at step 10 and completed only 3 components.It failed once while installing Hbase Client because of timeout of 1800 sec. I reduced it to 600 sec.

Kindly reply. Thank You..

Note: My internet speed is 3 Mbps.

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Did you retry when it was shown timeout from Ambari. It will try to install the failed components again. Also, INCREASING the timeout may help, if the download was in progress. See if that helps.

View solution in original post

2 REPLIES 2

avatar
Expert Contributor

Did you retry when it was shown timeout from Ambari. It will try to install the failed components again. Also, INCREASING the timeout may help, if the download was in progress. See if that helps.

avatar
Explorer

It failed while installing HCat Client. I retried and while its installing below is the ambari-agent.log

ERROR 2016-07-24 02:19:07,238 script_alert.py:112 - [Alert][yarn_nodemanager_health] Failed with result CRITICAL: ['Connection failed to http://localhost.localdomain:8042/ws/v1/node/info (Traceback (most recent call last):\n File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py", line 165, in execute\n url_response = urllib2.urlopen(query, timeout=connection_timeout)\n File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen\n return _opener.open(url, data, timeout)\n File "/usr/lib64/python2.6/urllib2.py", line 391, in open\n response = self._open(req, data)\n File "/usr/lib64/python2.6/urllib2.py", line 409, in _open\n \'_open\', req)\n File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain\n result = func(*args)\n File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open\n return self.do_open(httplib.HTTPConnection, req)\n File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open\n raise URLError(err)\nURLError: <urlopen error [Errno 111] Connection refused>\n)'] WARNING 2016-07-24 02:19:07,238 base_alert.py:417 - [Alert][yarn_resourcemanager_webui] HA nameservice value is present but there are no aliases for {{yarn-site/yarn.resourcemanager.ha.rm-ids}} ERROR 2016-07-24 02:19:07,256 script_alert.py:112 - [Alert][hive_webhcat_server_status] Failed with result CRITICAL: ['Connection failed to http://localhost.localdomain:8042/ws/v1/node/info + \nTraceback (most recent call last):\n File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_webhcat_server.py", line 190, in execute\n url_response = urllib2.urlopen(query_url, timeout=connection_timeout)\n File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen\n return _opener.open(url, data, timeout)\n File "/usr/lib64/python2.6/urllib2.py", line 391, in open\n response = self._open(req, data)\n File "/usr/lib64/python2.6/urllib2.py", line 409, in _open\n \'_open\', req)\n File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain\n result = func(*args)\n File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open\n return self.do_open(httplib.HTTPConnection, req)\n File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open\n raise URLError(err)\nURLError: <urlopen error [Errno 111] Connection refused>\n'] INFO 2016-07-24 02:19:07,263 logger.py:67 - Execute['export HIVE_CONF_DIR='/etc/hive/conf.server' ; hive --hiveconf hive.metastore.uris=thrift://localhost.localdomain:9083 --hiveconf hive.metastore.client.connect.retry.delay=1 --hiveconf hive.metastore.failure.retries=1 --hiveconf hive.metastore.connect.retries=1 --hiveconf hive.metastore.client.socket.timeout=14 --hiveconf hive.execution.engine=mr -e 'show databases;''] {'path': ['/bin/', '/usr/bin/', '/usr/sbin/', '/usr/lib/hive/bin'], 'user': 'ambari-qa', 'timeout': 60} INFO 2016-07-24 02:19:07,264 logger.py:67 - Execute['source /etc/oozie/conf/oozie-env.sh ; oozie admin -oozie http://localhost.localdomain:8042/ws/v1/node/info -status'] {'environment': None, 'user': 'oozie'} INFO 2016-07-24 02:19:07,275 logger.py:67 - Execute['! beeline -u 'jdbc:hive2://localhost.localdomain:10000/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL''] {'path': ['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'user': 'ambari-qa', 'timeout': 60} ERROR 2016-07-24 02:19:07,335 script_alert.py:112 - [Alert][hive_metastore_process] Failed with result CRITICAL: ['Metastore on localhost.localdomain failed (Traceback (most recent call last):\n File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py", line 183, in execute\n timeout=int(check_command_timeout) )\n File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__\n self.env.run()\n File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run\n self.run_action(resource, action)\n File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action\n provider_action()\n File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run\n tries=self.resource.tries, try_sleep=self.resource.try_sleep)\n File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner\n result = function(command, **kwargs)\n File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call\n tries=tries, try_sleep=try_sleep)\n File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper\n result = _call(command, **kwargs_copy)\n File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call\n raise Fail(err_msg)\nFail: Execution of \'export HIVE_CONF_DIR=\'/etc/hive/conf.server\' ; hive --hiveconf hive.metastore.uris=thrift://localhost.localdomain:9083 --hiveconf hive.metastore.client.connect.retry.delay=1 --hiveconf hive.metastore.failure.retries=1 --hiveconf hive.metastore.connect.retries=1 --hiveconf hive.metastore.client.socket.timeout=14 --hiveconf hive.execution.engine=mr -e \'show databases;\'\' returned 127. -bash: hive: command not found\n)'] ERROR 2016-07-24 02:19:07,359 script_alert.py:112 - [Alert][oozie_server_status] Failed with result CRITICAL: ["Execution of 'source /etc/oozie/conf/oozie-env.sh ; oozie admin -oozie http://localhost.localdomain:8042/ws/v1/node/info -status' returned 127. -bash: /etc/oozie/conf/oozie-env.sh: No such file or directory\n-bash: oozie: command not found"]