-Re: ArrayIndexOutOfBoundsException while creating persistent znodes?
Patrick Hunt 2013-10-29, 00:50
Depending on what version you're using (some recent improvements to
the help/error reporting) it's likely due to not specifying the data.
try this instead.
create -s /be data
On Mon, Oct 28, 2013 at 3:53 PM, Techy Teck <[EMAIL PROTECTED]> wrote:
> After I have started the Zookeeper server from windows command prompt and
> also started the zkConsole.. I tried creating the znode persistent node as
> `/be` from the command prompt like this -
> WatchedEvent state:SyncConnected type:None path:null
> [zk: localhost:2181(CONNECTED) 0] create -s /be
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
> And as soon as I did that, I got an exception on the console as mentioned
> above.. As this is my first time so I am not sure how to resolve this
> issue? Any pointers will be appreciated on this..