Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. spark-shell --master local[10]
  2.  
  3. hdfs ls
  4.  
  5. import sys.process._
  6. val oldcksum = "cksum oldfile.txt" !!
  7. val newcksum = "cksum newfile.txt" !!
  8. val hdpFiles = "hdfs dfs -ls" !!
  9.  
  10. import sys.process._ # This will let underlying OS commands to be executed.
  11. val oldhash = "certUtil -hashFile PATH_TO_FILE" !!#CertUtil is a windows command
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement