Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. fs.copyToLocalFile(false, hdfsSourcePath, new Path(newFile.getAbsolutePath), true)
  2.  
  3. val newFile = new File(s"${localPath}/fileName.dat")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement