Browse Source

HUE-2498 [oozie] Sharing workflows requires HDFS admin privileges

Romain Rigaux 11 năm trước cách đây
mục cha
commit
626a88c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      desktop/libs/hadoop/src/hadoop/fs/webhdfs.py

+ 0 - 1
desktop/libs/hadoop/src/hadoop/fs/webhdfs.py

@@ -597,7 +597,6 @@ class WebHdfs(Hdfs):
         self.copy_remote_dir(source_file, destination_file, dir_mode, owner)
       else:
         self.do_as_user(owner, self.copyfile, source_file, destination_file)
-        self.do_as_superuser(self.chown, destination_file, owner, owner)
 
 
   def copy(self, src, dest, recursive=False, dir_mode=None, owner=None):