[
https://issues.apache.org/jira/browse/YARN-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664456#comment-13664456
]
Siddharth Seth commented on YARN-716:
-------------------------------------
Sure, there's other records other than ApplicationId (and other IDs) which
should probably be immutable. ApplicationId already has it's setters marked as
private - so the YARN-528 and sub-task/blocker changes aren't absolutely
necessary. They're useful though considering the unnecessary locking involved
when not forcing the ID classes to be immutable. For other records which should
be immutable, the private annotation can be used, or we can make similar
changes.
> Make ApplicationID immutable
> ----------------------------
>
> Key: YARN-716
> URL: https://issues.apache.org/jira/browse/YARN-716
> Project: Hadoop YARN
> Issue Type: Task
> Affects Versions: 2.0.4-alpha
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Attachments: YARN-716.txt
>
>
--
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