Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
-
None
Description
Fix the related issues:
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/SOLR/package/scripts/solr.py", line 151, in <module> Solr().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/SOLR/package/scripts/solr.py", line 52, in start self.configure(env) File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/SOLR/package/scripts/solr.py", line 47, in configure setup_solr(name = 'server') File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/SOLR/package/scripts/setup_solr.py", line 94, in setup_solr mode=0640) File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 123, in action_create content = self._get_content() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 160, in _get_content return content() File "/usr/lib/ambari-agent/lib/resource_management/core/source.py", line 52, in __call__ return self.get_content() File "/usr/lib/ambari-agent/lib/resource_management/core/source.py", line 144, in get_content rendered = self.template.render(self.context) File "/usr/lib/ambari-agent/lib/ambari_jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/var/lib/ambari-agent/cache/stacks/BGTP/1.0/services/SOLR/package/templates/solr-security.json.j2", line 32, in top-level template code "{{atlas_kerberos_service_user}}@{{kerberos_realm}}": ["{{solr_role_atlas}}", "{{solr_role_ranger_audit}}", "{{solr_role_dev}}"], ambari_jinja2.exceptions.UndefinedError: 'logfeeder_kerberos_service_user' is undefined