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

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


Copy link to this message
-
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/
-----------------------------------------------------------

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/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