@ThreadSafe public final class HadoopConfigurationUtils extends Object
AlluxioConfiguration
with Hadoop's Configuration class.Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
getConfigurationFromHadoop(org.apache.hadoop.conf.Configuration hadoopConf)
Extracts relevant configuration from Hadoop
Configuration . |
static org.apache.hadoop.conf.Configuration |
mergeAlluxioConfiguration(org.apache.hadoop.conf.Configuration source,
AlluxioConfiguration alluxioConf)
Merges an
AlluxioConfiguration into an hadoop
Configuration . |
public static Map<String,Object> getConfigurationFromHadoop(org.apache.hadoop.conf.Configuration hadoopConf)
Configuration
.hadoopConf
- the Configuration
to extractpublic 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.