Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9727F17F77 for ; Fri, 24 Oct 2014 01:00:22 +0000 (UTC) Received: (qmail 77278 invoked by uid 500); 24 Oct 2014 01:00:22 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 77244 invoked by uid 500); 24 Oct 2014 01:00:22 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 77235 invoked by uid 99); 24 Oct 2014 01:00:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 01:00:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 411925120D; Fri, 24 Oct 2014 01:00:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alejandro@apache.org To: commits@ambari.apache.org Message-Id: <981bf9eb29624e2b8c8226dd9548758b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-7942. Hiveserver2 and Webhcat fails to start in secure cluster (alejandro) Date: Fri, 24 Oct 2014 01:00:22 +0000 (UTC) Repository: ambari Updated Branches: refs/heads/branch-1.7.0 a7a960013 -> 3a9d5c5ec AMBARI-7942. Hiveserver2 and Webhcat fails to start in secure cluster (alejandro) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3a9d5c5e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3a9d5c5e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3a9d5c5e Branch: refs/heads/branch-1.7.0 Commit: 3a9d5c5ec40939cac812366f9b3f571749b1035f Parents: a7a9600 Author: Alejandro Fernandez Authored: Thu Oct 23 17:34:08 2014 -0700 Committer: Alejandro Fernandez Committed: Thu Oct 23 17:34:08 2014 -0700 ---------------------------------------------------------------------- .../libraries/functions/dynamic_variable_interpretation.py | 2 ++ .../stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py | 1 + 2 files changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/3a9d5c5e/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py ---------------------------------------------------------------------- diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py b/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py index 5112c45..97c9bf9 100644 --- a/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py +++ b/ambari-common/src/main/python/resource_management/libraries/functions/dynamic_variable_interpretation.py @@ -24,8 +24,10 @@ import glob import re from resource_management.libraries.functions.default import default +from resource_management.libraries.functions.format import format from resource_management.libraries.resources.copy_from_local import CopyFromLocal from resource_management.libraries.resources.execute_hadoop import ExecuteHadoop +from resource_management.core.resources.system import Execute from resource_management.core.exceptions import Fail from resource_management.core.logger import Logger http://git-wip-us.apache.org/repos/asf/ambari/blob/3a9d5c5e/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py index 4eeff8b..18b2651 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/webhcat.py @@ -23,6 +23,7 @@ import os.path import glob from resource_management import * +from resource_management.core.resources.system import Execute from resource_management.libraries.functions.version import compare_versions from resource_management.libraries.functions.dynamic_variable_interpretation import copy_tarballs_to_hdfs from resource_management.libraries.script.config_dictionary import MutableConfigDictionary