[ 
https://issues.apache.org/jira/browse/YARN-8898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686081#comment-16686081
 ] 

Bibin A Chundatt edited comment on YARN-8898 at 11/14/18 1:40 PM:
------------------------------------------------------------------

[~subru]

 Are you suggesting add the _ApplicationSubmissionContext_ to 
_ApplicationHomeSubCluster_ and then  write to 2 different znodes/tables at 
store side.

If you are suggesting same znode then might not be feasible as old.
I think not possible to have a rolling upgrade scearios with existing zk and 
sql implementation.

We are writing only subClusterIdProto to *APPLICATION/APPID* node as per 
current implementation in ZK and  SQL only  subclusterid  is written to column
{code:java}
    String appZNode = getNodePath(appsZNode, appId.toString());
    SubClusterIdProto proto =
        ((SubClusterIdPBImpl)subClusterId).getProto();
    byte[] data = proto.toByteArray();
    put(appZNode, data, update);
{code}

This is not extendable rt ?? Unfortunately we didn't write 
ApplicationHomeSubCluster.getProto.getBytes to znode :(


was (Author: bibinchundatt):
[~subru] are you suggesting add the _ApplicationSubmissionContext_ to 
_ApplicationHomeSubCluster_ and then  write to 2 different znodes/tables at 
store side ??

If you are suggesting same znode then might not be feasible .I think not 
possible to have a rolling upgrade scearios with existing zk and sql 
implementation.

We are writing only subClusterIdProto to *APPLICATION/APPID* node.
SQL only the subcluster is is written,

{code:java}
    String appZNode = getNodePath(appsZNode, appId.toString());
    SubClusterIdProto proto =
        ((SubClusterIdPBImpl)subClusterId).getProto();
    byte[] data = proto.toByteArray();
    put(appZNode, data, update);
{code}

This is not extendable rt ?? Unfortunately we didnt write 
ApplicationHomeSubCluster.getProto.getBytes to znode :(



> Fix FederationInterceptor#allocate to set application priority in 
> allocateResponse
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-8898
>                 URL: https://issues.apache.org/jira/browse/YARN-8898
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Bibin A Chundatt
>            Priority: Major
>         Attachments: YARN-8898.wip.patch
>
>
> In case of FederationInterceptor#mergeAllocateResponses skips 
> application_priority in response returned



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to