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

Matt McCline edited comment on HIVE-25069 at 7/31/21, 6:18 AM:
---------------------------------------------------------------

[~abstractdog] Thank you for your comments. I am actively working on the design 
document and preparing a first patch.

I have Thrift propagation almost done. Other areas in progress.

One general issue I have run into is version conflicts with libthrift (e.g. 
0.9.3 vs 0.13.0). I am looking at doing *shade-renames* of dependent JAR used 
for tracing. Otherwise, I am very concerned about JAR conflicts and execution 
errors including Throwable MethodNotFoundException. Without *shade-renames* I 
think it will be harder to use the tracing in Tez, HWC, and other components 
which I want to address next after the first part is checked in. I too think 
Tez state-changes would be great to trace. LLAP, too. Note that Tez needs 
tracing propagation with its protobuf msgs (it is not Thrift). It has protobuf 
dependencies version problems (2 vs. 3), also.

 

 

  

 


was (Author: mattmccline):
[~abstractdog] Thank you for your comments. I am actively working on the design 
document and preparing a first patch.

I have Thrift propagation almost done. Other areas in progress.

One general issue I have run into is version conflicts with libthrift (e.g. 
0.9.3 vs 0.13.0). I am looking at doing *shade-renames* of dependent JAR used 
for tracing. Otherwise, I am very concerned about JAR conflicts and execution 
errors including Throwable MethodNotFoundException. Without *shade-renames* I 
think it will be harder to use the tracing in Tez, HWC, and other components 
which I want to address next after the first part is checked in. I too think 
Tez state-changes would be great to trace. LLAP, too. Note that Tez needs 
tracing propagation with its protobuf msgs (it is not Thrift). It has protobuf 
dependencies version problems (2 vs. 3), also.

 

Thrift Propagation:

!image-2021-05-10-09-20-54-688.png!

High level Tez related Span in Hive Server 2 so far:

  !image-2021-05-10-09-30-44-570.png!

 

> Hive Distributed Tracing
> ------------------------
>
>                 Key: HIVE-25069
>                 URL: https://issues.apache.org/jira/browse/HIVE-25069
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Major
>
> Instrument Hive code to gather distributed traces and export trace data to a 
> configurable collector.
> Distributed tracing is a revolutionary tool for debugging issues.
> We will use the new OpenTelemetry open-source standard that our industry has 
> aligned on. OpenTelemetry is the merger of two earlier distributed tracing 
> projects OpenTracing and OpenCensus.
> Next step: Add design document that goes into more detail on the benefits of 
> distributed tracing and describes how Hive will enhanced.
> Also see:
> HBASE-22120 Replace HTrace with OpenTelemetry



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to