hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinmay Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18762) Canary sink type cast error
Date Tue, 05 Sep 2017 21:57:00 GMT
Chinmay Kulkarni created HBASE-18762:

             Summary: Canary sink type cast error
                 Key: HBASE-18762
                 URL: https://issues.apache.org/jira/browse/HBASE-18762
             Project: HBase
          Issue Type: Bug
            Reporter: Chinmay Kulkarni
            Assignee: Chinmay Kulkarni

When running the main method of Canary.java, we see the following error:

Exception in thread "main" java.lang.ClassCastException: org.apache.hadoop.hbase.tool.Canary$RegionServerStdOutSink
cannot be cast to org.apache.hadoop.hbase.tool.Canary$RegionStdOutSink
	at org.apache.hadoop.hbase.tool.Canary.newMonitor(Canary.java:911)
	at org.apache.hadoop.hbase.tool.Canary.run(Canary.java:796)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.hadoop.hbase.tool.Canary.main(Canary.java:1571)

This happens because we typecast the sink depending on the mode (zookeeper mode/region server
mode) that Canary is configured in. In case no mode is specified, we typecast the sink into

This message was sent by Atlassian JIRA

View raw message