> On March 13, 2017, 6:43 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/spark_service.py
> > Line 66 (original), 66 (patched)
> > <https://reviews.apache.org/r/57557/diff/1/?file=1662688#file1662688line66>
> >
> >     Ok, question still applies. This will then make starting slower.

`copy_to_hdfs` will skip copying the file if its identical to the new source 
file.

```
2017-03-14 15:00:52,265 - DFS file 
/hdp/apps/2.5.3.0-37/spark2/spark2-hdp-yarn-archive.tar.gz is identical to 
/tmp/spark2/spark2-hdp-yarn-archive.tar.gz, skipping the copying
```


- Attila


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


On March 13, 2017, 1:47 p.m., Attila Doroszlai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57557/
> -----------------------------------------------------------
> 
> (Updated March 13, 2017, 1:47 p.m.)
> 
> 
> Review request for Ambari, Bikas Saha, Laszlo Puskas, and Sandor Magyari.
> 
> 
> Bugs: AMBARI-20417
>     https://issues.apache.org/jira/browse/AMBARI-20417
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Fix directory permissions even if already present.  Force upload to HDFS.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/spark_service.py
>  c8a2b33ff158fe781926bf88c03be471fa9de1ca 
> 
> 
> Diff: https://reviews.apache.org/r/57557/diff/1/
> 
> 
> Testing
> -------
> 
> Manual test according to steps to reproduce.
> 
> 
> Thanks,
> 
> Attila Doroszlai
> 
>

Reply via email to