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?


Copy link to this message
-
MockInstance difference between 1.4.2 and 1.4.3 - getConnector password must be blank?
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?
+
John Vines 2013-05-16, 03:27