Package org.apache.heron.spi.common
Class ConfigLoader
- java.lang.Object
-
- org.apache.heron.spi.common.ConfigLoader
-
public final class ConfigLoader extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Config
loadClusterConfig()
Loads raw configurations using the default configured heronHome and configPath on the cluster.static Config
loadConfig(String heronHome, String configPath, String releaseFile, String overrideConfigFile)
Loads raw configurations from files under the heronHome and configPath.
-
-
-
Method Detail
-
loadConfig
public static Config loadConfig(String heronHome, String configPath, String releaseFile, String overrideConfigFile)
Loads raw configurations from files under the heronHome and configPath. The returned config must be converted to either local or cluster mode to trigger pattern substitution of wildcards tokens.
-
loadClusterConfig
public static Config loadClusterConfig()
Loads raw configurations using the default configured heronHome and configPath on the cluster. The returned config must be converted to either local or cluster mode to trigger pattern substitution of wildcards tokens.
-
-