Durga Gadiraju

Managing files and file permissions – Copying files Local file system and HDFS

We can copy files from local file system and vice versa. We can append data into existing files in HDFS. hadoop fs -copyFromLocal or hadoop fs -put – to copy files from local filesystem and HDFS. Process of copying data is already covered. File will be divided into blocks and will be stored on Datanodes …

Managing files and file permissions – Copying files Local file system and HDFS Read More »

Development Cycle – Develop Scala application using SBT in IntelliJ

Create a scala program Right click on scala -> new -> scala class Choose scala object and give the object name and hit enter Copy the code which we have seen earlier Pass the arguments as mentioned in the video Run the program Example import scala.io.Source object OrderRevenue { def main(args: Array[String]) = { val …

Development Cycle – Develop Scala application using SBT in IntelliJ Read More »