You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/01/30 02:51:35 UTC

[jira] [Commented] (HTRACE-94) Can only put one trace at a time into htraced

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

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

I'm having trouble reproducing this with the command-line tools:

{code}
echo '{"d" : "descr2", "s" : "0000000000000002", "b" : 3, "e" : 4 } {"d" : "descr", "s" : "0000000000000000", "b" : 1, "e" : 2 }' > /tmp/spans
./build/htraced -Dlog.level=TRACE &
./build/htrace writeSpans --file=/tmp/aa
{code}

in the htraced log:
{code}
2015-01-29T17:46:27-08:00 D: writing span {"s":"0000000000000002","b":3,"e":4,"d":"descr2","i":"0000000000000000","p":null,"r":""}
2015-01-29T17:46:27-08:00 T: Shard processor for /tmp/htrace1/db wrote span {"s":"0000000000000002","b":3,"e":4,"d":"descr2","i":"0000000000000000","p":null,"r":""}.
2015-01-29T17:46:27-08:00 D: writing span {"s":"0000000000000000","b":1,"e":2,"d":"descr","i":"0000000000000000","p":null,"r":""}
2015-01-29T17:46:27-08:00 T: Shard processor for /tmp/htrace1/db wrote span {"s":"0000000000000000","b":1,"e":2,"d":"descr","i":"0000000000000000","p":null,"r":""}.
{code}

Do you have a curl command that reproduce this problem?  Or is there a change I can make to the htraced span receiver to see the problem?

> Can only put one trace at a time into htraced
> ---------------------------------------------
>
>                 Key: HTRACE-94
>                 URL: https://issues.apache.org/jira/browse/HTRACE-94
>             Project: HTrace
>          Issue Type: Bug
>            Reporter: stack
>
> If a POST 100 traces, only the last one makes it in.



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