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 63D5A18C9A for ; Sun, 24 Jan 2016 16:14:40 +0000 (UTC) Received: (qmail 31018 invoked by uid 500); 24 Jan 2016 16:14:40 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 30972 invoked by uid 500); 24 Jan 2016 16:14:40 -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 30952 invoked by uid 99); 24 Jan 2016 16:14:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2016 16:14:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 032412C1F57 for ; Sun, 24 Jan 2016 16:14:40 +0000 (UTC) Date: Sun, 24 Jan 2016 16:14:40 +0000 (UTC) From: "Adrian Muraru (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-14770) RowCounter argument input parse error 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-14770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Muraru reassigned HBASE-14770: ------------------------------------- Assignee: Adrian Muraru (was: Frank Chang) > RowCounter argument input parse error > ------------------------------------- > > Key: HBASE-14770 > URL: https://issues.apache.org/jira/browse/HBASE-14770 > Project: HBase > Issue Type: Bug > Components: API > Affects Versions: 1.0.0 > Reporter: Frank Chang > Assignee: Adrian Muraru > Priority: Minor > > I'm tried to use https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/RowCounter.java code and package a new jar then excuted following shell script: > {code:none} > hadoop jar test.jar --range=row001,row002 cf:c2 > {code} > Then I got "NoSuchColumnFamilyException". > It seems input argument parsing problem. > And I tried to add > {code:java} > continue; > {code} > after #L123 to avoid "--range=*" string be appended to qualifer. > Then the problem seems solve. > -- > data in table: > ||row||cf:c1||cf:c2||cf:c3||cf:c4|| > |row001|v1|v2| | | > |row002| |v2|v3| | > |row003| | |v3|v4| > |row004|v1| | |v4| > Exception Message: > {code:java} > org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: Column family --range=row001,row002 does not exist in region frank_rowcounttest1,,1446191360354.6c52c71a82f0fa041c467002a2bf433c. in table 'frank_rowcounttest1', {NAME => 'cf', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '1', TTL => 'FOREVER', MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)