Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B8E5200BB8 for ; Sat, 12 Nov 2016 19:18:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7E286160B00; Sat, 12 Nov 2016 18:18:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C3625160AF5 for ; Sat, 12 Nov 2016 19:18:40 +0100 (CET) Received: (qmail 85854 invoked by uid 500); 12 Nov 2016 18:18:39 -0000 Mailing-List: contact dev-help@sqoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sqoop.apache.org Delivered-To: mailing list dev@sqoop.apache.org Received: (qmail 85837 invoked by uid 500); 12 Nov 2016 18:18:39 -0000 Delivered-To: apmail-incubator-sqoop-dev@incubator.apache.org Received: (qmail 85828 invoked by uid 99); 12 Nov 2016 18:18:39 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Nov 2016 18:18:39 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id E35672D7A2E; Sat, 12 Nov 2016 18:18:38 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5411484128917713595==" MIME-Version: 1.0 Subject: Re: Review Request 53600: SQOOP-3027 Create check/fail fast for Sqoop export and import with --hcatalog-table , as it's not supported by Hive + MR From: Attila Szabo To: Attila Szabo Cc: Anna Szonyi , Sqoop Date: Sat, 12 Nov 2016 18:18:38 -0000 Message-ID: <20161112181838.1691.86100@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Attila Szabo X-ReviewGroup: Sqoop X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/53600/ X-Sender: Attila Szabo References: <20161110160547.1690.90292@reviews.apache.org> In-Reply-To: <20161110160547.1690.90292@reviews.apache.org> Reply-To: Attila Szabo X-ReviewRequest-Repository: sqoop-trunk archived-at: Sat, 12 Nov 2016 18:18:41 -0000 --===============5411484128917713595== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53600/#review155783 ----------------------------------------------------------- Hi Anna, With your current change the latest profile (HADOOP260) and the default profile (HADOOP200) is not able to run the test cases related to this change (e.g. HCatalogImportTest). The root cause seems to me a binary incompatibility between the HCat jars and HADOOP jars (e.g. JobConf is not an interface anymore). Although with some older profiles (HADOOP100) the original version of HCatalogImportTest passes, but your additional test cases not. I'd like to kindly ask you to fix at least HADOOP260 [the rest of the profiles planned to go away in the near future] profile to being able to run all the realted tests (on my side version 1.2.0 seemed to be working out of the box, but I let you to do the investigation which version would be the most appropriate here). Another slit change: Please also add the following statement "utils.dropHCatTableIfExists(table, SqoopHCatUtilities.DEFHCATDB);" into HCatalogImportTest#testPublishTableImportData(), as it seemed to be failing on my side without that in case of reruns. Thanks, Attila - Attila Szabo On Nov. 10, 2016, 4:05 p.m., Anna Szonyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53600/ > ----------------------------------------------------------- > > (Updated Nov. 10, 2016, 4:05 p.m.) > > > Review request for Sqoop and Attila Szabo. > > > 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 , as it's not supported by Hive + MapReduce (see: https://cwiki.apache.org/confluence/display/Hive/HCatalog+CLI#HCatalogCLI-Create/Drop/AlterView) > > > Diffs > ----- > > 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 > > --===============5411484128917713595==--