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 1C998183DA for ; Thu, 7 Jan 2016 02:30:40 +0000 (UTC) Received: (qmail 19174 invoked by uid 500); 7 Jan 2016 02:30:39 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 19135 invoked by uid 500); 7 Jan 2016 02:30:39 -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 19124 invoked by uid 99); 7 Jan 2016 02:30:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2016 02:30:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C0AA62C0453 for ; Thu, 7 Jan 2016 02:30:39 +0000 (UTC) Date: Thu, 7 Jan 2016 02:30:39 +0000 (UTC) From: "yaolei (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-14536) Enhance the function of HdfsResource to copy matching wildcard file to hdfs 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-14536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yaolei updated AMBARI-14536: ---------------------------- Affects Version/s: (was: 2.1.1) trunk > Enhance the function of HdfsResource to copy matching wildcard file to hdfs > --------------------------------------------------------------------------- > > Key: AMBARI-14536 > URL: https://issues.apache.org/jira/browse/AMBARI-14536 > Project: Ambari > Issue Type: Improvement > Affects Versions: trunk > Reporter: yaolei > Priority: Minor > Fix For: 2.3.0 > > Attachments: AMBARI-14536.patch > > > In some cases,we need to copy matching wildcard file to hdfs. > eg. we'd like to copy /usr/lib/spark*.jar to hdfs by following codes in Python: > params.HdfsResource(hdfs_path, > type="file", > action="create_on_execute", > source="/usr/lib/spark*.jar", > group=params.user_group, > owner=params.pdm_user, > mode=0755 > ) > params.HdfsResource(None, action="execute") -- This message was sent by Atlassian JIRA (v6.3.4#6332)