hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5130) Mark ContainerStatus and NodeReport as evolving
Date Thu, 27 Oct 2016 23:02:58 GMT

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

Sangjin Lee commented on YARN-5130:
-----------------------------------

How about using this JIRA to address the incompatibility introduced by YARN-3866 and YARN-4293
for 2.8.0? We can add default implementations of these methods (that simply throw an {{UnsupportedOperationException}}).
That would preserve the stability of the class while allowing those features to work correctly
still.

IMO, this should be a blocker for 2.8.0. Let me know what you think.

> Mark ContainerStatus and NodeReport as evolving
> -----------------------------------------------
>
>                 Key: YARN-5130
>                 URL: https://issues.apache.org/jira/browse/YARN-5130
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Gergely Novák
>            Priority: Minor
>              Labels: oct16-medium
>         Attachments: YARN-5130.001.patch
>
>
> It turns out that slider won't build as the {{ContainerStatus}} and {{NodeReport}} classes
have added more abstract methods, so breaking the mock objects.
> While it is everyone's freedom to change things, these classes are both tagged
> {code}
> @Public
> @Stable
> {code}
> Given they aren't stable, can someone mark them as {{@Evolving}}? That way when downstream
code breaks, we can be less disappointed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message