Masahiro Tanaka created AMBARI-17314:
----------------------------------------
Summary: Log Search Solr Client intsall failed due to missing
solrCloudCli.sh
Key: AMBARI-17314
URL: https://issues.apache.org/jira/browse/AMBARI-17314
Project: Ambari
Issue Type: Bug
Components: ambari-logsearch
Affects Versions: trunk
Environment: CentOS7.2,
Reporter: Masahiro Tanaka
Assignee: Masahiro Tanaka
When installing log search solr client via Ambari with default configurations,
we got an error.
{code}
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_solr_client.py",
line 51, in <module>
LogsearchSolrClient().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 257, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_solr_client.py",
line 30, in install
self.configure(env)
File
"/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/logsearch_solr_client.py",
line 35, in configure
setup_logsearch_solr(name = 'client')
File
"/var/lib/ambari-agent/cache/common-services/LOGSEARCH/0.5.0/package/scripts/setup_logsearch_solr.py",
line 98, in setup_logsearch_solr
solr_cloud_util.setup_solr_client(params.config)
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/solr_cloud_util.py",
line 105, in setup_solr_client
content=StaticFile(solrCliFilename)
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 123, in action_create
content = self._get_content()
File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 160, in _get_content
return content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py",
line 51, in __call__
return self.get_content()
File "/usr/lib/python2.6/site-packages/resource_management/core/source.py",
line 75, in get_content
raise Fail("{0} Source file {1} is not found".format(repr(self), path))
resource_management.core.exceptions.Fail:
StaticFile('/usr/lib/ambari-logsearch-solr-client/solrCloudCli.sh') Source file
/usr/lib/ambari-logsearch-solr-client/solrCloudCli.sh is not found
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)