The error statement:
org.apache.spark.logging couldn't be resolved. It is indirectly referenced from required .class files
I read about the error here (general to such errors). Further I found that org.apache.spark.logging is in fact not available for Spark versions > 1.5.2 here.
I am able to run the code by setting the spark version to 1.5.2. Is there any way to run the same code (with some changes, if required) using Spark version 2.1.1 ? I am specifically trying this code.
I am new to maven, eclipse and spark, therefore a detailed answer explaining the stuff would be highly appreciated.