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 EE53418A4D for ; Tue, 23 Jun 2015 21:56:42 +0000 (UTC) Received: (qmail 77706 invoked by uid 500); 23 Jun 2015 21:56:42 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 77654 invoked by uid 500); 23 Jun 2015 21:56:42 -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 77641 invoked by uid 99); 23 Jun 2015 21:56:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 21:56:42 +0000 Date: Tue, 23 Jun 2015 21:56:42 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13958) RESTApiClusterManager calls kill() instead of suspend() and resume() 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-13958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598455#comment-14598455 ] Srikanth Srungarapu commented on HBASE-13958: --------------------------------------------- +1 lgtm. > RESTApiClusterManager calls kill() instead of suspend() and resume() > -------------------------------------------------------------------- > > Key: HBASE-13958 > URL: https://issues.apache.org/jira/browse/HBASE-13958 > Project: HBase > Issue Type: Bug > Components: integration tests > Affects Versions: 2.0.0, 1.2.0, 1.1.0.1 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Fix For: 2.0.0, 1.2.0, 1.1.1 > > Attachments: HBASE-13958-v0.patch > > > suspend() and resume() of the REST ClusterManager are calling the wrong method. > {code} > @Override > public void suspend(ServiceType service, String hostname, int port) throws IOException { > hBaseClusterManager.kill(service, hostname, port); > } > @Override > public void resume(ServiceType service, String hostname, int port) throws IOException { > hBaseClusterManager.kill(service, hostname, port); > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)