On Thu, Jun 4, 2015 at 12:04 PM, Young, Philip <[email protected]> wrote:
> Hi All,
>
> I have only just started using Apache Htrace (so bear with me) in one of my
> projects and I would like to send all the traces that are created to an
> Apache Accumulo to store, similar to how the HBaseSpanReceiver currently
> does it. I have developed an initial version of an AccumuloSpanReceiver and
> as such, I have a few questions:
>
>      1. How do I contribute my new AccumuloSpanReceiver back into the HTrace
> codebase? Is this by
>          creating a Jira ticket and attaching a patch to it or would you
> rather a pull request in Github?

The Accumulo project is maintaining its own SpanReceiver in the
Accumulo code base.  Take a look at:
https://github.com/apache/accumulo/blob/3a99300a2b897f9f8740a3efa0271c43536ef0cc/core/src/main/java/org/apache/accumulo/core/trace/DistributedTrace.java

So if storing spans in Accumulo is a requirement for you,  you could
check out what they've done and contribute there.

You could also check out htraced, which stores spans directly in
leveldb.  See htrace-htraced.

>
>      2. I see that there is currently a couple of different GUI's for the
> display of traces, eg. one in
>          htrace-hbase and another in htrace-htraced. Is there going to be
> some consolidation for the GUIs
>          for the visualisation of traces with plugins for connecting to
> different data stores, eg. HBase,
>          Accumulo, htraced, etc. or is it up to each sub-module to provide
> their own GUI implementation?

Yes, I think some consolidation on GUIs would be nice.  One thing
we've talked about in the past is having htraced interface with these
other data stores.

>
>          In the interim, do you think that it would be a good approach for
> me to adapt the HBase GUI to
>          also be able to display traces that are stored in Accumulo? If I
> was to do this, I think that pulling the
>          webapp out of the htrace-hbase module into something like
> htrace-webapp would be better along with
>          all the protobuf code into there also?

I think the best approach would be to interface htraced with accumulo
so that you could re-use all the work we've been doing on the htraced
GUI.  Similarly with HBase, Cassandra, and other data stores we might
like to support.

best,
Colin

>
> If I could get some advice before I get to far into this would be fantastic!
>
> Cheers
> Phil Young

Reply via email to