How do I get HDFS bytes read and write for Spark applications?
What is a program in Spark streaming in Java to read a file from HDFS? Do some append or change? Do they persist the changes as a new file in HDFS? What is some advice?