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 413D41081B for ; Mon, 3 Nov 2014 18:35:34 +0000 (UTC) Received: (qmail 49676 invoked by uid 500); 3 Nov 2014 18:35:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 49645 invoked by uid 500); 3 Nov 2014 18:35:34 -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 49622 invoked by uid 99); 3 Nov 2014 18:35:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 18:35:34 +0000 Date: Mon, 3 Nov 2014 18:35:34 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-8054) Version comparison fails for GlusterFS 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-8054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Fernandez resolved AMBARI-8054. ----------------------------------------- Resolution: Fixed Pushed additional fix to trunk in commit 0f9e6ffd2ec48958b89ba76904a8bf276c7acac7 Pushed additional fix to branch-1.7.0 in commit 8406ba86a94995898ab8fd3032439b0636067582 > Version comparison fails for GlusterFS > -------------------------------------- > > Key: AMBARI-8054 > URL: https://issues.apache.org/jira/browse/AMBARI-8054 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 1.7.0 > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Priority: Critical > Fix For: 1.7.0 > > Attachments: AMBARI-8054.fix.patch, AMBARI-8054.patch > > > When installing a cluster with GlusterFS stack, the version comparison fails. > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_client.py", line 42, in > HiveClient().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute > method(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_client.py", line 27, in install > import params > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py", line 32, in > hdp_stack_version = format_hdp_stack_version(hdp_stack_version) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 43, in format_hdp_stack_version > normalized = _normalize(str(input)) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 34, in _normalize > return [int(x) for x in v_list] > ValueError: invalid literal for int() with base 10: 'GlusterFS' > {code} > and > {code} > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 43, in > HCatClient().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute > method(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 28, in install > self.configure(env) > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hcat_client.py", line 31, in configure > import params > File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py", line 32, in > hdp_stack_version = format_hdp_stack_version(hdp_stack_version) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 43, in format_hdp_stack_version > normalized = _normalize(str(input)) > File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/version.py", line 34, in _normalize > return [int(x) for x in v_list] > ValueError: invalid literal for int() with base 10: 'GlusterFS' > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)