[
https://issues.apache.org/jira/browse/AMBARI-17463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Miklos Gergely resolved AMBARI-17463.
-------------------------------------
Resolution: Fixed
> log search start fails after HDF install
> ----------------------------------------
>
> Key: AMBARI-17463
> URL: https://issues.apache.org/jira/browse/AMBARI-17463
> Project: Ambari
> Issue Type: Bug
> Components: ambari-logsearch
> Affects Versions: 2.4.0
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Blocker
> Fix For: 2.4.0
>
> Attachments: AMBARI-17463.patch
>
>
> {code}
> 2016-06-28 00:25:30,946 - Log Search Server not running
> Traceback (most recent call last):
> File
> "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py",
> line 37, in <module>
> LogSearchServiceCheck().execute()
> File
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
> line 280, in execute
> method(env)
> File
> "/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/service_check.py",
> line 30, in service_check
> Execute(params.smoke_logsearch_cmd, user=params.logsearch_user, timeout =
> 10)
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
> line 155, in __init__
> self.env.run()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 160, in run
> self.run_action(resource, action)
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
> line 124, in run_action
> provider_action()
> File
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
> line 273, in action_run
> tries=self.resource.tries, try_sleep=self.resource.try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 71, in inner
> result = function(command, **kwargs)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 93, in checked_call
> tries=tries, try_sleep=try_sleep)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 141, in _call_wrapper
> result = _call(command, **kwargs_copy)
> File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
> line 294, in _call
> raise Fail(err_msg)
> resource_management.core.exceptions.Fail: Execution of 'curl -k -s -o
> /dev/null -w "%{http_code}"
> http://arpit-hdf-test2-1.openstacklocal:61888/login.jsp | grep 200' returned
> 1.
> {code}
> Running ambari
> {code}
> ambari-server-2.4.0.0-697.x86_64
> ambari-metrics-hadoop-sink-2.4.0.0-697.x86_64
> ambari-agent-2.4.0.0-697.x86_64
> ambari-logsearch-solr-client-2.4.0.0-697.x86_64
> ambari-logsearch-logfeeder-2.4.0.0-697.x86_64
> ambari-metrics-monitor-2.4.0.0-697.x86_64
> {code}
> using hdf management pack
> {code}
> ttp://s3.amazonaws.com/dev.hortonworks.com/HDF/hdf-ambari-mpack/2.0.0.0-19/hdf-ambari-mpack-2.0.0.0-19.tar.gz
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)