Member since
10-01-2018
16
Posts
0
Kudos Received
0
Solutions
10-08-2018
10:23 AM
Hi Geofrrey, Thanks a lot I resolved the issue by removing hdp and installing again. Thanks for your support. I am facing another issue. when I execute command - telnet localhost 50070 it is showing connection is refused. May I know why connection is refusing. I need to fix it. Please help me on this
... View more
10-08-2018
09:04 AM
HI Aditya, thanks for your response. I rectified it. I forget to modify Hadoop_home in .bashrc file. I modified it and re ran and now it is working fine. My yarn node manager is failing. when run, it will run successfully and with in a few seconds it will fail. I error it is showing like - Node Manger web Ui is unreachable. help me to resolve this please
... View more
10-08-2018
08:40 AM
If I reinstall will it affect any ambari related services? any dependency files may be deleted? please provide me all steps of reinstallation so that it wont get affect any dependency files.
... View more
10-08-2018
07:48 AM
I have reinstalled Hadoop using Ambari on Hortonworks. All my services started successfully. somehow Hadoop fs -ls command is giving following error. can some one help me on this? # hadoop fs -ls / /usr/hdp/2.6.5.0-292//hadoop/bin/hadoop.distro: line 31: /usr/hdp/2.5.6.0-40/hadoop/libexec/hadoop-config.sh: No such file or directory /usr/hdp/2.6.5.0-292//hadoop/bin/hadoop.distro: line 180: exec: : not found
... View more
Labels:
- Labels:
-
Apache Hadoop
10-05-2018
10:52 AM
this issue got resolved. now it is failing while deploying. error is as below: Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py", line 37, in <module>
BeforeInstallHook().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 382, in execute
self.save_component_version_to_structured_out(self.command_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 244, in save_component_version_to_structured_out
stack_select_package_name = stack_select.get_package_name()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 110, in get_package_name
package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, component_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 224, in get_packages
supported_packages = get_supported_packages()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 148, in get_supported_packages
raise Fail("Unable to query for supported packages using {0}".format(stack_selector_path))
resource_management.core.exceptions.Fail: Unable to query for supported packages using /usr/bin/hdp-select what might be the issue.
... View more
10-05-2018
10:45 AM
I think this is the error. raise Fail("Unable to query for supported packages using {0}".format(stack_selector_path))
resource_management.core.exceptions.Fail: Unable to query for supported packages using /usr/bin/hdp-select
... View more
10-05-2018
09:17 AM
Hi Geoffrey, Thanks a lot. I reinstalled and installed again. it worked. this time when I deploy services, it failed at App Timeline Server Install step as below. this is the error. Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py", line 37, in <module>
BeforeInstallHook().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 382, in execute
self.save_component_version_to_structured_out(self.command_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 244, in save_component_version_to_structured_out
stack_select_package_name = stack_select.get_package_name()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 110, in get_package_name
package = get_packages(PACKAGE_SCOPE_STACK_SELECT, service_name, component_name)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 224, in get_packages
supported_packages = get_supported_packages()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/stack_select.py", line 148, in get_supported_packages
raise Fail("Unable to query for supported packages using {0}".format(stack_selector_path))
resource_management.core.exceptions.Fail: Unable to query for supported packages using /usr/bin/hdp-select Help me to resolve this.
... View more
10-04-2018
09:26 AM
I feel this error causing the issue. when I try to register host. ERROR 2018-10-04 02:06:28,974 script_alert.py:123 - [Alert][hive_webhcat_server_status] Failed with result CRITICAL: ['Connection failed to http://testserver-gbs-auto-cog1.sl1027443.sl.edst.ibm.com:50111/templeton/v1/status?user.name=ambari-qa + \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'] ERROR 2018-10-04 02:06:28,974 script_alert.py:123 - [Alert][hive_webhcat_server_status] Failed with result CRITICAL: ['Connection failed to http://testserver-gbs-auto-cog1.sl1027443.sl.edst.ibm.com:50111/templeton/v1/status?user.name=ambari-qa + \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'] ERROR 2018-10-04 02:06:28,978 script_alert.py:123 - [Alert][yarn_nodemanager_health] Failed with result CRITICAL: ['Connection failed to http://testserver-gbs-auto-cog1.sl1027443.sl.edst.ibm.com: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 171, 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)'] ERROR 2018-10-04 02:06:28,978 script_alert.py:123 - [Alert][yarn_nodemanager_health] Failed with result CRITICAL: ['Connection failed to http://testserver-gbs-auto-cog1.sl1027443.sl.edst.ibm.com: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 171, 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)']
... View more
10-04-2018
09:25 AM
I have removed ambari server and ambari agent using yum remove ambari-server ambari-agent -y but still by running below command I can see as below rpm -qa | grep ambari ambari-metrics-collector-2.4.3.0-30.x86_64 ambari-metrics-hadoop-sink-2.4.3.0-30.x86_64 ambari-infra-solr-client-2.4.3.0-30.x86_64 ambari-metrics-grafana-2.4.3.0-30.x86_64 ambari-infra-solr-2.4.3.0-30.x86_64 ambari-metrics-monitor-2.4.3.0-30.x86_64
... View more
10-04-2018
05:23 AM
Hi Geoffery, Thanks a lot for your response, I Have followed the same document for uninstalling. with your suggestion I am doing once again. while running below script which is part of clean up on the host node, I am getting below error, kindly help me to resolve it. python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --silent --skip=users /usr/bin/python: can't open file '/usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py': [Errno 2] No such file or directory
... View more
10-03-2018
12:07 PM
sed -i 's/verify=platform_default/verify=disable/' /etc/python/cert-verification.cfg sed: can't read /etc/python/cert-verification.cfg: No such file or directory.
... View more
10-03-2018
11:20 AM
Hi Amarnath, please find the error message attached.error-file.txt
... View more
10-03-2018
08:58 AM
Hi Amarnath reddy, Please find the error logs in file(error-file.txt) in above response and kindly suggest me how to resolve this.
... View more
10-03-2018
08:55 AM
Hi Geoffrey shelton, let me explain issue in details. Ambari agent is running. i had hadoop installed on server but i removed earlier packages and reinstalled hadoop because of some issues. at confirm hosts step it is failing because of host registration failed. see the attached file where you can see the logs and suggest me please.error-file.txt
... View more
10-01-2018
04:40 PM
Host registration got failed on Ambari at confirm hosts step. please find the screenshots attached and help me to resolve this issue. confirm-hosts.jpg error error-message.jpg
... View more
Labels:
- Labels:
-
Apache Ambari