Uh oh!
There was an error while loading. Please reload this page.
HBASE-23065 [hbtop] Top-N heavy hitter user and client drill downs - #722
HBASE-23065 [hbtop] Top-N heavy hitter user and client drill downs#722ankitsinghal wants to merge 2 commits into
Conversation
ankitsinghal
commented
Oct 14, 2019
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
brfrn169
left a comment
There was a problem hiding this comment.
Left some comments for hbtop. Most of them are small nits. I have a question. It looks like this PR includes the changes of HBASE-15519, right? You are assuming that after committing the PR of HBASE-15519, we will commit this PR?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
brfrn169
commented
Oct 20, 2019
And don't we need ClientModeTest? |
joshelser
left a comment
There was a problem hiding this comment.
Need to take this down locally and play with it too :)
Probably not a bad idea to also run this through a quick perf test to make sure no regressions come in (same way as the dependent user metrics change)
Uh oh!
There was an error while loading. Please reload this page.
| * @param countField Field which needs to be added with value 1 for each record | ||
| * @return records after selecting required fields and adding count field | ||
| */ | ||
| public static List<Record> selectModeFieldsAndAddCountField(List<FieldInfo> fieldInfos, |
There was a problem hiding this comment.
Instead of doing this in one fatal swoop, could you split this method into two parts?
pseudo-code-y
.map(Record::select)
.map(Record::addCountField)
I guess this would undo the optimization you're trying to make of copying Record objects?
There was a problem hiding this comment.
Yeah, Let me see if I can make it more readable.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
02de76b to
0918145Compareankitsinghal
commented
Oct 24, 2019
Thank you @brfrn169 and @joshelser for the review. Have pushed the commit addressing most of the review comments. |
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ankitsinghal
commented
Oct 30, 2019
Thanks a lot guys for the review @joshelser@brfrn169@apurtell , have updated the pull request as per the review comments. |
ankitsinghal
commented
Oct 30, 2019
ycsb shows performance similar on single server cluster with and without patch. without patch [OVERALL], RunTime(ms), 52493 With Patch [OVERALL], RunTime(ms), 51625 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
brfrn169
left a comment
There was a problem hiding this comment.
I tested this locally and found some bugs. Left some comments for that.
I think this feature should be great for HBase administrators. Thank you! @ankitsinghal
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ankitsinghal
commented
Nov 16, 2019
Thank you @brfrn169 for the review, Let me work on the review comments today. |
d8c56e0 to
b5ff40aCompareb5ff40a to
8a720cdCompareankitsinghal
commented
Nov 17, 2019
@brfrn169 , have taken the review comments in the latest push. Let me know how it looks? |
This comment has been minimized.
This comment has been minimized.
Apache-HBase
commented
Nov 18, 2019
💔 -1 overall
This message was automatically generated. |
brfrn169
left a comment
There was a problem hiding this comment.
Left a comment that's a very small nit. It looks good to me 👍 Thanks! Ankit
| if (!filters.isEmpty()) { | ||
| filtersString = String.join(" + ", | ||
| filters.stream().map(f -> String.format("'%s'", f)).collect(Collectors.toList())); | ||
brfrn169
commented
Dec 8, 2019
Can I merge this? @ankitsinghal@joshelser@apurtell |
joshelser
commented
Dec 9, 2019
OK by me. I know Ankit was traveling with intermittent access. I think he might be back soon, but I don't think you need to wait for him if you think this is good. |
brfrn169
commented
Dec 16, 2019
Merged. |
No description provided.