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

Long Zhou updated HTRACE-25:
----------------------------
    Attachment: HTRACE-25.002.patch

rewrite the patch following [~cmccabe]'s suggestion.

- TraceSink.java implements a Flume sink that can forward received spans to   
SpanReceiver. It uses htrace-core public APIs, and can be configured to work 
with any SpanReceiver implementation.
- MilliSpan.java: added parseJson function so that core APIs do not leak  
Jackson library. Without this function, htrace-flume (or other callers) will 
load its own copy of Jackson to deserialize MilliSpan, and it conflicts with 
the shaded Jackson library in htrace-core.
- Span.java: define Json field names, so that they can be reused in 
FlumeSpanReceiver.java
- TestMilliSpan.java: refactor compareSpans function, so that it can be reused 
in TestTraceSink.java
- FlumeSpanReceiver.java: use short field names for event headers
- TestFlumeSpanReceiver.java: move common functions to 
FlumeSpanReceiverTestUtility.java so that they can be reused
- TestTraceSink.java: added end-to-end test cases for FlumeSpanReceiver and 
TraceSink
- README.md: added TraceSink setup instructions, fixed formatting.

> htrace-flume: add hbase sink support
> ------------------------------------
>
>                 Key: HTRACE-25
>                 URL: https://issues.apache.org/jira/browse/HTRACE-25
>             Project: HTrace
>          Issue Type: Improvement
>            Reporter: Long Zhou
>            Assignee: Long Zhou
>         Attachments: HTRACE-25.002.patch, htrace-25.001.patch
>
>
> To put spans collected by flume agent into hbase, we need to implement a 
> customized HbaseEventSerializer that can convert flume events to hbase put 
> requests.



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

Reply via email to