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 E23B917EA3 for ; Wed, 5 Nov 2014 22:08:34 +0000 (UTC) Received: (qmail 1198 invoked by uid 500); 5 Nov 2014 22:08:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 1151 invoked by uid 500); 5 Nov 2014 22:08:34 -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 1139 invoked by uid 99); 5 Nov 2014 22:08:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2014 22:08:34 +0000 Date: Wed, 5 Nov 2014 22:08:34 +0000 (UTC) From: "Jesse Yates (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12428) region_mover.rb script is broken. If port is not specified there's a object nil 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-12428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199205#comment-14199205 ] Jesse Yates commented on HBASE-12428: ------------------------------------- [~lhofhansl] the problem is that is doesn't handle the port correctly. If there isn't one specified, it will throw an exception when it tries to cleanup old files. However, we are also doing the "... unless port" check in two different places, which is not as clean as it could be. So this just sets up the port in a single place, if its not set via the command line. > region_mover.rb script is broken. If port is not specified there's a object nil exception > ----------------------------------------------------------------------------------------- > > Key: HBASE-12428 > URL: https://issues.apache.org/jira/browse/HBASE-12428 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.7 > Reporter: Sameer Vaishampayan > Assignee: Sameer Vaishampayan > Labels: newbie, patch > Fix For: 0.98.7 > > Attachments: HBASE-12428-0.98.7.patch > > > TypeError: can't convert nil into String > getFilename at /home/user/hbase/bin/region_mover.rb:466 > unloadRegions at /home/user/hbase/bin/region_mover.rb:327 > (root) at /home/user/hbase/bin/region_mover.rb:515 -- This message was sent by Atlassian JIRA (v6.3.4#6332)