[
https://issues.apache.org/jira/browse/HTRACE-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219639#comment-14219639
]
Billie Rinaldi commented on HTRACE-6:
-------------------------------------
That's a good question, I'm having a bit of trouble tracking down why exactly
Accumulo is comparing them. My rough understanding is that the TraceRunnables
are placed in a PriorityQueue, and it seems like the compareTo function is just
deferring to the Runnable, if that is also Comparable. I'll try to look into
it some more, and see if Accumulo can use a Comparator instead.
> Make TraceRunnable implement Comparable
> ---------------------------------------
>
> Key: HTRACE-6
> URL: https://issues.apache.org/jira/browse/HTRACE-6
> Project: HTrace
> Issue Type: Wish
> Reporter: Billie Rinaldi
>
> Accumulo would be able to use htrace's TraceRunnable if it implemented
> Comparable<TraceRunnable>.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)