Hi Jon,

Glad to hear that your making some more progress!

On Thu, Nov 14, 2013 at 8:45 PM, <[email protected]> wrote:

>
> So I think it has to do with Accumulo somehow. I reverted the
> conf/gora.properties setting for mock from false to:
>
> gora.datastore.accumulo.mock=true
>
> and re-building and re-running the runtime deploy job completed
> successfully. Trying to see if I can track down the issue.
>
>
>
I am not sure about this approach. Have you tried editing the
gora.datastore.accumulo.zookeepers=localhost property to the IP for the
Zookeeper(s) server? I am not certain that simulating a mock datastore is
the way to go here.
AccumuloStore contains the following code

      try {
        if (mock == null || !mock.equals("true")) {
          String instance = DataStoreFactory.findProperty(properties,
this, INSTANCE_NAME_PROPERTY, null);
          String zookeepers =
DataStoreFactory.findProperty(properties, this,
ZOOKEEPERS_NAME_PROPERTY, null);
          conn = new ZooKeeperInstance(instance,
zookeepers).getConnector(user, password);
          authInfo = new AuthInfo(user,
ByteBuffer.wrap(password.getBytes()),
conn.getInstance().getInstanceID());
        } else {
          conn = new MockInstance().getConnector(user, password);
        }

This to me indicates that if you want to create the persistent data store
then you would edit the mock property to boolean false which will take you
in to the if block. Then you are just searching for configuration
properties for the Accumulo server instance, zookeeper server instance and
usename and password from gora.proerties
hth, please let us know how you get on... and also how the AccumuloStore is
working. AFAIK it is one of the lesser used data stores so we are always
keen to hear of user experiences, etc.
Thanks
Lewis

Reply via email to