-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.0
-
Component/s: None
-
None
-
Environment:Builder builder = SparkSession.builder();
builder.master(master);
builder.appName(appName);
// builder.config("mongo.auth.uri", auth);
builder.config("spark.mongodb.input.uri", url);
builder.config("spark.mongodb.output.uri", ourl);
// builder.config("spark.mongodb.input.database", schema);
// builder.config("spark.mongodb.input.collection", table);
SparkSession session = builder.getOrCreate();Builder builder = SparkSession.builder(); builder.master(master); builder.appName(appName); // builder.config("mongo.auth.uri", auth); builder.config("spark.mongodb.input.uri", url); builder.config("spark.mongodb.output.uri", ourl); // builder.config("spark.mongodb.input.database", schema); // builder.config("spark.mongodb.input.collection", table); SparkSession session = builder.getOrCreate();
com.MongoDB.MongoCursorNotFoundException:
Query failed with error code -5 and error message 'Cursor 95506355212 not found on server ***:' on server :