Ted Yu created HBASE-19898: ------------------------------ Summary: Canary should choose RegionStdOutSink automatically when write sniffing is specified Key: HBASE-19898 URL: https://issues.apache.org/jira/browse/HBASE-19898 Project: HBase Issue Type: Bug Reporter: Ted Yu
Currently RegionServerStdOutSink is instantiated by default, even if user specifies -writeSniffing on the command line. Write sniffing would be ignored since Sink instance is of RegionServerStdOutSink class: {code} if (this.sink instanceof RegionServerStdOutSink || this.regionServerMode) { monitor = new RegionServerMonitor(connection, monitorTargets, this.useRegExp, (StdOutSink) this.sink, this.executor, this.regionServerAllRegions, this.treatFailureAsError); {code} RegionStdOutSink should be used for write sniffing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)