This is an automated email from the ASF dual-hosted git repository.

asnaik pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 182304c  AMBARI-25288 [views][Filesview] Copy File Operation in 
Filesview is overwriting the file (asnaik) (#2989)
182304c is described below

commit 182304c6b481cc8a88d27e2aae658108195fa745
Author: Akhil S Naik <[email protected]>
AuthorDate: Fri May 31 08:48:36 2019 +0530

    AMBARI-25288 [views][Filesview] Copy File Operation in Filesview is 
overwriting the file (asnaik) (#2989)
---
 .../utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java
 
b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java
index 1f8b584..20a66cf 100644
--- 
a/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java
+++ 
b/contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java
@@ -463,7 +463,7 @@ public class HdfsApi {
   public void copy(final String src, final String dest) throws IOException, 
InterruptedException, HdfsApiException {
     boolean result = execute(new PrivilegedExceptionAction<Boolean>() {
       public Boolean run() throws Exception {
-        return FileUtil.copy(fs, new Path(src), fs, new Path(dest), false, 
conf);
+        return FileUtil.copy(fs, new Path(src), fs, new Path(dest), 
false,false, conf);
       }
     });
 

Reply via email to