Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67EAA1868D for ; Wed, 6 May 2015 09:04:01 +0000 (UTC) Received: (qmail 82643 invoked by uid 500); 6 May 2015 09:04:01 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 82598 invoked by uid 500); 6 May 2015 09:04:01 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 82331 invoked by uid 99); 6 May 2015 09:04:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 09:04:01 +0000 Date: Wed, 6 May 2015 09:04:01 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-10949) Hcat install task fails on a secure cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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 > 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 > '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)