Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo, mail # dev - MockInstance difference between 1.4.2 and 1.4.3 - getConnector password must be blank?


+
David Medinets 2013-05-16, 03:19
Copy link to this message
-
Re: MockInstance difference between 1.4.2 and 1.4.3 - getConnector password must be blank?
John Vines 2013-05-16, 03:27
That is correct. In 1.4.2 and before, mock would treat root like any other
user and create the user with the password provided the first time. In
1.4.3+, the root user is automatically generated with the empty password.

Sent from my phone, please pardon the typos and brevity.
On May 15, 2013 8:20 PM, "David Medinets" <[EMAIL PROTECTED]> wrote:

> The following bit of code works with the v1.4.2 jars but fails with the
> v1.4.3 jars.
>
>         Instance mock = new MockInstance();
>         Connector connector = mock.getConnector("root",
> "password".getBytes());
>
> Using a blank password, as below, works in both releases.
>
>         Instance mock = new MockInstance();
>         Connector connector = mock.getConnector("root", "".getBytes());
>
> Is my understanding correct?
>