bahir-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emlaver <>
Subject [GitHub] bahir issue #45: [WIP] [BAHIR-110] Implement _changes API for non-streaming ...
Date Tue, 27 Jun 2017 13:55:03 GMT
Github user emlaver commented on the issue:
    WIP: While running tests against databases with a size > 500 MB, `java.lang.OutOfMemoryError:
Java heap space` error would occur (even when setting `--conf spark.driver.memory=10g`). 
I believe this has to do with how the HTTP request is setup and called against the `_changes
API` in [JsonStoreDataAccess.scala](
    Good news is I've created a test that uses Spark streaming (using
to read all docs from a Cloudant database into a Spark DataFrame.  It should work for a SQL
Temp Table.  I ran this test without any java heap errors against a database size of 1 GB,
1.8 GB, and 14.2 GB.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message