@ThreadSafe public final class HadoopConfigurationUtils extends Object
AlluxioConfiguration
with Hadoop's Configuration class.Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.conf.Configuration |
mergeAlluxioConfiguration(org.apache.hadoop.conf.Configuration source,
AlluxioConfiguration alluxioConf)
Merges an
AlluxioConfiguration into an hadoop
Configuration . |
static InstancedConfiguration |
mergeHadoopConfiguration(org.apache.hadoop.conf.Configuration hadoopConf,
AlluxioProperties alluxioProps)
Merges Hadoop
Configuration with Alluxio properties. |
public static InstancedConfiguration mergeHadoopConfiguration(org.apache.hadoop.conf.Configuration hadoopConf, AlluxioProperties alluxioProps)
Configuration
with Alluxio properties.hadoopConf
- the Configuration
to mergealluxioProps
- the Alluxio properties to mergepublic static org.apache.hadoop.conf.Configuration mergeAlluxioConfiguration(org.apache.hadoop.conf.Configuration source, AlluxioConfiguration alluxioConf)
AlluxioConfiguration
into an hadoop
Configuration
.source
- The source hadoop configurationalluxioConf
- the alluxio configuration to mergeAlluxioConfiguration
Copyright © 2023. All Rights Reserved.