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

Arun C Murthy commented on MAPREDUCE-5311:
------------------------------------------

I've repeatedly pointed out that SLOT_MILLIS is something which is very useful 
and is used by a lot of end-users. I know of a lot of users who have built 
rudimentary reporting/charge-back systems using SLOT_MILLIS. Breaking 
compatibility (semantic or api) is not an option. We've done a lot of work on 
MR to keep it compatible so far.

The more I think about it, the more strongly I believe YARN-787 went too far by 
removing 'minimum' from the API. We can/should keep 
RegisterApplicationMasterResponse.getMinimumResourceCapability as a 
LimitedPrivate api and use it only for calculation of SLOT_MILLIS. We don't 
have to expose it to users or other applications. Makes sense?
                
> Replace SLOTS_MILLIS counters with MEM_MILLIS
> ---------------------------------------------
>
>                 Key: MAPREDUCE-5311
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5311
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster
>    Affects Versions: 2.0.4-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Sandy Ryza
>            Priority: Blocker
>             Fix For: 2.1.0-beta
>
>         Attachments: MAPREDUCE-5311-1.patch, MAPREDUCE-5311.patch, 
> MAPREDUCE-5311.patch
>
>
> Per discussion in MAPREDUCE-5310 and comments in the code we should remove 
> all the related logic and just leave the counter constant for backwards 
> compatibility and deprecate the counter constants.

--
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