-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-23802 Remove unnecessary Configuration instantiation in LossyAccounting #1127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-23802 Remove unnecessary Configuration instantiation in LossyAccounting #1127
Conversation
|
Unwind the |
| } | ||
|
|
||
| public LossyCounting(String name, LossyCountingListener listener) { | ||
| this(HBaseConfiguration.create().getDouble(HConstants.DEFAULT_LOSSY_COUNTING_ERROR_RATE, 0.02), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch. To read a single config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed.
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
|
💔 -1 overall
This message was automatically generated. |
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) (apache#1136) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (#1127) Signed-off-by: stack <stack@apache.org>
…counting (#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) (apache#1140) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) Signed-off-by: stack <stack@apache.org>
…counting (apache#1127) (apache#1136) Signed-off-by: stack <stack@apache.org> Conflicts: hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MetaTableMetrics.java hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsUserAggregateImpl.java hbase-server/src/main/java/org/apache/hadoop/hbase/util/LossyCounting.java
…counting (apache#1127) Signed-off-by: stack <stack@apache.org> (cherry picked from commit 5b4545d) Change-Id: Iddfb4153a24a0e73f7d5dd7c89e99894f9c46130
…counting (apache#1127) (apache#1166) Signed-off-by: stack <stack@apache.org> (cherry picked from commit 1c3eaed)
No description provided.