Hi i’m following this tutorial
When i code this
keys.collect().foreach(println)
I got ArrayOutOfBoundException.
Below the tutorial i read a comment that says to write
val fltr= file.filter(_.length > 1)
I tried but i still got the error
Hi i’m following this tutorial
When i code this
keys.collect().foreach(println)
I got ArrayOutOfBoundException.
Below the tutorial i read a comment that says to write
val fltr= file.filter(_.length > 1)
I tried but i still got the error