private void addYarnRuntimeDefinition ( 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 , RuntimeIdentifier . RUNTIME_NAME ) ; }
Adds yarn runtime definitions to the builder .