Showing posts with label MongoDB. Show all posts
Showing posts with label MongoDB. Show all posts

July 20, 2017

Situation: Creating spark context 2 times by mistake while creating spark mongo db configuration

Situation: Creating spark context 2 times by mistake.  val spark = SparkSession.builder()       .master("local")       .appName("SparkMongoDB")       .config("spark.mongodb.input.uri", "mongodb://127.0.0.1/Spark.sparkCollection")       .config("spark.mongodb.output.uri", "mongodb://127.0.0.1/Spark.sparkCollection")       .getOrCreate()    //val...
Read more ...

My Favorite Site's List

#update below script more than 500 posts