Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2370717501 for ; Wed, 9 Sep 2015 23:02:48 +0000 (UTC) Received: (qmail 76917 invoked by uid 500); 9 Sep 2015 23:02:48 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76868 invoked by uid 500); 9 Sep 2015 23:02:47 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 76854 invoked by uid 99); 9 Sep 2015 23:02:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2015 23:02:47 +0000 Date: Wed, 9 Sep 2015 23:02:47 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14384) Trying to run canary locally with -regionserver option causes exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737766#comment-14737766 ] Hudson commented on HBASE-14384: -------------------------------- FAILURE: Integrated in HBase-1.3 #155 (See [https://builds.apache.org/job/HBase-1.3/155/]) HBASE-14384 changed Canary to use instance of ExtendedSink (eclark: rev 2da41e5c9a7d57af1a1c59e44b7cc2db1cce27d6) * hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java > Trying to run canary locally with -regionserver option causes exception > ----------------------------------------------------------------------- > > Key: HBASE-14384 > URL: https://issues.apache.org/jira/browse/HBASE-14384 > Project: HBase > Issue Type: Bug > Components: canary > Affects Versions: 2.0.0, 1.2.0 > Reporter: Sanjeev Srivatsa > Assignee: Sanjeev Srivatsa > Fix For: 2.0.0, 1.2.0 > > Attachments: HBASE-14384-v1.patch > > > Tried to run canary locally (on branch master) with command: > bin/hbase org.apache.hadoop.hbase.tool.Canary -regionserver > Exception was thrown: > Exception in thread "main" java.lang.ClassCastException: org.apache.hadoop.hbase.tool.Canary$StdOutSink cannot be cast to org.apache.hadoop.hbase.tool.Canary$ExtendedSink > at org.apache.hadoop.hbase.tool.Canary.newMonitor(Canary.java:640) > at org.apache.hadoop.hbase.tool.Canary.run(Canary.java:551) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.hbase.tool.Canary.main(Canary.java:1127) -- This message was sent by Atlassian JIRA (v6.3.4#6332)