-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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-28819 CanaryTool: Create canary tables in different RSgroup and… #6235
base: master
Are you sure you want to change the base?
Conversation
… write sniff when rsgroup is enabled
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
What if you remove a rsgroup? Will we delete the canary table for this rsgroup?
@@ -303,6 +303,7 @@ public void publishReadTiming(String znode, String server, long msTime) { | |||
*/ | |||
public static class RegionStdOutSink extends StdOutSink { | |||
private Map<String, LongAdder> perTableReadLatency = new HashMap<>(); | |||
private Map<String, LongAdder> perTableWriteLatency = new HashMap<>(); |
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.
Do we still need to global writeLatency below?
@@ -1131,8 +1134,8 @@ private void printUsageAndExit() { | |||
System.err.println(" -f <B> exit on first error; default=true"); | |||
System.err.println(" -failureAsError treat read/write failure as error"); | |||
System.err.println(" -t <N> timeout for canary-test run; default=600000ms"); | |||
System.err.println(" -writeSniffing enable write sniffing"); | |||
System.err.println(" -writeTable the table used for write sniffing; default=hbase:canary"); |
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.
I do not think we should remove this flag? People may want to use this flag to specify a different write table for canary
https://issues.apache.org/jira/browse/HBASE-28819