hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bibin A Chundatt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5979) Make ApplicationReport and ApplicationResourceUsageReport @Evolving
Date Thu, 08 Dec 2016 03:04:58 GMT

     [ https://issues.apache.org/jira/browse/YARN-5979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bibin A Chundatt updated YARN-5979:
-----------------------------------
    Attachment: YARN-5979.0001.patch

Thank you [~ajisakaa] for adding this jira
IIUC we should mark this as Evolving

{code}
  /**
   * Can evolve while retaining compatibility for minor release boundaries.; 
   * can break compatibility only at major release (ie. at m.0).
   */
  @Documented
  @Retention(RetentionPolicy.RUNTIME)
  public @interface Stable {};
  
  /**
   * Evolving, but can break compatibility at minor release (i.e. m.x)
   */
  @Documented
  @Retention(RetentionPolicy.RUNTIME)
  public @interface Evolving {};
{code}



> Make ApplicationReport and ApplicationResourceUsageReport @Evolving
> -------------------------------------------------------------------
>
>                 Key: YARN-5979
>                 URL: https://issues.apache.org/jira/browse/YARN-5979
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: api
>            Reporter: Akira Ajisaka
>            Assignee: Bibin A Chundatt
>         Attachments: YARN-5979.0001.patch
>
>
> Abstract class ApplicationReport and ApplicationResourceUsageReport are {{@Public}} and
{{@Stable}}, but some methods are added between minor releases and this breaks source-compatibility.
We should make them {{@Evolving}}.



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