You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "yaolei (JIRA)" <ji...@apache.org> on 2016/01/09 19:34:39 UTC
[jira] [Updated] (AMBARI-14536) Enhance the function of
HdfsResource to copy matching wildcard files to hdfs
[ https://issues.apache.org/jira/browse/AMBARI-14536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yaolei updated AMBARI-14536:
----------------------------
Summary: Enhance the function of HdfsResource to copy matching wildcard files to hdfs (was: Enhance the function of HdfsResource to copy matching wildcard file to hdfs)
> Enhance the function of HdfsResource to copy matching wildcard files 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 local matching wildcard files 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)