Will Berkeley has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12261 )

Change subject: [spark] Add write duration histograms
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12261/1/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/HdrHistogramAccumulator.scala
File 
java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/HdrHistogramAccumulator.scala:

http://gerrit.cloudera.org:8080/#/c/12261/1/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/HdrHistogramAccumulator.scala@66
PS1, Line 66:   override def value: HistogramWrapper = histogram
> Would it be possible just to sub-class the HistogramWrapper and override/ad
I looked into this. Yes, it's possible to subclass SynchronizedHistogram and 
try to use that. But I found that to do so I need to reimplement copy, which 
meant I need to reimplement a second constructor, and so on, to the point where 
it's not worth it vs. the wrapper, especially given it's tricky because it's a 
Scala class overriding a Java one.



--
To view, visit http://gerrit.cloudera.org:8080/12261
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0fd4d380b08bd7d7d5c1e65b79cffb44a9b9d433
Gerrit-Change-Number: 12261
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Will Berkeley <[email protected]>
Gerrit-Comment-Date: Tue, 29 Jan 2019 17:37:20 +0000
Gerrit-HasComments: Yes

Reply via email to