phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3767) Prevent spurious tracing spans from Hadoop being written in Phoenix Trace tables
Date Thu, 06 Apr 2017 18:04:41 GMT


James Taylor commented on PHOENIX-3767:

Thanks for the patch, [~karanmehta93]. Your workaround to filter out metrics with a trace
ID of 0 is a good one. I believe the relevant code change for that is here in the private
Metric class within TraceMetricSource?
+        if (span.getTraceId() != 0 && spanQueue.offer(span) )
+  "Span buffered to queue " + span.toJson());
+        else
+  "Span NOT buffered due to overflow in queue " + span.toJson());
Would you mind attaching only the diff on top of your other patch for PHOENIX-3752 (and note
that this depends on that one)? Also, please resolve PHOENIX-3062 as "Will Not Fix" as it
seems it's eclipsed by your other patch.

[~samarthjain] - would you mind reviewing/committing this one and PHOENIX-3752?

> Prevent spurious tracing spans from Hadoop being written in Phoenix Trace tables
> --------------------------------------------------------------------------------
>                 Key: PHOENIX-3767
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Karan Mehta
>            Assignee: Karan Mehta
>         Attachments: PHOENIX-3767.001.patch
> PHOENIX-3752 is the JIRA to remove Hadoop Metrics-2 system from the Phoenix Framework,
whose task is to deliver the received HTrace spans to the phoenix table. When replacing this
system with a simple one as discussed on this JIRA, one of the current test {{testClientServerIndexingTracing()}}
triggers a bug in Hadoop (HDFS-11583), which causes spurious {{writeTo}} spans being generated
from {{DataStreamer}} class. 
> Since Phoenix implements its {{SpanReceiver}} to receive the HTrace spans, all these
spans are redirected over here, which eventually get persisted into Phoenix tables with the
system developed in PHOENIX-3752. The information is useless and might use up unnecessary
> This JIRA is to add a patch to ignore those spans and prevent them from being written
to Phoenix tables. 

This message was sent by Atlassian JIRA

View raw message