private void addDummyYarnRuntimeDefinition ( final AvroYarnJobSubmissionParameters yarnJobSubmissionParams , final AvroJobSubmissionParameters jobSubmissionParameters , final MultiRuntimeDefinitionBuilder builder ) { // create and serialize yarn configuration if defined final Configuration yarnDriverConfiguration = createYarnConfiguration ( yarnJobSubmissionParams , jobSubmissionParameters ) ; // add yarn runtime to the builder builder . addRuntime ( yarnDriverConfiguration , DUMMY_YARN_RUNTIME ) ; }
Adds yarn runtime definitions to the builder with a dummy name . This is needed to initialze yarn runtme that registers with RM but does not allows submitting evaluators as evaluator submissions submits to Yarn runtime .