You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2018/01/18 05:58:14 UTC

[1/2] atlas git commit: ATLAS-2373: v1 schema API returns 500 Internal server error for invalid guid instead of 404

Repository: atlas
Updated Branches:
  refs/heads/master f1f828fdc -> bd87c3f62


ATLAS-2373: v1 schema API returns 500 Internal server error for invalid guid instead of 404


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/74d48279
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/74d48279
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/74d48279

Branch: refs/heads/master
Commit: 74d4827943a3b4e4003f14653c78e487387fa595
Parents: f1f828f
Author: Sarath Subramanian <ss...@hortonworks.com>
Authored: Wed Jan 17 21:56:53 2018 -0800
Committer: Sarath Subramanian <ss...@hortonworks.com>
Committed: Wed Jan 17 21:56:53 2018 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/atlas/web/resources/LineageResource.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/74d48279/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java
----------------------------------------------------------------------
diff --git a/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java b/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java
index 891e4d7..94b5259 100644
--- a/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java
+++ b/webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java
@@ -183,6 +183,9 @@ public class LineageResource {
         } catch (WebApplicationException e) {
             LOG.error("Unable to get schema for entity guid={}", guid, e);
             throw e;
+        } catch (AtlasBaseException e) {
+            LOG.error("Unable to get schema for entity={}", guid, e);
+            throw new WebApplicationException(Servlets.getErrorResponse(e, e.getAtlasErrorCode().getHttpCode()));
         } catch (Throwable e) {
             LOG.error("Unable to get schema for entity={}", guid, e);
             throw new WebApplicationException(Servlets.getErrorResponse(e, Response.Status.INTERNAL_SERVER_ERROR));


[2/2] atlas git commit: ATLAS-2374: Remove test only library from final distribution packaging

Posted by sa...@apache.org.
ATLAS-2374: Remove test only library from final distribution packaging


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/bd87c3f6
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/bd87c3f6
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/bd87c3f6

Branch: refs/heads/master
Commit: bd87c3f624d45e9d6d2080c28197e3e1ab9a4ebc
Parents: 74d4827
Author: Sarath Subramanian <ss...@hortonworks.com>
Authored: Wed Jan 17 21:57:37 2018 -0800
Committer: Sarath Subramanian <ss...@hortonworks.com>
Committed: Wed Jan 17 21:57:37 2018 -0800

----------------------------------------------------------------------
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/bd87c3f6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3f5c042..5c4b4a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -658,7 +658,7 @@
                 <graphdb.backend.impl>org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase</graphdb.backend.impl>
                 <graph.index.backend>solr</graph.index.backend>
                 <tests.solr.embedded>true</tests.solr.embedded>
-                <distro.exclude.packages>WEB-INF/lib/je-*.jar,WEB-INF/lib/elasticsearch-*.jar,WEB-INF/lib/solr-test-framework-*.jar</distro.exclude.packages>
+                <distro.exclude.packages>WEB-INF/lib/je-*.jar,WEB-INF/lib/elasticsearch-*.jar,WEB-INF/lib/solr-test-framework-*.jar, WEB-INF/lib/jts-*.jar</distro.exclude.packages>
             </properties>
         </profile>
 
@@ -678,7 +678,7 @@
                 <graphdb.backend.impl>org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase</graphdb.backend.impl>
                 <graph.index.backend>solr</graph.index.backend>
                 <tests.solr.embedded>true</tests.solr.embedded>
-                <distro.exclude.packages>WEB-INF/lib/je-*.jar,WEB-INF/lib/elasticsearch-*.jar</distro.exclude.packages>
+                <distro.exclude.packages>WEB-INF/lib/je-*.jar,WEB-INF/lib/elasticsearch-*.jar,WEB-INF/lib/solr-test-framework-*.jar, WEB-INF/lib/jts-*.jar</distro.exclude.packages>
             </properties>
         </profile>