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 D203019C0D for ; Thu, 10 Mar 2016 01:35:41 +0000 (UTC) Received: (qmail 8281 invoked by uid 500); 10 Mar 2016 01:35:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 8164 invoked by uid 500); 10 Mar 2016 01:35:41 -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 8121 invoked by uid 99); 10 Mar 2016 01:35:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 01:35:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DCD392C1F54 for ; Thu, 10 Mar 2016 01:35:40 +0000 (UTC) Date: Thu, 10 Mar 2016 01:35:40 +0000 (UTC) From: "bob zhao (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15438) error: CF specified in importtsv.columns does not match with table CF 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-15438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] bob zhao updated HBASE-15438: ----------------------------- Summary: error: CF specified in importtsv.columns does not match with table CF (was: error: Column Families specified in importtsv.columns does not match with any of the table column families ) > error: CF specified in importtsv.columns does not match with table CF > --------------------------------------------------------------------- > > Key: HBASE-15438 > URL: https://issues.apache.org/jira/browse/HBASE-15438 > Project: HBase > Issue Type: Bug > Components: hbase > Affects Versions: 1.1.2 > Environment: HDP 2.3 Ubuntu 14 > Reporter: bob zhao > Priority: Minor > Labels: easyfix, easytest > > Try to play with the hbase tsv import, get such error: > ERROR: Column Families [ Current, Closing] specified in importtsv.columns does not match with any of the table StocksB column families [Closing, Current]. > the script is: > hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns="HBASE_ROW_KEY, Current:Price, Closing:Price" -Dimporttsv.bulk.output="/user/bob/storeDataFileOutput/" StocksB /user/bob/stocks.txt > If i remove the space which behind the comma and before CF name, everything is fine. > As a Dev, I like to add some space over there for easy reading and checking. > Please trim these CF names before processing, thanks! > https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/ImportTsv.java > -- This message was sent by Atlassian JIRA (v6.3.4#6332)