[
https://issues.apache.org/jira/browse/HDDS-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790433#comment-16790433
]
Hudson commented on HDDS-1214:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16182 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16182/])
HDDS-1214. Enable tracing for the datanode read/write path. Contributed (elek:
rev d17e31e06256ec76cf8abb67c30f7b0e55fb20c7)
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/XceiverServerRatis.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/XceiverServerGrpc.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/ContainerStateMachine.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java
* (edit)
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/CloseContainerCommandHandler.java
* (edit)
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/tracing/TracingUtil.java
> Enable tracing for the datanode read/write path
> -----------------------------------------------
>
> Key: HDDS-1214
> URL: https://issues.apache.org/jira/browse/HDDS-1214
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> HDDS-1150 introduced distributed for ozone components. But we have no trace
> context propagation between the clients and Ozone Datanodes.
> As we use Grpc and Ratis on this RPC path the full tracing could be quite
> complex: we should propagate the trace id in Ratis and include it in all the
> log entries.
> I propose a simplified solution here: to trace only the StateMachine
> operations.
> As Ratis is a library we provide the implementation of the appropriate Raft
> elements especially the StateMachine and the raft messages. We can add the
> tracing information to the raft messages (in fact, we already have this
> field) and we can restore the tracing context during the StateMachine
> operations.
> This approach is very simple (only a few lines of codes) and can show the
> time of the real write/read operations, but can't see the internals of the
> Ratis operations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]