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

Varun Saxena commented on YARN-4075:
------------------------------------

I am not an expert either. Infact this has not been done knowingly.
Actually URLs' ending in a slash and not ending with them are treated the same.

Refer to Section 2.1.1.of JAX-RS documentation below.
https://jersey.java.net/documentation/1.19/jax-rs.html

It states:
"A @Path value may or may not begin with a '/', it makes no difference. 
Likewise, by default, a @Path value may or may not end in a '/', it makes no 
difference, and thus request URLs that end or do not end in a '/' will both be 
matched."

> [reader REST API] implement support for querying for flows and flow runs
> ------------------------------------------------------------------------
>
>                 Key: YARN-4075
>                 URL: https://issues.apache.org/jira/browse/YARN-4075
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>    Affects Versions: YARN-2928
>            Reporter: Sangjin Lee
>            Assignee: Varun Saxena
>         Attachments: YARN-4075-YARN-2928.03.patch, 
> YARN-4075-YARN-2928.POC.1.patch, YARN-4075-YARN-2928.POC.2.patch
>
>
> We need to be able to query for flows and flow runs via REST.



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

Reply via email to