Package org.apache.sysds.conf
Class DMLConfig
java.lang.Object
org.apache.sysds.conf.DMLConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAsynchronous triggering of Spark OPs and operator placementstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringTrigger frequency of the collecting and parsing statistics process on registered workers for monitoring in secondsstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetBooleanValue(String tagName) static StringdoublegetDoubleValue(String tagName) intgetIntValue(String tagName) getTextValue(String tagName) Method to get string value of a configuration parameter Handles processing of configuration parametersstatic DMLConfigparseDMLConfig(String content) static DMLConfigreadConfigurationFile(String configPath) Start with the internal default settings, then merge in the settings from any specified configuration file, if available.voidvoidsetTextValue(String paramName, String paramValue) Method to update the key value
-
Field Details
-
DEFAULT_SYSTEMDS_CONFIG_FILEPATH
- See Also:
-
LOCAL_TMP_DIR
- See Also:
-
SCRATCH_SPACE
- See Also:
-
OPTIMIZATION_LEVEL
- See Also:
-
DEFAULT_BLOCK_SIZE
- See Also:
-
CP_PARALLEL_OPS
- See Also:
-
CP_PARALLEL_IO
- See Also:
-
IO_COMPRESSION_CODEC
- See Also:
-
DELTA_READER_BATCH_SIZE
- See Also:
-
DELTA_WRITER_BATCH_SIZE
- See Also:
-
DELTA_WRITER_TARGET_FILE_SIZE
- See Also:
-
DELTA_WRITER_ADAPTIVE_FILE_SIZE
- See Also:
-
PARALLEL_ENCODE
- See Also:
-
PARALLEL_ENCODE_STAGED
- See Also:
-
PARALLEL_ENCODE_APPLY_BLOCKS
- See Also:
-
PARALLEL_ENCODE_BUILD_BLOCKS
- See Also:
-
PARALLEL_ENCODE_NUM_THREADS
- See Also:
-
PARALLEL_TOKENIZE
- See Also:
-
PARALLEL_TOKENIZE_NUM_BLOCKS
- See Also:
-
FRAME_TO_MATRIX_WARN_CAST
- See Also:
-
COMPRESSED_LINALG
- See Also:
-
COMPRESSED_LINALG_INTERMEDIATE
- See Also:
-
COMPRESSED_LOSSY
- See Also:
-
COMPRESSED_VALID_COMPRESSIONS
- See Also:
-
COMPRESSED_OVERLAPPING
- See Also:
-
COMPRESSED_SAMPLING_RATIO
- See Also:
-
COMPRESSED_SOFT_REFERENCE_COUNT
- See Also:
-
COMPRESSED_COCODE
- See Also:
-
COMPRESSED_COST_MODEL
- See Also:
-
COMPRESSED_TRANSPOSE
- See Also:
-
COMPRESSED_TRANSFORMENCODE
- See Also:
-
NATIVE_BLAS
- See Also:
-
NATIVE_BLAS_DIR
- See Also:
-
DAG_LINEARIZATION
- See Also:
-
CODEGEN
- See Also:
-
CODEGEN_API
- See Also:
-
CODEGEN_COMPILER
- See Also:
-
CODEGEN_OPTIMIZER
- See Also:
-
CODEGEN_PLANCACHE
- See Also:
-
CODEGEN_LITERALS
- See Also:
-
STATS_MAX_WRAP_LEN
- See Also:
-
AVAILABLE_GPUS
- See Also:
-
SYNCHRONIZE_GPU
- See Also:
-
EAGER_CUDA_FREE
- See Also:
-
GPU_EVICTION_POLICY
- See Also:
-
GPU_RULE_BASED_PLACEMENT
- See Also:
-
USE_LOCAL_SPARK_CONFIG
- See Also:
-
LOCAL_SPARK_NUM_THREADS
- See Also:
-
LINEAGECACHESPILL
- See Also:
-
COMPILERASSISTED_RW
- See Also:
-
BUFFERPOOL_LIMIT
- See Also:
-
MEMORY_MANAGER
- See Also:
-
GPU_MEMORY_UTILIZATION_FACTOR
- See Also:
-
GPU_MEMORY_ALLOCATOR
- See Also:
-
FLOATING_POINT_PRECISION
- See Also:
-
PRINT_GPU_MEMORY_INFO
- See Also:
-
EVICTION_SHADOW_BUFFERSIZE
- See Also:
-
USE_SSL_FEDERATED_COMMUNICATION
- See Also:
-
DEFAULT_FEDERATED_INITIALIZATION_TIMEOUT
- See Also:
-
FEDERATED_TIMEOUT
- See Also:
-
FEDERATED_PLANNER
- See Also:
-
FEDERATED_PAR_INST
- See Also:
-
FEDERATED_PAR_CONN
- See Also:
-
FEDERATED_READCACHE
- See Also:
-
FEDERATED_COMPRESSION
- See Also:
-
PRIVACY_CONSTRAINT_MOCK
- See Also:
-
FEDERATED_MONITOR_FREQUENCY
Trigger frequency of the collecting and parsing statistics process on registered workers for monitoring in seconds- See Also:
-
DEFAULT_FEDERATED_PORT
public static final int DEFAULT_FEDERATED_PORT- See Also:
-
DEFAULT_NUMBER_OF_FEDERATED_WORKER_THREADS
public static final int DEFAULT_NUMBER_OF_FEDERATED_WORKER_THREADS- See Also:
-
ASYNC_PREFETCH
Asynchronous triggering of Spark OPs and operator placement- See Also:
-
ASYNC_SPARK_BROADCAST
- See Also:
-
ASYNC_SPARK_CHECKPOINT
- See Also:
-
DEFAULT_SHARED_DIR_PERMISSION
- See Also:
-
-
Constructor Details
-
DMLConfig
public DMLConfig() -
DMLConfig
- Throws:
FileNotFoundException
-
DMLConfig
- Throws:
FileNotFoundException
-
DMLConfig
-
DMLConfig
-
-
Method Details
-
set
-
getTextValue
Method to get string value of a configuration parameter Handles processing of configuration parameters- Parameters:
tagName- the name of the DMLConfig parameter being retrieved- Returns:
- a string representation of the DMLConfig parameter value.
-
getIntValue
-
getBooleanValue
-
getDoubleValue
-
setTextValue
Method to update the key value- Parameters:
paramName- parameter nameparamValue- parameter value
-
serializeDMLConfig
-
parseDMLConfig
-
readConfigurationFile
Start with the internal default settings, then merge in the settings from any specified configuration file, if available. If it is not explicitly given, then merge in settings from the default configuration file location, if available.- Parameters:
configPath- User-defined path of the configuration file.- Returns:
- dml configuration
- Throws:
FileNotFoundException- if FileNotFoundException occurs
-
getConfigInfo
-
getDefaultTextValue
-
clone
-