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 02D31104EC for ; Wed, 9 Sep 2015 18:12:49 +0000 (UTC) Received: (qmail 10368 invoked by uid 500); 9 Sep 2015 18:12:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 10317 invoked by uid 500); 9 Sep 2015 18:12:45 -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 10301 invoked by uid 99); 9 Sep 2015 18:12:45 -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 18:12:45 +0000 Date: Wed, 9 Sep 2015 18:12:45 +0000 (UTC) From: "Sanjeev Srivatsa (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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:all-tabpanel ] Sanjeev Srivatsa updated HBASE-14384: ------------------------------------- Status: Patch Available (was: In Progress) > 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)