Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # dev >> Review Request: Hbase import fails if there is a row where all columns are null


+
David Robson 2013-02-05, 03:56
+
Jarek Cecho 2013-02-07, 02:59
+
David Robson 2013-02-07, 21:45
Copy link to this message
-
Re: Review Request: Hbase import fails if there is a row where all columns are null

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9300/#review16325
-----------------------------------------------------------

Ship it!
Ship It!

- Jarek Cecho
On Feb. 7, 2013, 9:45 p.m., David Robson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9300/
> -----------------------------------------------------------
>
> (Updated Feb. 7, 2013, 9:45 p.m.)
>
>
> Review request for Sqoop.
>
>
> Description
> -------
>
> Added defensive code to skip the HBase put and warn the user if it has no columns and would therefore fail.
> Before this change it was crashing the whole Sqoop job.
>
>
> This addresses bug SQOOP-862.
>     https://issues.apache.org/jira/browse/SQOOP-862
>
>
> Diffs
> -----
>
>   src/docs/user/hbase.txt 7404929
>   src/java/org/apache/sqoop/hbase/HBasePutProcessor.java cca641f
>   src/test/com/cloudera/sqoop/hbase/HBaseImportTest.java bf24608
>   src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java 65ff87b
>
> Diff: https://reviews.apache.org/r/9300/diff/
>
>
> Testing
> -------
>
> Tested manually and created a new automated test for this case.
>
>
> Thanks,
>
> David Robson
>
>