Skip to content
Snippets Groups Projects
Commit 79c49dd4 authored by Adnan Ahmad's avatar Adnan Ahmad
Browse files

able to run data layer

parent 4add3598
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>root</artifactId>
<groupId>site.ycsb</groupId>
<artifactId>binding-parent</artifactId>
<version>0.18.0-SNAPSHOT</version>
<relativePath>../binding-parent</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
......
......@@ -54,8 +54,7 @@ public class ZookeeperClient extends DB {
Map<String, ByteIterator> values) {
// zookeeper needs backslash for znodes
String path = "\\" + table + "\\" + key;
String path = "/" + key;
// turn entry into JSON Object since zookeeper does not support fields
JSONObject jsonValue = new JSONObject();
for (Map.Entry<String, ByteIterator> value : values.entrySet()) {
......
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