mirror of https://github.com/apache/druid.git
cleanup rowflushboundary
This commit is contained in:
parent
8933685884
commit
92f26d9a1f
|
@ -38,9 +38,6 @@ public class DataRollupSpec
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public QueryGranularity rollupGranularity = QueryGranularity.NONE;
|
public QueryGranularity rollupGranularity = QueryGranularity.NONE;
|
||||||
|
|
||||||
@JsonProperty
|
|
||||||
public int rowFlushBoundary = 500000;
|
|
||||||
|
|
||||||
public DataRollupSpec() {}
|
public DataRollupSpec() {}
|
||||||
|
|
||||||
public DataRollupSpec(List<AggregatorFactory> aggs, QueryGranularity rollupGranularity)
|
public DataRollupSpec(List<AggregatorFactory> aggs, QueryGranularity rollupGranularity)
|
||||||
|
|
|
@ -41,9 +41,6 @@ public class TaskConfig
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private final String hadoopWorkingPath;
|
private final String hadoopWorkingPath;
|
||||||
|
|
||||||
@JsonProperty
|
|
||||||
private final int defaultRowFlushBoundary;
|
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
private final List<String> defaultHadoopCoordinates;
|
private final List<String> defaultHadoopCoordinates;
|
||||||
|
|
||||||
|
@ -59,7 +56,6 @@ public class TaskConfig
|
||||||
this.baseDir = baseDir == null ? "/tmp" : baseDir;
|
this.baseDir = baseDir == null ? "/tmp" : baseDir;
|
||||||
this.baseTaskDir = new File(defaultDir(baseTaskDir, "persistent/task"));
|
this.baseTaskDir = new File(defaultDir(baseTaskDir, "persistent/task"));
|
||||||
this.hadoopWorkingPath = defaultDir(hadoopWorkingPath, "druid-indexing");
|
this.hadoopWorkingPath = defaultDir(hadoopWorkingPath, "druid-indexing");
|
||||||
this.defaultRowFlushBoundary = defaultRowFlushBoundary == null ? 500000 : defaultRowFlushBoundary;
|
|
||||||
this.defaultHadoopCoordinates = defaultHadoopCoordinates == null
|
this.defaultHadoopCoordinates = defaultHadoopCoordinates == null
|
||||||
? DEFAULT_DEFAULT_HADOOP_COORDINATES
|
? DEFAULT_DEFAULT_HADOOP_COORDINATES
|
||||||
: defaultHadoopCoordinates;
|
: defaultHadoopCoordinates;
|
||||||
|
@ -83,12 +79,6 @@ public class TaskConfig
|
||||||
return hadoopWorkingPath;
|
return hadoopWorkingPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonProperty
|
|
||||||
public int getDefaultRowFlushBoundary()
|
|
||||||
{
|
|
||||||
return defaultRowFlushBoundary;
|
|
||||||
}
|
|
||||||
|
|
||||||
@JsonProperty
|
@JsonProperty
|
||||||
public List<String> getDefaultHadoopCoordinates()
|
public List<String> getDefaultHadoopCoordinates()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue