Skip to content

Commit

Permalink
Fix typo in TaskManagerConfig
Browse files Browse the repository at this point in the history
It was re-using the sink buffer size for the driver partitioning buffer
size
  • Loading branch information
cberner committed Apr 19, 2016
1 parent 3b99767 commit 2550e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -222,7 +222,7 @@ public TaskManagerConfig setSinkMaxBufferSize(DataSize sinkMaxBufferSize)
@NotNull
public DataSize getMaxPagePartitioningBufferSize()
{
return sinkMaxBufferSize;
return maxPagePartitioningBufferSize;
}

@Config("driver.max-page-partitioning-buffer-size")
Expand Down
Expand Up @@ -97,7 +97,7 @@ public void testExplicitPropertyMappings()
.setInfoMaxAge(new Duration(22, TimeUnit.MINUTES))
.setClientTimeout(new Duration(10, TimeUnit.SECONDS))
.setSinkMaxBufferSize(new DataSize(42, Unit.MEGABYTE))
.setMaxPagePartitioningBufferSize(new DataSize(42, Unit.MEGABYTE))
.setMaxPagePartitioningBufferSize(new DataSize(40, Unit.MEGABYTE))
.setWriterCount(3)
.setTaskDefaultConcurrency(7)
.setTaskJoinConcurrency(8)
Expand Down

0 comments on commit 2550e5e

Please sign in to comment.