[
https://issues.apache.org/jira/browse/HDFS-11744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16158058#comment-16158058
]
Yiqun Lin commented on HDFS-11744:
----------------------------------
Hi [~anu],
bq. We have trace ID on each call since the xciever client will fail if we did
not have a valid ID.
Yes, now we must pass a valid id on each call. But we didn't use a convient
way, I mean that we use {{UUID.randomUUID().toString()}} everywhere to generate
unique id. For filling this JIRA, I planned to implement a util class for
generating trace ID. But if there is already a class implemented for this, feel
free to close this, :).
> Ozone: Implement the trace ID generator
> ---------------------------------------
>
> Key: HDFS-11744
> URL: https://issues.apache.org/jira/browse/HDFS-11744
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
>
> Currently in ozone, if a client wants to call a container operation command,
> it requires client to create an unique id. Actually this is not a convenience
> way, we should provide a specific id generator to help us do this. Also we
> can keep the original way since sometimes the client wants to use its own
> traceID in case of error this will be help debugging and tracing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]