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 F01AB105E0 for ; Tue, 11 Mar 2014 15:00:54 +0000 (UTC) Received: (qmail 52198 invoked by uid 500); 11 Mar 2014 15:00:53 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 52007 invoked by uid 500); 11 Mar 2014 15:00:52 -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 51974 invoked by uid 99); 11 Mar 2014 15:00:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 15:00:51 +0000 Date: Tue, 11 Mar 2014 15:00:51 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-5021) 2.1.1 is hard coded in our python scripts which causes WEBHCAT install to fail. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Onischuk created AMBARI-5021: --------------------------------------- Summary: 2.1.1 is hard coded in our python scripts which causes WEBHCAT install to fail. Key: AMBARI-5021 URL: https://issues.apache.org/jira/browse/AMBARI-5021 Project: Ambari Issue Type: Bug Reporter: Andrew Onischuk Assignee: Andrew Onischuk Attachments: AMBARI-5021.patch {code} ######### HCAT if config['hostLevelParams']['stack_version'] == '2.1.1': hcat_conf_dir = '/etc/hive-hcatalog/conf' hcat_lib = '/usr/lib/hive-hcatalog/share/hcatalog' else: hcat_conf_dir = '/etc/hcatalog/conf' hcat_lib = '/usr/lib/hcatalog/share/hcatalog' {code} Since the new stacks are 2.0 and 2.1 this will cause all sorts of failures. We need to fix and make sure we do something like: If stack first 2 digits match 2.0 then we use: hcat_conf_dir = '/etc/hcatalog/conf' hcat_lib = '/usr/lib/hcatalog/share/hcatalog' else we use the other defaults. Similar fix is needed in: 2.0.6/services/HIVE/package/scripts/params.py -- This message was sent by Atlassian JIRA (v6.2#6252)