hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10536) ImportTsv should fail fast if any of the column family passed to the job is not present in the table
Date Sat, 29 Nov 2014 06:59:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228653#comment-14228653
] 

Hudson commented on HBASE-10536:
--------------------------------

SUCCESS: Integrated in HBase-1.0 #520 (See [https://builds.apache.org/job/HBase-1.0/520/])
HBASE-10536 ImportTsv should fail fast if any of the column family passed to the job is not
present in the table (denny joesph) (stack: rev 7eefa36ac26d383de0400321bdb4d39ac5aa5bfd)
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/ImportTsv.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportTsv.java


> ImportTsv should fail fast if any of the column family passed to the job is not present
in the table
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-10536
>                 URL: https://issues.apache.org/jira/browse/HBASE-10536
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 0.98.0
>            Reporter: rajeshbabu
>             Fix For: 2.0.0, 0.99.2
>
>         Attachments: 10536v2.txt, HBASE-10536-v3.patch, HBASE-10536-v4.patch, HBASE-10536.patch,
HBASE-10536.patch, HBASE-10536.patch
>
>
> While checking 0.98 rc, running bulkload tools. By mistake passed wrong column family
to importtsv. LoadIncrementalHfiles failed with following exception
> {code}
> Exception in thread "main" java.io.IOException: Unmatched family names found: unmatched
family names in HFiles to be bulkloaded: [f1]; valid family names of table test are: [f]
>         at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.doBulkLoad(LoadIncrementalHFiles.java:241)
>         at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.run(LoadIncrementalHFiles.java:823)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>         at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.main(LoadIncrementalHFiles.java:828)
> {code}
>  
> Its better to fail fast if any of the passed column family is not present in table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message