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

Jason Lowe commented on YARN-308:
---------------------------------

bq. The AMRM protocol is not a delta protocol but an absolute one. So every ask 
request sends all outstanding requests to the RM.

Are you sure?  AppSchedulingInfo.updateResourceRequests looks like it's 
treating it as a delta protocol to me, as it is not clearing prior asks when a 
new ask arrives.
                
> Improve documentation about what "asks" means in AMRMProtocol
> -------------------------------------------------------------
>
>                 Key: YARN-308
>                 URL: https://issues.apache.org/jira/browse/YARN-308
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api, resourcemanager
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>             Fix For: 2.0.3-alpha
>
>
> It's unclear to me from reading the javadoc exactly what "asks" means when 
> the AM sends a heartbeat to the RM.  Is the AM supposed to send a list of all 
> resources that it is waiting for?  Or just inform the RM about new ones that 
> it wants?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to