Skip to content
Snippets Groups Projects
Commit 82011d5f authored by Mike Drob's avatar Mike Drob
Browse files

[accumulo] update binding to 1.7.2

parent be6ba526
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ import org.apache.accumulo.core.client.AccumuloException; ...@@ -28,6 +28,7 @@ import org.apache.accumulo.core.client.AccumuloException;
import org.apache.accumulo.core.client.AccumuloSecurityException; import org.apache.accumulo.core.client.AccumuloSecurityException;
import org.apache.accumulo.core.client.BatchWriter; import org.apache.accumulo.core.client.BatchWriter;
import org.apache.accumulo.core.client.BatchWriterConfig; import org.apache.accumulo.core.client.BatchWriterConfig;
import org.apache.accumulo.core.client.ClientConfiguration;
import org.apache.accumulo.core.client.Connector; import org.apache.accumulo.core.client.Connector;
import org.apache.accumulo.core.client.MutationsRejectedException; import org.apache.accumulo.core.client.MutationsRejectedException;
import org.apache.accumulo.core.client.Scanner; import org.apache.accumulo.core.client.Scanner;
...@@ -77,9 +78,9 @@ public class AccumuloClient extends DB { ...@@ -77,9 +78,9 @@ public class AccumuloClient extends DB {
public void init() throws DBException { public void init() throws DBException {
colFam = new Text(getProperties().getProperty("accumulo.columnFamily")); colFam = new Text(getProperties().getProperty("accumulo.columnFamily"));
inst = new ZooKeeperInstance( inst = new ZooKeeperInstance(new ClientConfiguration()
getProperties().getProperty("accumulo.instanceName"), .withInstance(getProperties().getProperty("accumulo.instanceName"))
getProperties().getProperty("accumulo.zooKeepers")); .withZkHosts(getProperties().getProperty("accumulo.zooKeepers")));
try { try {
String principal = getProperties().getProperty("accumulo.username"); String principal = getProperties().getProperty("accumulo.username");
AuthenticationToken token = AuthenticationToken token =
......
...@@ -24,6 +24,6 @@ log4j.appender.stderr.layout=org.apache.log4j.PatternLayout ...@@ -24,6 +24,6 @@ log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
log4j.appender.stderr.layout.conversionPattern=%d{yyyy/MM/dd HH:mm:ss} %-5p %c %x - %m%n log4j.appender.stderr.layout.conversionPattern=%d{yyyy/MM/dd HH:mm:ss} %-5p %c %x - %m%n
# Suppress messages from ZooKeeper # Suppress messages from ZooKeeper
log4j.logger.com.yahoo.ycsb.db.accumulo=INFO log4j.logger.com.yahoo.ycsb.db.accumulo=DEBUG
log4j.logger.org.apache.zookeeper=ERROR log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.accumulo=WARN log4j.logger.org.apache.accumulo=WARN
...@@ -72,7 +72,7 @@ LICENSE file. ...@@ -72,7 +72,7 @@ LICENSE file.
<hbase094.version>0.94.27</hbase094.version> <hbase094.version>0.94.27</hbase094.version>
<hbase098.version>0.98.14-hadoop2</hbase098.version> <hbase098.version>0.98.14-hadoop2</hbase098.version>
<hbase10.version>1.0.2</hbase10.version> <hbase10.version>1.0.2</hbase10.version>
<accumulo.version>1.6.0</accumulo.version> <accumulo.version>1.7.2</accumulo.version>
<cassandra.version>1.2.9</cassandra.version> <cassandra.version>1.2.9</cassandra.version>
<cassandra.cql.version>1.0.3</cassandra.cql.version> <cassandra.cql.version>1.0.3</cassandra.cql.version>
<cassandra2.cql.version>3.0.0</cassandra2.cql.version> <cassandra2.cql.version>3.0.0</cassandra2.cql.version>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment