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 2019/07/05 22:18:42 UTC
[atlas] branch master updated: ATLAS-3318: Throw exception when
getGraphInstance() is unable to open janusgraph instance
This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new ce5b6d7 ATLAS-3318: Throw exception when getGraphInstance() is unable to open janusgraph instance
ce5b6d7 is described below
commit ce5b6d7fea167b880b279076b2498c0786a5b4fd
Author: ashutoshm <am...@hortonworks.com>
AuthorDate: Fri Jul 5 15:11:19 2019 -0700
ATLAS-3318: Throw exception when getGraphInstance() is unable to open janusgraph instance
Signed-off-by: Sarath Subramanian <sa...@apache.org>
---
.../apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java
index a8945c0..c8c6a52 100644
--- a/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java
+++ b/graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusGraphDatabase.java
@@ -174,6 +174,9 @@ public class AtlasJanusGraphDatabase implements GraphDatabase<AtlasJanusVertex,
config.addProperty("graph.allow-upgrade", true);
graphInstance = JanusGraphFactory.open(config);
}
+ else {
+ throw new RuntimeException(e);
+ }
}
atlasGraphInstance = new AtlasJanusGraph();
validateIndexBackend(config);