This is an automated email from the ASF dual-hosted git repository.
sarath pushed a commit to branch branch-1.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-1.0 by this push:
new 12c2793 ATLAS-3318: Throw exception when getGraphInstance() is unable
to open janusgraph instance
12c2793 is described below
commit 12c27933a1edb9e275072cb515d02dd4dc0bfcc0
Author: ashutoshm <[email protected]>
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 <[email protected]>
(cherry picked from commit ce5b6d7fea167b880b279076b2498c0786a5b4fd)
---
.../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 80e9cc3..92e555c 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
@@ -147,6 +147,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);