ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yao lei" <leisure2...@163.com>
Subject Re: Review Request 42021: Enhance the function of HdfsResource to copy local matching wildcard files to hdfs
Date Sun, 10 Jan 2016 09:02:34 GMT


> On 一月 8, 2016, 4:01 a.m., Matt wrote:
> > ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py,
line 308
> > <https://reviews.apache.org/r/42021/diff/1/?file=1186034#file1186034line308>
> >
> >     Why is only index 0 considered? What about the other matches?

Resolved.Thanks Matt.


- yao


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42021/#review113403
-----------------------------------------------------------


On 一月 10, 2016, 7:12 a.m., yao lei wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42021/
> -----------------------------------------------------------
> 
> (Updated 一月 10, 2016, 7:12 a.m.)
> 
> 
> Review request for Ambari.
> 
> 
> Bugs: AMBARI-14536
>     https://issues.apache.org/jira/browse/AMBARI-14536
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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")
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
731bce7 
> 
> Diff: https://reviews.apache.org/r/42021/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> yao lei
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message