Github user kchilton2 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/261#discussion_r160292856
--- Diff:
extras/shell/src/main/java/org/apache/rya/shell/RyaConnectionCommands.java ---
@@ -199,6 +199,14 @@ public void run() {
}
});
+ try {
+ //attempt to get the connection point, essentially pinging
mongo server.
+ adminClient.getConnectPoint();
+ } catch (MongoException e) {
+ //unable to reach the mongo server, throw expected failed
exception.
+ throw new IOException(e);
--- End diff --
Still need a message here.
---