[ 
https://issues.apache.org/jira/browse/AMBARI-10680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508454#comment-14508454
 ] 

Sumit Mohanty commented on AMBARI-10680:
----------------------------------------

LGTM, +1.

[~rlevas], can you also take a look at the patch, thanks.

> Phoenix Query Server not supported in secure deployments
> --------------------------------------------------------
>
>                 Key: AMBARI-10680
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10680
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>         Attachments: AMBARI-10680.00.patch
>
>
> Looks like we have some dots yet to connect.
> {noformat}
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py",
>  line 59, in <module>
>     PhoenixQueryServer().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 214, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py",
>  line 42, in start
>     self.configure(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py",
>  line 37, in configure
>     hbase(name='queryserver')
>   File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", 
> line 89, in thunk
>     return fn(*args, **kwargs)
>   File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py",
>  line 132, in hbase
>     hbase_TemplateConfig( format("hbase_{name}_jaas.conf"))
>   File 
> "/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py",
>  line 175, in hbase_TemplateConfig
>     template_tag = tag
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", 
> line 148, in __init__
>     self.env.run()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 152, in run
>     self.run_action(resource, action)
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 118, in run_action
>     provider_action()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/template_config.py",
>  line 47, in action_create
>     content = Template(template_name, 
> extra_imports=self.resource.extra_imports)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 125, in __init__
>     self.template = self.template_env.get_template(self.name)     
>   File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 
> 716, in get_template
>     return self._load_template(name, self.make_globals(globals))
>   File "/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line 
> 690, in _load_template
>     template = self.loader.load(self, name, globals)
>   File "/usr/lib/python2.6/site-packages/ambari_jinja2/loaders.py", line 115, 
> in load
>     source, filename, uptodate = self.get_source(environment, name)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", 
> line 105, in get_source
>     raise TemplateNotFound("%s at %s" % (template_name, path))
> ambari_jinja2.exceptions.TemplateNotFound: hbase_queryserver_jaas.conf.j2 at 
> /var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/templates/hbase_queryserver_jaas.conf.j2
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to