Skip to content

Commit f166940

Browse files
committed
Merge pull request spark-jobserver#391 from qayshp/patch-1
Fix small typo in readme.
2 parents 4985fd1 + b51ea3b commit f166940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ val rdd = this.namedRdds.get[(String, String)]("french_dictionary").get
329329
330330
For jobs that depends on a named RDDs it's a good practice to check for the existence of the NamedRDD in the `validate` method as explained earlier:
331331
```scala
332-
def validate(sc:SparkContext, config: Contig): SparkJobValidation = {
332+
def validate(sc:SparkContext, config: Config): SparkJobValidation = {
333333
...
334334
val rdd = this.namedRdds.get[(Long, scala.Seq[String])]("dictionary")
335335
if (rdd.isDefined) SparkJobValid else SparkJobInvalid(s"Missing named RDD [dictionary]")
@@ -370,7 +370,7 @@ val NamedDataFrame(frenchDictionaryDF, _, _) = namedObjects.get[NamedDataFrame](
370370
371371
For jobs that depends on a named objects it's a good practice to check for the existence of the NamedObject in the `validate` method as explained earlier:
372372
```scala
373-
def validate(sc:SparkContext, config: Contig): SparkJobValidation = {
373+
def validate(sc:SparkContext, config: Config): SparkJobValidation = {
374374
...
375375
val obj = this.namedObjects.get("dictionary")
376376
if (obj.isDefined) SparkJobValid else SparkJobInvalid(s"Missing named object [dictionary]")

0 commit comments

Comments
 (0)