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

Szilard Nemeth commented on YARN-8502:
--------------------------------------

Hey [~giovanni.fumarola]!
I would vote for a separate jira as the thing you mentioned not strictly 
related to constants or endpoint paths and maybe could confuse anyone looking 
into git log.
Thanks!

> Use path strings consistently for webservice endpoints in RMWebServices
> -----------------------------------------------------------------------
>
>                 Key: YARN-8502
>                 URL: https://issues.apache.org/jira/browse/YARN-8502
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-8502-001.patch
>
>
> Currently there are 2 types of endpoint path definitions: 
> 1. with string, example: 
> @Path("/apps/{appid}/appattempts/{appattemptid}/containers/{containerid}")
> 2. with constant, example: 
> @Path(RMWSConsts.APPS_APPID_APPATTEMPTS_APPATTEMPTID_CONTAINERS)
> Most preferably, constants should be used for all Paths.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to