mirror of https://github.com/apache/druid.git
Merge branch 'offheap-incremental-index' of github.com:metamx/druid into offheap-incremental-index
This commit is contained in:
commit
5dd3a1dea1
|
@ -38,7 +38,7 @@ public class HadoopTuningConfig implements TuningConfig
|
||||||
{
|
{
|
||||||
private static final PartitionsSpec defaultPartitionsSpec = HashedPartitionsSpec.makeDefaultHashedPartitionsSpec();
|
private static final PartitionsSpec defaultPartitionsSpec = HashedPartitionsSpec.makeDefaultHashedPartitionsSpec();
|
||||||
private static final Map<DateTime, List<HadoopyShardSpec>> defaultShardSpecs = ImmutableMap.<DateTime, List<HadoopyShardSpec>>of();
|
private static final Map<DateTime, List<HadoopyShardSpec>> defaultShardSpecs = ImmutableMap.<DateTime, List<HadoopyShardSpec>>of();
|
||||||
private static final int defaultBufferSize = 256 * 1024 * 1024;
|
private static final int defaultBufferSize = 512 * 1024 * 1024;
|
||||||
|
|
||||||
public static HadoopTuningConfig makeDefaultTuningConfig()
|
public static HadoopTuningConfig makeDefaultTuningConfig()
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ import java.io.File;
|
||||||
*/
|
*/
|
||||||
public class RealtimeTuningConfig implements TuningConfig
|
public class RealtimeTuningConfig implements TuningConfig
|
||||||
{
|
{
|
||||||
private static final int defaultBufferSize = 256 * 1024 * 1024;
|
private static final int defaultBufferSize = 512 * 1024 * 1024;
|
||||||
private static final Period defaultIntermediatePersistPeriod = new Period("PT10M");
|
private static final Period defaultIntermediatePersistPeriod = new Period("PT10M");
|
||||||
private static final Period defaultWindowPeriod = new Period("PT10M");
|
private static final Period defaultWindowPeriod = new Period("PT10M");
|
||||||
private static final File defaultBasePersistDirectory = Files.createTempDir();
|
private static final File defaultBasePersistDirectory = Files.createTempDir();
|
||||||
|
|
Loading…
Reference in New Issue