hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bob zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15438) error: Column Families specified in importtsv.columns does not match with any of the table column families
Date Thu, 10 Mar 2016 01:32:40 GMT
bob zhao created HBASE-15438:
--------------------------------

             Summary: error: Column Families specified in importtsv.columns does not match
with any of the table column families 
                 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


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)

Mime
View raw message