Skip to content

Commit

Permalink
Move all packages from com.yahoo.ycsb to site.ycsb. (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
busbey authored Sep 19, 2019
1 parent fd29cda commit cd1589c
Show file tree
Hide file tree
Showing 267 changed files with 866 additions and 866 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

import static java.nio.charset.StandardCharsets.UTF_8;

Expand Down Expand Up @@ -52,11 +52,11 @@
import org.apache.accumulo.core.util.CleanUp;
import org.apache.hadoop.io.Text;

import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;

/**
* <a href="https://accumulo.apache.org/">Accumulo</a> binding for YCSB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
/**
* YCSB binding for <a href="https://accumulo.apache.org/">Apache Accumulo</a>.
*/
package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;


import static org.junit.Assert.assertEquals;
Expand All @@ -26,10 +26,10 @@
import java.util.Map.Entry;
import java.util.Properties;

import com.yahoo.ycsb.Workload;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.measurements.Measurements;
import com.yahoo.ycsb.workloads.CoreWorkload;
import site.ycsb.Workload;
import site.ycsb.DB;
import site.ycsb.measurements.Measurements;
import site.ycsb.workloads.CoreWorkload;

import org.apache.accumulo.core.client.Connector;
import org.apache.accumulo.core.client.Scanner;
Expand Down
2 changes: 1 addition & 1 deletion accumulo1.6/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

# Suppress messages from ZooKeeper
log4j.logger.com.yahoo.ycsb.db.accumulo=INFO
log4j.logger.site.ycsb.db.accumulo=INFO
log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.accumulo=WARN
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

import static java.nio.charset.StandardCharsets.UTF_8;

Expand Down Expand Up @@ -53,11 +53,11 @@
import org.apache.accumulo.core.util.CleanUp;
import org.apache.hadoop.io.Text;

import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;

/**
* <a href="https://accumulo.apache.org/">Accumulo</a> binding for YCSB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
/**
* YCSB binding for <a href="https://accumulo.apache.org/">Apache Accumulo</a>.
*/
package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;


import static org.junit.Assert.assertEquals;
Expand All @@ -26,10 +26,10 @@
import java.util.Map.Entry;
import java.util.Properties;

import com.yahoo.ycsb.Workload;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.measurements.Measurements;
import com.yahoo.ycsb.workloads.CoreWorkload;
import site.ycsb.Workload;
import site.ycsb.DB;
import site.ycsb.measurements.Measurements;
import site.ycsb.workloads.CoreWorkload;

import org.apache.accumulo.core.client.Connector;
import org.apache.accumulo.core.client.Scanner;
Expand Down
2 changes: 1 addition & 1 deletion accumulo1.7/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

# Suppress messages from ZooKeeper
log4j.logger.com.yahoo.ycsb.db.accumulo=DEBUG
log4j.logger.site.ycsb.db.accumulo=DEBUG
log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.accumulo=WARN
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

import static java.nio.charset.StandardCharsets.UTF_8;

Expand Down Expand Up @@ -53,11 +53,11 @@
import org.apache.accumulo.core.util.CleanUp;
import org.apache.hadoop.io.Text;

import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;

/**
* <a href="https://accumulo.apache.org/">Accumulo</a> binding for YCSB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
/**
* YCSB binding for <a href="https://accumulo.apache.org/">Apache Accumulo</a>.
*/
package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.accumulo;
package site.ycsb.db.accumulo;


import static org.junit.Assert.assertEquals;
Expand All @@ -26,10 +26,10 @@
import java.util.Map.Entry;
import java.util.Properties;

import com.yahoo.ycsb.Workload;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.measurements.Measurements;
import com.yahoo.ycsb.workloads.CoreWorkload;
import site.ycsb.Workload;
import site.ycsb.DB;
import site.ycsb.measurements.Measurements;
import site.ycsb.workloads.CoreWorkload;

import org.apache.accumulo.core.client.Connector;
import org.apache.accumulo.core.client.Scanner;
Expand Down
2 changes: 1 addition & 1 deletion accumulo1.8/src/test/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

# Suppress messages from ZooKeeper
log4j.logger.com.yahoo.ycsb.db.accumulo=DEBUG
log4j.logger.site.ycsb.db.accumulo=DEBUG
log4j.logger.org.apache.zookeeper=ERROR
log4j.logger.org.apache.accumulo=WARN
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db;
package site.ycsb.db;

import com.aerospike.client.AerospikeException;
import com.aerospike.client.Bin;
Expand All @@ -25,10 +25,10 @@
import com.aerospike.client.policy.Policy;
import com.aerospike.client.policy.RecordExistsAction;
import com.aerospike.client.policy.WritePolicy;
import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DBException;
import site.ycsb.Status;

import java.util.HashMap;
import java.util.Map;
Expand All @@ -39,7 +39,7 @@
/**
* YCSB binding for <a href="http://www.aerospike.com/">Areospike</a>.
*/
public class AerospikeClient extends com.yahoo.ycsb.DB {
public class AerospikeClient extends site.ycsb.DB {
private static final String DEFAULT_HOST = "localhost";
private static final String DEFAULT_PORT = "3000";
private static final String DEFAULT_TIMEOUT = "10000";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
/**
* YCSB binding for <a href="http://www.aerospike.com/">Areospike</a>.
*/
package com.yahoo.ycsb.db;
package site.ycsb.db;
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
package com.yahoo.ycsb.db.arangodb;
package site.ycsb.db.arangodb;

import java.io.IOException;
import java.util.HashMap;
Expand All @@ -40,11 +40,11 @@
import com.arangodb.velocypack.VPackBuilder;
import com.arangodb.velocypack.VPackSlice;
import com.arangodb.velocypack.ValueType;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import com.yahoo.ycsb.StringByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;
import site.ycsb.StringByteIterator;

/**
* ArangoDB binding for YCSB framework using the ArangoDB Inc. <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
/**
* The YCSB binding for <a href="https://www.arangodb.com/">ArangoDB</a>.
*/
package com.yahoo.ycsb.db.arangodb;
package site.ycsb.db.arangodb;

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
package com.yahoo.ycsb.db;
package site.ycsb.db;

import java.io.IOException;
import java.nio.charset.Charset;
Expand All @@ -35,13 +35,13 @@
import org.hbase.async.PutRequest;
import org.hbase.async.Scanner;

import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DBException;
import site.ycsb.Status;

import static com.yahoo.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY;
import static com.yahoo.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY_DEFAULT;
import static site.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY;
import static site.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY_DEFAULT;

/**
* Alternative Java client for Apache HBase.
Expand All @@ -50,7 +50,7 @@
* asynchronous pipeline for all calls. It is particularly useful for write heavy
* workloads. It is also compatible with all production versions of HBase.
*/
public class AsyncHBaseClient extends com.yahoo.ycsb.DB {
public class AsyncHBaseClient extends site.ycsb.DB {
public static final Charset UTF8_CHARSET = Charset.forName("UTF8");
private static final String CLIENT_SIDE_BUFFERING_PROPERTY = "clientbuffering";
private static final String DURABILITY_PROPERTY = "durability";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
/**
* The YCSB binding for HBase using the AsyncHBase client.
*/
package com.yahoo.ycsb.db;
package site.ycsb.db;
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
* permissions and limitations under the License. See accompanying
* LICENSE file.
*/
package com.yahoo.ycsb.db;
package site.ycsb.db;

import static com.yahoo.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY;
import static com.yahoo.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY_DEFAULT;
import static site.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY;
import static site.ycsb.workloads.CoreWorkload.TABLENAME_PROPERTY_DEFAULT;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.junit.Assume.assumeTrue;

import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.Status;
import com.yahoo.ycsb.StringByteIterator;
import com.yahoo.ycsb.measurements.Measurements;
import com.yahoo.ycsb.workloads.CoreWorkload;
import site.ycsb.ByteIterator;
import site.ycsb.Status;
import site.ycsb.StringByteIterator;
import site.ycsb.measurements.Measurements;
import site.ycsb.workloads.CoreWorkload;

import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.TableName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// Authors: Anthony F. Voellm and Khoa Dang

package com.yahoo.ycsb.db;
package site.ycsb.db;

import java.util.HashMap;
import java.util.List;
Expand All @@ -33,11 +33,11 @@

import com.microsoft.azure.documentdb.*;

import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import com.yahoo.ycsb.StringByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;
import site.ycsb.StringByteIterator;

/**
* Azure Cosmos DB v1.00 client for YCSB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
/**
* The YCSB binding for <a href="https://azure.microsoft.com/services/cosmos-db/">Azure Cosmos</a>.
*/
package com.yahoo.ycsb.db;
package site.ycsb.db;

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* LICENSE file.
*/

package com.yahoo.ycsb.db.azuretablestorage;
package site.ycsb.db.azuretablestorage;

import com.microsoft.azure.storage.CloudStorageAccount;
import com.microsoft.azure.storage.table.CloudTable;
Expand All @@ -27,11 +27,11 @@
import com.microsoft.azure.storage.table.TableOperation;
import com.microsoft.azure.storage.table.TableQuery;
import com.microsoft.azure.storage.table.TableServiceEntity;
import com.yahoo.ycsb.ByteArrayByteIterator;
import com.yahoo.ycsb.ByteIterator;
import com.yahoo.ycsb.DB;
import com.yahoo.ycsb.DBException;
import com.yahoo.ycsb.Status;
import site.ycsb.ByteArrayByteIterator;
import site.ycsb.ByteIterator;
import site.ycsb.DB;
import site.ycsb.DBException;
import site.ycsb.Status;

import java.util.Date;
import java.util.HashMap;
Expand Down
Loading

0 comments on commit cd1589c

Please sign in to comment.