@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface ContextProcessor
Modifier and Type | Method and Description |
---|---|
void |
process(String host,
String value,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext)
It will enrich the application submission context with value provided.
|
void process(String host, String value, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext)
host
- Address of the host from where application launched.value
- Value to be filled in ApplicationSubmissionContext.applicationId
- Application Id of the application.submissionContext
- Context of the application.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.