Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fs.copyToLocalFile(false, hdfsSourcePath, new Path(newFile.getAbsolutePath), true)
- val newFile = new File(s"${localPath}/fileName.dat")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement