Hi,

     Have observed YARN Cluster Submit Applications API accepts any random
ApplicationId which is not provided by Cluster New Application API. There
is no enforcer to check if the ApplicationId is provided by RM.  User can
pass applicationId with different clusterTimestamp, negative
clusterTimestamp, negative Id. Not sure if this will have any impact. But
as per the doc, ApplicationId must be obtained from New Application API.

Cluster Applications API(Submit Application)

The Submit Applications API can be used to submit applications. In case of
submitting applications, you must first obtain an application-id using
the Cluster
New Application API
<https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_New_Application_API>
.

Want to check if using random ApplicationIs is an expected behavior and
won't have any impact.

Thanks,
Prabhu Joseph

[image: Screen Shot 2019-05-20 at 2.54.17 PM.png]

Reply via email to