generated from barrelsofdata/spark-boilerplate
Typo fix
This commit is contained in:
parent
1d77223c6a
commit
409ade0326
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user