Github user kchilton2 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/151#discussion_r110780759
--- Diff:
extras/indexing/src/main/java/org/apache/rya/indexing/accumulo/entity/EntityOptimizer.java
---
@@ -69,10 +72,8 @@ public EntityOptimizer(RdfCloudTripleStoreConfiguration
conf) {
eval = new AccumuloSelectivityEvalDAO(conf,
ConfigUtils.getConnector(conf));
((AccumuloSelectivityEvalDAO)eval).setRdfEvalDAO(new
ProspectorServiceEvalStatsDAO(ConfigUtils.getConnector(conf), conf));
eval.init();
- } catch (AccumuloException e) {
- e.printStackTrace();
- } catch (AccumuloSecurityException e) {
- e.printStackTrace();
+ } catch (final AccumuloException | AccumuloSecurityException |
TableExistsException e) {
+ LOG.warn("A problem was encountered while constructing the
EntityOptimizer.", e);
--- End diff --
I don't know what else you'd say here. The chained exception will have the
details.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---