Skip to content

Conversation

@milleruntime
Copy link
Contributor

No description provided.


conn = new ZooKeeperInstance(ClientConfiguration.create().withInstance(instanceName).withZkHosts(zookeepers)).getConnector(user,
new PasswordToken(password));
Accumulo.newClient().forInstance(instanceName, zookeepers).usingToken(user, new PasswordToken(password)).build();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like conn is not set here

}

public Connector getConnector() {
public AccumuloClient getConnector() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be renamed to getClient

PerformanceTest perfTest = Class.forName(className).asSubclass(PerformanceTest.class).newInstance();

Connector conn = Connector.builder().usingProperties(clientProps).build();
Connector conn = Connector.from(Accumulo.newClient().usingProperties(clientProps).build());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be switched over to AccumuloClient

@milleruntime milleruntime merged commit 27216f4 into apache:master Sep 24, 2018
@milleruntime milleruntime deleted the accumulo-client branch October 3, 2018 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants