public class HadoopTuningConfig extends Object implements TuningConfig
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DETERMINE_PARTITIONS_SAMPLING_FACTOR |
DEFAULT_APPENDABLE_INDEX, DEFAULT_AWAIT_SEGMENT_AVAILABILITY_TIMEOUT_MILLIS, DEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_ROWS_IN_MEMORY_BATCH, DEFAULT_MAX_ROWS_IN_MEMORY_REALTIME, DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS, DEFAULT_SKIP_BYTES_IN_MEMORY_OVERHEAD_CHECK| Constructor and Description |
|---|
HadoopTuningConfig(String workingPath,
String version,
DimensionBasedPartitionsSpec partitionsSpec,
Map<Long,List<HadoopyShardSpec>> shardSpecs,
IndexSpec indexSpec,
IndexSpec indexSpecForIntermediatePersists,
AppendableIndexSpec appendableIndexSpec,
Integer maxRowsInMemory,
Long maxBytesInMemory,
Boolean useMaxMemoryEstimates,
boolean leaveIntermediate,
Boolean cleanupOnFailure,
boolean overwriteFiles,
Boolean ignoreInvalidRows,
Map<String,String> jobProperties,
boolean combineText,
Boolean useCombiner,
Integer maxRowsInMemoryCOMPAT,
Integer numBackgroundPersistThreads,
boolean forceExtendableShardSpecs,
boolean useExplicitVersion,
List<String> allowedHadoopPrefix,
Boolean logParseExceptions,
Integer maxParseExceptions,
Boolean useYarnRMJobStatusFallback,
Long awaitSegmentAvailabilityTimeoutMillis,
Integer determinePartitionsSamplingFactor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxBytesInMemoryOrDefaultpublic static final int DEFAULT_DETERMINE_PARTITIONS_SAMPLING_FACTOR
public HadoopTuningConfig(@Nullable String workingPath, @Nullable String version, @Nullable DimensionBasedPartitionsSpec partitionsSpec, @Nullable Map<Long,List<HadoopyShardSpec>> shardSpecs, @Nullable IndexSpec indexSpec, @Nullable IndexSpec indexSpecForIntermediatePersists, @Nullable AppendableIndexSpec appendableIndexSpec, @Nullable Integer maxRowsInMemory, @Nullable Long maxBytesInMemory, @Nullable Boolean useMaxMemoryEstimates, boolean leaveIntermediate, @Nullable Boolean cleanupOnFailure, boolean overwriteFiles, @Deprecated @Nullable Boolean ignoreInvalidRows, @Nullable Map<String,String> jobProperties, boolean combineText, @Nullable Boolean useCombiner, @Nullable Integer maxRowsInMemoryCOMPAT, @Nullable Integer numBackgroundPersistThreads, boolean forceExtendableShardSpecs, boolean useExplicitVersion, @Nullable List<String> allowedHadoopPrefix, @Nullable Boolean logParseExceptions, @Nullable Integer maxParseExceptions, @Nullable Boolean useYarnRMJobStatusFallback, @Nullable Long awaitSegmentAvailabilityTimeoutMillis, @Nullable Integer determinePartitionsSamplingFactor)
public static HadoopTuningConfig makeDefaultTuningConfig()
public String getVersion()
public DimensionBasedPartitionsSpec getPartitionsSpec()
getPartitionsSpec in interface TuningConfigpublic Map<Long,List<HadoopyShardSpec>> getShardSpecs()
public IndexSpec getIndexSpec()
getIndexSpec in interface TuningConfigpublic IndexSpec getIndexSpecForIntermediatePersists()
getIndexSpecForIntermediatePersists in interface TuningConfigpublic AppendableIndexSpec getAppendableIndexSpec()
getAppendableIndexSpec in interface TuningConfigpublic int getMaxRowsInMemory()
getMaxRowsInMemory in interface TuningConfigpublic long getMaxBytesInMemory()
getMaxBytesInMemory in interface TuningConfigpublic boolean isUseMaxMemoryEstimates()
public boolean isLeaveIntermediate()
public Boolean isCleanupOnFailure()
public boolean isOverwriteFiles()
public Boolean isIgnoreInvalidRows()
public boolean isCombineText()
public boolean getUseCombiner()
public int getNumBackgroundPersistThreads()
public boolean isForceExtendableShardSpecs()
public boolean isUseExplicitVersion()
public boolean isLogParseExceptions()
public int getMaxParseExceptions()
public boolean isUseYarnRMJobStatusFallback()
public long getAwaitSegmentAvailabilityTimeoutMillis()
public int getDeterminePartitionsSamplingFactor()
public HadoopTuningConfig withWorkingPath(String path)
public HadoopTuningConfig withVersion(String ver)
public HadoopTuningConfig withShardSpecs(Map<Long,List<HadoopyShardSpec>> specs)
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.