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

Colin Patrick McCabe commented on HTRACE-310:
---------------------------------------------

Before:
{code}
[cmccabe@c2424 ~]$ htracedTool query 'spanid gt 0'
query error: Error: got bad response status from 
http://localhost:9095/query?query={"pred":[{"op":"gt","field":"spanid","Val":"0"}],"lim":20,"prev":null}:
 500 Internal Server Error
{code}

After:
{code}
[cmccabe@c2424 ~]$ htracedTool query 'spanid gt 0'
query error: Error: got bad response status from 
http://c2424.halxg.cloudera.com:9095/query?query={"pred":[{"op":"gt","field":"spanid","Val":"0"}],"lim":20,"prev":null}:
 500 Internal Server Error
{ "error" : "Internal error processing query 
{'pred':[{'op':'gt','field':'spanid','Val':'0'}],'lim':20,'prev':null}: Unable 
to parse span id '0': EOF"}
{code}

> htracedTool: when there is an error response, print the body of the response
> ----------------------------------------------------------------------------
>
>                 Key: HTRACE-310
>                 URL: https://issues.apache.org/jira/browse/HTRACE-310
>             Project: HTrace
>          Issue Type: Improvement
>          Components: htraced
>    Affects Versions: 4.0
>            Reporter: Colin Patrick McCabe
>
> htracedTool: when there is an error response, print the body of the response



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

Reply via email to