Return-Path: X-Original-To: apmail-atlas-commits-archive@minotaur.apache.org Delivered-To: apmail-atlas-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D01F018D44 for ; Tue, 19 Jan 2016 05:29:07 +0000 (UTC) Received: (qmail 14043 invoked by uid 500); 19 Jan 2016 05:29:07 -0000 Delivered-To: apmail-atlas-commits-archive@atlas.apache.org Received: (qmail 14010 invoked by uid 500); 19 Jan 2016 05:29: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 14001 invoked by uid 99); 19 Jan 2016 05:29:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 05:29:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2D78C1804C9 for ; Tue, 19 Jan 2016 05:29:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.227 X-Spam-Level: * X-Spam-Status: No, score=1.227 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YNhbSANMsKRe for ; Tue, 19 Jan 2016 05:29:01 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 7E95243F3A for ; Tue, 19 Jan 2016 05:29:00 +0000 (UTC) Received: (qmail 13983 invoked by uid 99); 19 Jan 2016 05:29:00 -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; Tue, 19 Jan 2016 05:29:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EBEE2E0203; Tue, 19 Jan 2016 05:28:59 +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: <82b4e3db018c46948713328967cc3011@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-atlas git commit: ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com via shwethags) Date: Tue, 19 Jan 2016 05:28:59 +0000 (UTC) Repository: incubator-atlas Updated Branches: refs/heads/master b77d7c7bc -> fd070cb80 ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com via 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/fd070cb8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/fd070cb8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/fd070cb8 Branch: refs/heads/master Commit: fd070cb80dcf08582f1e02486b10b95d124f4039 Parents: b77d7c7 Author: Shwetha GS Authored: Tue Jan 19 10:58:52 2016 +0530 Committer: Shwetha GS Committed: Tue Jan 19 10:58:52 2016 +0530 ---------------------------------------------------------------------- .../java/org/apache/atlas/hive/model/HiveDataModelGenerator.java | 2 +- release-log.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/fd070cb8/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java ---------------------------------------------------------------------- diff --git a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java index 1eb2acf..94ca7a4 100755 --- a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java +++ b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java @@ -177,7 +177,7 @@ public class HiveDataModelGenerator { private void createStorageDescClass() throws AtlasException { AttributeDefinition[] attributeDefinitions = new AttributeDefinition[]{ new AttributeDefinition("cols", String.format("array<%s>", HiveDataTypes.HIVE_COLUMN.getName()), - Multiplicity.COLLECTION, true, null), + Multiplicity.OPTIONAL, true, null), new AttributeDefinition("location", DataTypes.STRING_TYPE.getName(), Multiplicity.OPTIONAL, false, null), new AttributeDefinition("inputFormat", DataTypes.STRING_TYPE.getName(), Multiplicity.OPTIONAL, false, http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/fd070cb8/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index fe02058..a6c6bfc 100644 --- a/release-log.txt +++ b/release-log.txt @@ -3,6 +3,7 @@ Apache Atlas Release Notes --trunk - unreleased INCOMPATIBLE CHANGES: +ATLAS-409 Atlas will not import avro tables with schema read from a file (dossett@gmail.com via shwethags) ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) ALL CHANGES: