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

Vinod Kumar Vavilapalli commented on YARN-3523:
-----------------------------------------------

bq. Actually I'm not sure about what should be the correct audience setting for 
ResourceManagerAdministrationProtocol, as a public API, it should be @Public. 
But actually, it will only used by RMAdminCLI, I don't know is there any 3rd 
party projects writing their own "admin CLI" and implements IIRC,
I originally intended ResourceManagerAdministrationProtocol to be private. But 
folks put Public annotation on the methods unfortunately.

I just checked the api docs, it doesn't seem to appear there. Can others 
confirm too? If confirmed, we can simply mark everything as private.

> Cleanup ResourceManagerAdministrationProtocol interface audience
> ----------------------------------------------------------------
>
>                 Key: YARN-3523
>                 URL: https://issues.apache.org/jira/browse/YARN-3523
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client, resourcemanager
>            Reporter: Wangda Tan
>            Assignee: Naganarasimha G R
>              Labels: newbie
>         Attachments: YARN-3523.20150422-1.patch
>
>
> I noticed ResourceManagerAdministrationProtocol has @Private audience for the 
> class and @Public audience for methods. It doesn't make sense to me. We 
> should make class audience and methods audience consistent.



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

Reply via email to