From 444234268d61337d6a48d2aad40b0f61617e94f4 Mon Sep 17 00:00:00 2001
From: ivanB1975 <ivan.baldinotti@gmail.com>
Date: Tue, 27 Oct 2015 12:47:50 +0100
Subject: [PATCH] [s3] modified Readme

---
 s3/README.md                                     | 8 ++++----
 s3/src/main/java/com/yahoo/ycsb/db/S3Client.java | 1 -
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/s3/README.md b/s3/README.md
index 296af4ff..347449de 100644
--- a/s3/README.md
+++ b/s3/README.md
@@ -34,15 +34,15 @@ It is highly suggested to use the property file instead of to send the credentia
 
 To execute the benchmark using the S3 storage binding, first files must be uploaded using the "load" option with this command:
 
-    ./bin/ycsb load s3 -p table=theBucket -p s3.endPoint=s3.amazonaws.com -p s3.accessKeyId=yourAccessKeyId -p s3.secretKey=yourSecretKey -p recordcount=10 -p operationcount=10 -p workload=com.yahoo.ycsb.workloads.CoreWorkload -p readallfields=true -p readproportion=0.5 -p updateproportion=0.5 -p scanproportion=0 -p insertproportion=0 -p readmodifywriteproportion=0  -p fieldlength=10 -p fieldcount=20 -threads 10 -p requestdistribution=zipfian
+       ./bin/ycsb load s3 -p table=theBucket -p s3.endPoint=s3.amazonaws.com -p s3.accessKeyId=yourAccessKeyId -p s3.secretKey=yourSecretKey -p fieldlength=10 -p fieldcount=20 -P workloads/workloada
 
-With this command, 10 files will be uploaded. The file size is determined by the number of fields (fieldcount) and by the field size (fieldlength). In this case each file is 200 bytes (10 bytes for each field multiplied by 20 fields). With this command 10 threads will be used.
+With this command, the workload A will be executing with the loading phase. The file size is determined by the number of fields (fieldcount) and by the field size (fieldlength). In this case each file is 200 bytes (10 bytes for each field multiplied by 20 fields).
 
 Running the command:
 
-       ./bin/ycsb load s3 -p table=theBucket -p s3.endPoint=s3.amazonaws.com -p s3.accessKeyId=yourAccessKeyId -p s3.secretKey=yourSecretKey -p recordcount=10 -p operationcount=10 -p workload=com.yahoo.ycsb.workloads.CoreWorkload -p readallfields=true -p readproportion=0.5 -p updateproportion=0.5 -p scanproportion=0 -p insertproportion=0 -p readmodifywriteproportion=0  -p fieldlength=10 -p fieldcount=20 -threads 10 -p requestdistribution=zipfian
+       ./bin/ycsb -t s3 -p table=theBucket -p s3.endPoint=s3.amazonaws.com -p s3.accessKeyId=yourAccessKeyId -p s3.secretKey=yourSecretKey -p fieldlength=10 -p fieldcount=20 -P workloads/workloada
 
-the workload A will be executed with 50/50 updates/reads. 
+the workload A will be executed with file size 200 bytes. 
 
 #### S3 Storage Configuration Parameters
 
diff --git a/s3/src/main/java/com/yahoo/ycsb/db/S3Client.java b/s3/src/main/java/com/yahoo/ycsb/db/S3Client.java
index 92c43755..c017b013 100644
--- a/s3/src/main/java/com/yahoo/ycsb/db/S3Client.java
+++ b/s3/src/main/java/com/yahoo/ycsb/db/S3Client.java
@@ -77,7 +77,6 @@ public class S3Client extends DB {
   private static String sse;
   private static SSECustomerKey ssecKey;
   private static final AtomicInteger INIT_COUNT = new AtomicInteger(0);
-  //private static int initCount = 0;
 
   /**
   * Cleanup any state for this storage.
-- 
GitLab