HdfsTarget(path=None, format=None, is_tmp=False, fs=None)¶
Does not change self.path.
rename()might cause nested directories. See spotify/luigi#522
New since after luigi v2.1: Does not change self.path
One could argue that the implementation should use the mkdir+raise_if_exists approach, but we at Spotify have had more trouble with that over just using plain mv. See spotify/luigi#557
Copy to destination directory.
Currently only works with hadoopcli