[ https://issues.apache.org/jira/browse/GRIFFIN-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538639#comment-16538639 ]
ASF GitHub Bot commented on GRIFFIN-175: ---------------------------------------- GitHub user icesmartjuan opened a pull request: https://github.com/apache/incubator-griffin/pull/343 GRIFFIN-175 - fix es 411 issue GRIFFIN-175 -[Service] metric API return 500 - fix es 411 issue You can merge this pull request into a Git repository by running: $ git pull https://github.com/icesmartjuan/incubator-griffin escallbug Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-griffin/pull/343.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #343 ---- commit 4ad964b35f6d723781e1b0a395e670021f3679ad Author: Li, Juan <sunshinejuanl@...> Date: 2018-07-10T13:51:57Z fix es 411 issue ---- > [Service] metric API return 500 > ------------------------------- > > Key: GRIFFIN-175 > URL: https://issues.apache.org/jira/browse/GRIFFIN-175 > Project: Griffin (Incubating) > Issue Type: Bug > Reporter: Juan Li > Assignee: Juan Li > Priority: Major > Attachments: es_411error.png > > > when call get {\{BASE_PATH}}/api/v1/metrics or get > {\{BASE_PATH}}/api/v1/metrics/values?metricName=jobName&size=5&offset=0, > service returns 500. > after debugging, found that elasticsearch returns 411 response code, attached > the error snapshot -- This message was sent by Atlassian JIRA (v7.6.3#76005)