コード例 #1
0
        public static void AddToEnvironment(IDictionary <string, string> environment, string
                                            variable, string value, Configuration conf)
        {
            string classPathSeparator = conf.GetBoolean(MRConfig.MapreduceAppSubmissionCrossPlatform
                                                        , MRConfig.DefaultMapreduceAppSubmissionCrossPlatform) ? ApplicationConstants.ClassPathSeparator
                                 : FilePath.pathSeparator;

            Apps.AddToEnvironment(environment, variable, value, classPathSeparator);
        }