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 492A3200CE4 for ; Sun, 20 Aug 2017 23:30:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 478CF16410F; Sun, 20 Aug 2017 21:30:13 +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 A5F80164103 for ; Sun, 20 Aug 2017 23:30:12 +0200 (CEST) Received: (qmail 55033 invoked by uid 500); 20 Aug 2017 21:30:05 -0000 Mailing-List: contact commits-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 commits@hbase.apache.org Received: (qmail 51261 invoked by uid 99); 20 Aug 2017 21:30:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Aug 2017 21:30:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D044DF32BE; Sun, 20 Aug 2017 21:29:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: busbey@apache.org To: commits@hbase.apache.org Date: Sun, 20 Aug 2017 21:30:35 -0000 Message-Id: <9a67a8a7937346088858f2846a595d23@git.apache.org> In-Reply-To: <13059aa551a342019db3831c44c4c7d5@git.apache.org> References: <13059aa551a342019db3831c44c4c7d5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [38/50] [abbrv] hbase git commit: HBASE-18125 shell disregards spaces at the end of a split key in a split file archived-at: Sun, 20 Aug 2017 21:30:13 -0000 HBASE-18125 shell disregards spaces at the end of a split key in a split file Signed-off-by: fchenxi Signed-off-by: Michael Stack Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a17ed035 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a17ed035 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a17ed035 Branch: refs/heads/HBASE-18467 Commit: a17ed0356f12c6f7a682557d92cc401b7a4297f1 Parents: 4c3a64d Author: Chenxi Tong Authored: Wed Aug 9 12:00:53 2017 +0800 Committer: Michael Stack Committed: Wed Aug 16 15:14:12 2017 -0700 ---------------------------------------------------------------------- hbase-shell/src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/a17ed035/hbase-shell/src/main/ruby/hbase/admin.rb ---------------------------------------------------------------------- diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 4b0de5f..2aacd7f 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -386,7 +386,7 @@ module Hbase end arg[SPLITS] = [] File.foreach(splits_file) do |line| - arg[SPLITS].push(line.strip) + arg[SPLITS].push(line.chomp) end htd.setValue(SPLITS_FILE, arg[SPLITS_FILE]) end