Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 16D3B200B8D for ; Fri, 9 Sep 2016 05:15:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1576B160AD0; Fri, 9 Sep 2016 03:15:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 80AB9160AAD for ; Fri, 9 Sep 2016 05:15:22 +0200 (CEST) Received: (qmail 65855 invoked by uid 500); 9 Sep 2016 03:15:21 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 65578 invoked by uid 99); 9 Sep 2016 03:15:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 03:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BD5D72C1B86 for ; Fri, 9 Sep 2016 03:15:20 +0000 (UTC) Date: Fri, 9 Sep 2016 03:15:20 +0000 (UTC) From: "Sean Busbey (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-7708) deprecated call in region_mover.rb causing high cpu utilization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Sep 2016 03:15:23 -0000 [ https://issues.apache.org/jira/browse/HBASE-7708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Busbey resolved HBASE-7708. -------------------------------- Resolution: Won't Fix 0.92 is long since EOL, closing. > deprecated call in region_mover.rb causing high cpu utilization > --------------------------------------------------------------- > > Key: HBASE-7708 > URL: https://issues.apache.org/jira/browse/HBASE-7708 > Project: HBase > Issue Type: Improvement > Components: scripts > Reporter: Eric Edgeworth > Priority: Minor > > We noticed high CPU utilization while using region_mover.rb to unload regions. Consulted with Stack, who suggested changing a line in region_mover.rb from (the deprecated): > {code} > table = getTable(admin.getConfiguration(), r.getTableDesc().getName()) > {code} > to: > {code} > table = getTable(admin.getConfiguration(), r.getTableName()) > {code} > In our tests this dropped CPU utilization from ~200% over the course of the unload to ~0.5% after startup, and allowed unload of ~200 regions to complete in ~7 minutes instead of the original ~18 minutes, so the change seems to fix the CPU utilization issue with no untoward side effects we could find. -- This message was sent by Atlassian JIRA (v6.3.4#6332)