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 172FA200D20 for ; Tue, 3 Oct 2017 05:51:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 15B8C160BCB; Tue, 3 Oct 2017 03:51:38 +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 5BF0E1609EF for ; Tue, 3 Oct 2017 05:51:37 +0200 (CEST) Received: (qmail 67184 invoked by uid 500); 3 Oct 2017 03:51:36 -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 67175 invoked by uid 99); 3 Oct 2017 03:51:36 -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; Tue, 03 Oct 2017 03:51:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B618FF571A; Tue, 3 Oct 2017 03:51:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: zghao@apache.org To: commits@hbase.apache.org Message-Id: <016458b45126493d981a519a8ce97a6d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-18913 TestShell fails because NoMethodError: undefined method parseColumn Date: Tue, 3 Oct 2017 03:51:34 +0000 (UTC) archived-at: Tue, 03 Oct 2017 03:51:38 -0000 Repository: hbase Updated Branches: refs/heads/master 214d21994 -> afa03a207 HBASE-18913 TestShell fails because NoMethodError: undefined method parseColumn Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/afa03a20 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/afa03a20 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/afa03a20 Branch: refs/heads/master Commit: afa03a207ea5ff33439bc5a3bc67e7c59cc26298 Parents: 214d219 Author: Guanghao Zhang Authored: Tue Oct 3 09:16:35 2017 +0800 Committer: Guanghao Zhang Committed: Tue Oct 3 11:47:14 2017 +0800 ---------------------------------------------------------------------- hbase-shell/src/main/ruby/hbase/table.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/afa03a20/hbase-shell/src/main/ruby/hbase/table.rb ---------------------------------------------------------------------- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index 33c80ae..320ec7c 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -722,7 +722,7 @@ EOF # Returns family and (when has it) qualifier for a column name def parse_column_name(column) - split = org.apache.hadoop.hbase.KeyValue.parseColumn(column.to_java_bytes) + split = org.apache.hadoop.hbase.CellUtil.parseColumn(column.to_java_bytes) set_converter(split) if split.length > 1 [split[0], split.length > 1 ? split[1] : nil] end @@ -793,7 +793,7 @@ EOF # 2. register the CONVERTER information based on column spec - "cf:qualifier" def set_converter(column) family = String.from_java_bytes(column[0]) - parts = org.apache.hadoop.hbase.KeyValue.parseColumn(column[1]) + parts = org.apache.hadoop.hbase.CellUtil.parseColumn(column[1]) if parts.length > 1 @converters["#{family}:#{String.from_java_bytes(parts[0])}"] = String.from_java_bytes(parts[1]) column[1] = parts[0]