Github user isper3at commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/156#discussion_r112089139
--- Diff:
extras/indexing/src/main/java/org/apache/rya/api/client/accumulo/AccumuloCreatePCJ.java
---
@@ -139,16 +138,15 @@ private void updateFluoApp(final String ryaInstance,
final String fluoAppName, f
// Connect to the Fluo application that is updating this
instance's PCJs.
final AccumuloConnectionDetails cd =
super.getAccumuloConnectionDetails();
- final FluoClient fluoClient = new FluoClientFactory().connect(
+ try(final FluoClient fluoClient = new FluoClientFactory().connect(
cd.getUsername(),
new String(cd.getPassword()),
cd.getInstanceName(),
cd.getZookeepers(),
- fluoAppName);
-
- // Initialize the PCJ within the Fluo application.
- final org.apache.rya.indexing.pcj.fluo.api.CreatePcj fluoCreatePcj
= new org.apache.rya.indexing.pcj.fluo.api.CreatePcj();
- fluoCreatePcj.withRyaIntegration(pcjId, pcjStorage, fluoClient,
getConnector(), ryaInstance);
+ fluoAppName);) {
+ // Initialize the PCJ within the Fluo application.
+ final org.apache.rya.indexing.pcj.fluo.api.CreatePcj
fluoCreatePcj = new org.apache.rya.indexing.pcj.fluo.api.CreatePcj();
--- End diff --
can you import CreatePcj?
---
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.
---