prefer druid.curator.compress to druid.indexer.runner.compressZnodes

This commit is contained in:
Xavier Léauté 2014-11-06 11:15:53 -08:00
parent 8b1edfd464
commit 9bc20ef8bf
3 changed files with 1 additions and 15 deletions

View File

@ -68,7 +68,7 @@ public class RemoteTaskRunnerFactory implements TaskRunnerFactory
curator,
new SimplePathChildrenCacheFactory
.Builder()
.withCompressed(remoteTaskRunnerConfig.isCompressZnodes())
.withCompressed(true)
.build(),
httpClient,
strategy

View File

@ -33,9 +33,6 @@ public class RemoteTaskRunnerConfig
@NotNull
private Period taskAssignmentTimeout = new Period("PT5M");
@JsonProperty
private boolean compressZnodes = false;
@JsonProperty
private String minWorkerVersion = "0";
@ -48,11 +45,6 @@ public class RemoteTaskRunnerConfig
return taskAssignmentTimeout;
}
public boolean isCompressZnodes()
{
return compressZnodes;
}
public String getMinWorkerVersion()
{
return minWorkerVersion;

View File

@ -26,12 +26,6 @@ import org.joda.time.Period;
*/
public class TestRemoteTaskRunnerConfig extends RemoteTaskRunnerConfig
{
@Override
public boolean isCompressZnodes()
{
return false;
}
@Override
public Period getTaskAssignmentTimeout()
{