You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by David Medinets <da...@gmail.com> on 2012/01/04 19:33:34 UTC
Writing a Client - Where is ZooKeeperInstance class?
I am reading through the user manual at
http://incubator.apache.org/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.html
and trying to follow this code:
String instanceName = "myinstance";
String zooServers = "zooserver-one,zooserver-two"
Instance inst = new ZooKeeperInstance(instanceName, zooServers);
However, I can't find the ZooKeeperInstance class in any of the jars
on my system. Does anyone know how I can resolve this issue?
Thanks,
david
Re: Writing a Client - Where is ZooKeeperInstance class?
Posted by David Medinets <da...@gmail.com>.
Found it. Thanks.
On Wed, Jan 4, 2012 at 1:40 PM, Keith Turner <ke...@deenlo.com> wrote:
> Should be in the accumulo-core jar. It is in the package
> org.apache.accumulo.core.client
>
> On Wed, Jan 4, 2012 at 1:33 PM, David Medinets <da...@gmail.com> wrote:
>> I am reading through the user manual at
>>
>> http://incubator.apache.org/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.html
>>
>> and trying to follow this code:
>>
>> String instanceName = "myinstance";
>> String zooServers = "zooserver-one,zooserver-two"
>> Instance inst = new ZooKeeperInstance(instanceName, zooServers);
>>
>> However, I can't find the ZooKeeperInstance class in any of the jars
>> on my system. Does anyone know how I can resolve this issue?
>>
>> Thanks,
>> david
Re: Writing a Client - Where is ZooKeeperInstance class?
Posted by Keith Turner <ke...@deenlo.com>.
Should be in the accumulo-core jar. It is in the package
org.apache.accumulo.core.client
On Wed, Jan 4, 2012 at 1:33 PM, David Medinets <da...@gmail.com> wrote:
> I am reading through the user manual at
>
> http://incubator.apache.org/accumulo/user_manual_1.4-incubating/Writing_Accumulo_Clients.html
>
> and trying to follow this code:
>
> String instanceName = "myinstance";
> String zooServers = "zooserver-one,zooserver-two"
> Instance inst = new ZooKeeperInstance(instanceName, zooServers);
>
> However, I can't find the ZooKeeperInstance class in any of the jars
> on my system. Does anyone know how I can resolve this issue?
>
> Thanks,
> david