public class HadoopTuningConfig extends Object implements TuningConfig
DEFAULT_APPENDABLE_INDEX, DEFAULT_AWAIT_SEGMENT_AVAILABILITY_TIMEOUT_MILLIS, DEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_ROWS_IN_MEMORY, 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 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxBytesInMemoryOrDefaultpublic 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, 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)
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 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 HadoopTuningConfig withWorkingPath(String path)
public HadoopTuningConfig withVersion(String ver)
public HadoopTuningConfig withShardSpecs(Map<Long,List<HadoopyShardSpec>> specs)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.