diff --git a/src/main/java/io/hops/metadata/ndb/NdbStorageFactory.java b/src/main/java/io/hops/metadata/ndb/NdbStorageFactory.java index 6248c5eb..fa5ce9f5 100644 --- a/src/main/java/io/hops/metadata/ndb/NdbStorageFactory.java +++ b/src/main/java/io/hops/metadata/ndb/NdbStorageFactory.java @@ -93,7 +93,8 @@ public void setConfiguration(Properties conf) MysqlServerConnector.getInstance().setConfiguration(conf); initDataAccessMap(); } catch (IOException ex) { - throw new StorageInitializtionException(ex); + //ClusterJ dumps username and password in the exception + throw new StorageInitializtionException("Error getting connection to cluster"); } }