You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Michael Wu (JIRA)" <ji...@apache.org> on 2016/10/28 04:14:58 UTC

[jira] [Created] (EAGLE-697) wrong metric url composed when endpoint url doesn't end with a slash

Michael Wu created EAGLE-697:
--------------------------------

             Summary: 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)