Word count example in Apache Spark

No BigData example is complete without WordCount example Here in this example we will learn how to setup spark in standalone mode using Java API with word count example. 1) Create a new maven project in Eclipse.   2) Add Spark dependency in the pom.xml file.

3) Get the SparkConf object in the java class. […]