public class JobManagerProcessUtils extends Object
JobManagerProcessSpec
and JVM args.Modifier and Type | Method and Description |
---|---|
static JobManagerProcessSpec |
createDefaultJobManagerProcessSpec(int totalProcessMemoryMb) |
static String |
generateDynamicConfigsStr(JobManagerProcessSpec jobManagerProcessSpec) |
static String |
generateJvmParametersStr(JobManagerProcessSpec processSpec,
Configuration configuration) |
static JobManagerProcessSpec |
processSpecFromConfigWithNewOptionToInterpretLegacyHeap(Configuration config,
ConfigOption<MemorySize> newOptionToInterpretLegacyHeap) |
public static JobManagerProcessSpec processSpecFromConfigWithNewOptionToInterpretLegacyHeap(Configuration config, ConfigOption<MemorySize> newOptionToInterpretLegacyHeap)
@VisibleForTesting public static JobManagerProcessSpec createDefaultJobManagerProcessSpec(int totalProcessMemoryMb)
public static String generateJvmParametersStr(JobManagerProcessSpec processSpec, Configuration configuration)
public static String generateDynamicConfigsStr(JobManagerProcessSpec jobManagerProcessSpec)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.