Map() function giving error in spark

By Jithesh Gopinathan

Spark map() error

I am new to the spark programming. I have come across a scenario, to map each element of an RDD to another format. So I tried to get the 2nd element of the tuple(x._2). But it is giving an error Value _2 is not a member of Array[String]

Pls helppp….

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273