NichaRoj opened a new issue, #26495:
URL: https://github.com/apache/beam/issues/26495

   ### What happened?
   
   I ran a job with Google Cloud Dataflow with `MongoDbIo.Read` as following
   
   ```
   MongoDbIO.Read inputIO = MongoDbIO.read()
                   .withUri(config.getMongoDBUri())
                   .withDatabase(config.getDatabase())
                   .withCollection(config.getCollection())
                   .withBucketAuto(true);
   ```
   
   However the job failed with error `Sort exceeded memory limit of 104857600 
bytes, but did not opt in to external sorting.`
   
   Typical solution would be using `allowDiskUsage` which seems to be applied 
in MongoDBIO for Go SDK according to #25013 Is this an oversight on Java SDK?
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [X] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to