Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spark-shell --master local[10]
- hdfs ls
- import sys.process._
- val oldcksum = "cksum oldfile.txt" !!
- val newcksum = "cksum newfile.txt" !!
- val hdpFiles = "hdfs dfs -ls" !!
- import sys.process._ # This will let underlying OS commands to be executed.
- val oldhash = "certUtil -hashFile PATH_TO_FILE" !!#CertUtil is a windows command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement