Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACBB3200B21 for ; Fri, 10 Jun 2016 16:08:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AB69E160A38; Fri, 10 Jun 2016 14:08:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0151E160A15 for ; Fri, 10 Jun 2016 16:08:22 +0200 (CEST) Received: (qmail 82195 invoked by uid 500); 10 Jun 2016 14:08:21 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 81985 invoked by uid 99); 10 Jun 2016 14:08:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2016 14:08:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2E2F32C1F61 for ; Fri, 10 Jun 2016 14:08:21 +0000 (UTC) Date: Fri, 10 Jun 2016 14:08:21 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-17163) Wildcards shouldn't be used for package installation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Jun 2016 14:08:23 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324501#comment-15324501 ] Hudson commented on AMBARI-17163: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #5051 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5051/]) AMBARI-17163. Wildcards shouldn't be used for package installation (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d58382a877ba1b6f5ca210c5cad961cd24586038]) * ambari-common/src/main/python/resource_management/libraries/script/script.py > Wildcards shouldn't be used for package installation > ---------------------------------------------------- > > Key: AMBARI-17163 > URL: https://issues.apache.org/jira/browse/AMBARI-17163 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.4.0 > > Attachments: AMBARI-17163.patch > > > Traceback (most recent call last): > File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor.py", line 112, in > Supervisor().execute() > File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 257, in execute > method(env) > File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor.py", line 43, in install > self.configure(env) > File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/supervisor.py", line 48, in configure > storm("supervisor") > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk > return fn(*args, **kwargs) > File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1/package/scripts/storm.py", line 76, in storm > cd_access="a", > File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ > self.env.run() > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run > self.run_action(resource, action) > File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action > provider_action() > File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 185, in action_create > sudo.makedirs(path, self.resource.mode or 0755) > File "/usr/lib/python2.6/site-packages/resource_management/core/sudo.py", line 174, in makedirs > shell.checked_call(["mkdir", "-p", path], sudo=True) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner > result = function(command, **kwargs) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call > tries=tries, try_sleep=try_sleep) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper > result = _call(command, **kwargs_copy) > File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in _call > raise Fail(err_msg) > resource_management.core.exceptions.Fail: Execution of 'mkdir -p /usr/hdp/current/storm-supervisor/conf' returned 1. mkdir: cannot create directory `/usr/hdp/current/storm-supervisor': File exists > > **Reason:** > The problem happens because we install packages with * > Which causes a skip for storm-* because storm-*-slider is installed > > > 2016-06-09 10:10:43,490 - Package['storm_2_5_0_0_*'] {'retry_on_repo_unavailability': False, 'retry_count': 5} > 2016-06-09 10:10:43,864 - Skipping installation of existing package storm_2_5_0_0_* > > > > # rpm -qa | grep storm > storm_2_5_0_0_688-slider-client-1.0.1.2.5.0.0-688.el6.x86_6 > > **Solution**: > RE should do the change in manifests. To not propagate wildcards in package- > version. -- This message was sent by Atlassian JIRA (v6.3.4#6332)