sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Szonyi <szo...@cloudera.com>
Subject Re: Review Request 53600: SQOOP-3027 Create check/fail fast for Sqoop export and import with --hcatalog-table <HIVE_VIEW>, as it's not supported by Hive + MR
Date Mon, 14 Nov 2016 16:27:42 GMT

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

(Updated Nov. 14, 2016, 4:27 p.m.)


Review request for Sqoop and Attila Szabo.


Changes
-------

Slightly tweaked the dropped if existed Log message to make it clearer.


Bugs: SQOOP-3027
    https://issues.apache.org/jira/browse/SQOOP-3027


Repository: sqoop-trunk


Description
-------

SQOOP-3027: Added check/fail fast for Sqoop export and import with --hcatalog-table <HIVE_VIEW>,
as it's not supported by Hive + MapReduce (see: https://cwiki.apache.org/confluence/display/Hive/HCatalog+CLI#HCatalogCLI-Create/Drop/AlterView)


Diffs (updated)
-----

  build.xml b1545b6 
  src/java/org/apache/sqoop/mapreduce/hcat/SqoopHCatUtilities.java ebe7209 
  src/java/org/apache/sqoop/tool/BaseSqoopTool.java 468bf34 
  src/test/org/apache/sqoop/hcat/HCatalogExportTest.java ff3dde1 
  src/test/org/apache/sqoop/hcat/HCatalogImportTest.java fe5295a 
  src/test/org/apache/sqoop/hcat/HCatalogTestUtils.java fb4a200 

Diff: https://reviews.apache.org/r/53600/diff/


Testing
-------

Added unit tests for import, export and view check. Ran ant test.


Thanks,

Anna Szonyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message