Github user a-roberts commented on a diff in the pull request:
https://github.com/apache/spark/pull/15079#discussion_r78551292
--- Diff:
sql/catalyst/src/test/java/org/apache/spark/sql/catalyst/expressions/RowBasedKeyValueBatchSuite.java
---
@@ -338,15 +338,18 @@ public void appendRowUntilExceedingCapacity() throws
Exception {
@Test
public void appendRowUntilExceedingPageSize() throws Exception {
+ // Use of this property prevents issues when running on a two core
machine
+ // A developer may override this size to 1 MB not 64 MB, so use that
if so
+ int pageSizeToUse =
Integer.parseInt(System.getProperty("spark.buffer.pageSize"));
--- End diff --
Yeah that's right, couldn't figure out how to get the SparkConf from that
test though, will have another look now
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]