Month: February 2023

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 »

Development Cycle – Compile changes and run jar with arguments

As part of this topic, we will explore another way of compiling and running the jar file with arguments through SBT We can make the changes to the code Recompile the jar file Run the jar file How to pass the arguments to the program Example import scala.io.Source object OrderRevenue { def main(args: Array[String]) = …

Development Cycle – Compile changes and run jar with arguments Read More »