You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/05/06 11:04:01 UTC

[jira] [Resolved] (AMBARI-10949) Hcat install task fails on a secure cluster

     [ https://issues.apache.org/jira/browse/AMBARI-10949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-10949.
--------------------------------------
    Resolution: Fixed

Committed to trunk

> Hcat install task fails on a secure cluster
> -------------------------------------------
>
>                 Key: AMBARI-10949
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10949
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> **Hcat install Task log:**
>     
>     
>     
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 55, in <module>
>         HCatClient().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/HIVE/0.12.0.2.0/package/scripts/hcat_client.py", line 30, in install
>         import params
>       File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params.py", line 26, in <module>
>         from params_linux import *
>       File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py", line 403, in <module>
>         'jdbc.url': format("{hive_url}/default;principal={hive_principal}") if security_enabled else hive_url,
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 83, in format
>         return ConfigurationFormatter().format(format_string, args, **result)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", line 47, in format
>         result_protected = self.vformat(format_string, args, all_params)
>       File "/usr/lib64/python2.6/string.py", line 549, in vformat
>         result = self._vformat(format_string, args, kwargs, used_args, 2)
>       File "/usr/lib64/python2.6/string.py", line 571, in _vformat
>         obj, arg_used = self.get_field(field_name, args, kwargs)
>       File "/usr/lib64/python2.6/string.py", line 632, in get_field
>         obj = self.get_value(first, args, kwargs)
>       File "/usr/lib64/python2.6/string.py", line 591, in get_value
>         return kwargs[key]
>     KeyError: 'hive_principal'
>     



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