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 86FD5200B36 for ; Wed, 22 Jun 2016 08:02:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 85684160A60; Wed, 22 Jun 2016 06:02:09 +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 C9AE7160A4F for ; Wed, 22 Jun 2016 08:02:08 +0200 (CEST) Received: (qmail 8608 invoked by uid 500); 22 Jun 2016 06:02:07 -0000 Mailing-List: contact commits-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list commits@atlas.incubator.apache.org Received: (qmail 8599 invoked by uid 99); 22 Jun 2016 06:02:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 06:02:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1B845C0E1C for ; Wed, 22 Jun 2016 06:02:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VoEmxX6DCDuI for ; Wed, 22 Jun 2016 06:02:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id C71275FB3D for ; Wed, 22 Jun 2016 06:02:04 +0000 (UTC) Received: (qmail 8497 invoked by uid 99); 22 Jun 2016 06:02:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2016 06:02:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EB26CE020A; Wed, 22 Jun 2016 06:02:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shwethags@apache.org To: commits@atlas.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: incubator-atlas git commit: ATLAS-933 Test failure: HiveHookIT.testInsertIntoTable (shwethags) Date: Wed, 22 Jun 2016 06:02:03 +0000 (UTC) archived-at: Wed, 22 Jun 2016 06:02:09 -0000 Repository: incubator-atlas Updated Branches: refs/heads/master 9b00a9ddc -> ce7d83c19 ATLAS-933 Test failure: HiveHookIT.testInsertIntoTable (shwethags) Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/ce7d83c1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/ce7d83c1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/ce7d83c1 Branch: refs/heads/master Commit: ce7d83c19ffda8df550ec0a5b2e1362aec5b2ba7 Parents: 9b00a9d Author: Shwetha GS Authored: Wed Jun 22 11:29:18 2016 +0530 Committer: Shwetha GS Committed: Wed Jun 22 11:29:18 2016 +0530 ---------------------------------------------------------------------- .../java/org/apache/atlas/hive/hook/HiveHookIT.java | 13 ++++--------- release-log.txt | 1 + 2 files changed, 5 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/ce7d83c1/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java ---------------------------------------------------------------------- diff --git a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java index c6a7965..2464646 100755 --- a/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java +++ b/addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java @@ -28,7 +28,6 @@ import org.apache.atlas.fs.model.FSDataTypes; import org.apache.atlas.hive.bridge.HiveMetaStoreBridge; import org.apache.atlas.hive.model.HiveDataModelGenerator; import org.apache.atlas.hive.model.HiveDataTypes; -import org.apache.atlas.hive.rewrite.HiveASTRewriter; import org.apache.atlas.typesystem.Referenceable; import org.apache.atlas.typesystem.Struct; import org.apache.atlas.typesystem.persistence.Id; @@ -63,7 +62,6 @@ import java.text.ParseException; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; -import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.SortedMap; @@ -73,7 +71,6 @@ import static org.apache.atlas.AtlasClient.NAME; import static org.apache.atlas.hive.hook.HiveHook.entityComparator; import static org.apache.atlas.hive.hook.HiveHook.getProcessQualifiedName; import static org.apache.atlas.hive.hook.HiveHook.lower; -import static org.apache.atlas.hive.hook.HiveHook.normalize; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; @@ -526,14 +523,12 @@ public class HiveHookIT { public void testInsertIntoTable() throws Exception { String tableName = createTable(); String insertTableName = createTable(); - String query = - "insert into " + insertTableName + " select id, name from " + tableName; - - runCommand(query); + assertTableIsRegistered(DEFAULT_DB, tableName); + assertTableIsRegistered(DEFAULT_DB, insertTableName); - String inputTableId = assertTableIsRegistered(DEFAULT_DB, tableName); - String opTableId = assertTableIsRegistered(DEFAULT_DB, insertTableName); + String query = "insert into " + insertTableName + " select id, name from " + tableName; + runCommand(query); List inputs = getInputs(tableName, Entity.Type.TABLE); List outputs = getOutputs(insertTableName, Entity.Type.TABLE); ((WriteEntity)outputs.get(0)).setWriteType(WriteEntity.WriteType.INSERT); http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/ce7d83c1/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index 235cb97..e0f09fa 100644 --- a/release-log.txt +++ b/release-log.txt @@ -40,6 +40,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) ALL CHANGES: +ATLAS-933 Test failure: HiveHookIT.testInsertIntoTable (shwethags) ATLAS-856 Lazy-load type cache provider (dkantor via shwethags) ATLAS-931 Delete entities fails when hard delete is configured (dkantor via sumasai) ATLAS-932 UI: 'create tag' button does not work (mneethiraj via sumasai)