Typo fix
All checks were successful
Tests / reset-status (push) Successful in 3s
Tests / tests (push) Successful in 4m35s
Tests / build (push) Successful in 3m43s

This commit is contained in:
karthik 2023-10-07 13:15:53 +02:00
parent 1d77223c6a
commit 409ade0326

View File

@ -39,7 +39,7 @@ object Driver {
def main(args: Array[String]): Unit = { def main(args: Array[String]): Unit = {
if(args.length != 2) { if(args.length != 2) {
println("Invalid usage") println("Invalid usage")
println("Usage: spark-submit --master <local|yarn> spark-wordcount-1.0.jar /path/to/input/file.txt /path/to/output/directory") println("Usage: spark-submit --master <local|yarn> spark-wordcount-1.0.0.jar /path/to/input/file.txt /path/to/output/directory")
LOG.error(s"Invalid number of arguments, arguments given: [${args.mkString(",")}]") LOG.error(s"Invalid number of arguments, arguments given: [${args.mkString(",")}]")
System.exit(1) System.exit(1)
} }