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

Michael Wu closed EAGLE-697.
----------------------------

> wrong metric url composed when endpoint url doesn't end with a slash
> --------------------------------------------------------------------
>
>                 Key: EAGLE-697
>                 URL: https://issues.apache.org/jira/browse/EAGLE-697
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Michael Wu
>            Assignee: Michael Wu
>
> For hadoop queue monitoring, when endpoint url doesn't end with a slash, the 
> final url will be composed by concatenating endpoint directly with resource 
> path. E.g.
>   endpoint: https://a.b.c:1111
>   resource path: ws/v1/cluster/some
> Then final url is: https://a.b.c:1111ws/v1/cluster/some, which make 
> application fail.
> We should add "/" to existing constants of resource paths, and compose final 
> url with utils.
> Besides, add concrete unit test to guarantee this part functions normally.



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

Reply via email to