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

Varun Saxena commented on YARN-7140:
------------------------------------

[~rohithsharma], I referred to 
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/InterfaceClassification.html#Unstable
{panel}
Incompatible changes to Unstable APIs are allowed at any time. *This usually 
makes sense for only private interfaces.*

*However one may call this out for a supposedly public interface to highlight 
that it should not be used as an interface; for public interfaces, labeling it 
as Not-an-interface is probably more appropriate than “Unstable”.*

Examples of publicly visible interfaces that are unstable (i.e. 
not-an-interface): GUI, CLIs whose output format will change.
{panel}

As you can see the guideline is to make an interface Unstable typically for 
Private interfaces only unless its something like a CLI.

Will we making any changes to CollectorInfo in future?
Frankly CollectorInfo APIs' are not even required to be called by AM. It is 
just passed onto TimelineV2ClientImpl.

> CollectorInfo should have Public visibility
> -------------------------------------------
>
>                 Key: YARN-7140
>                 URL: https://issues.apache.org/jira/browse/YARN-7140
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>            Priority: Minor
>         Attachments: YARN-7140.01.patch
>
>
> As TimelineV2Client#setCollectorInfo, which needs to be called by AM, it 
> requires CollectorInfo to have public visibility



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to