phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestay...@apache.org
Subject phoenix git commit: PHOENIX-2329 Fix Pherf Eclipse compiler errors
Date Fri, 16 Oct 2015 21:36:35 GMT
Repository: phoenix
Updated Branches:
  refs/heads/master 184d6225c -> cf1f6afaa


PHOENIX-2329 Fix Pherf Eclipse compiler errors


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/cf1f6afa
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cf1f6afa
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cf1f6afa

Branch: refs/heads/master
Commit: cf1f6afaa26f96d592ea794f68b67f97d59dcd60
Parents: 184d622
Author: James Taylor <jamestaylor@apache.org>
Authored: Fri Oct 16 14:35:49 2015 -0700
Committer: James Taylor <jamestaylor@apache.org>
Committed: Fri Oct 16 14:35:49 2015 -0700

----------------------------------------------------------------------
 .../flume/serializer/CustomSerializer.java      |  9 +++------
 .../java/org/apache/phoenix/pherf/Pherf.java    | 21 +++++++++++---------
 2 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/cf1f6afa/phoenix-flume/src/it/java/org/apache/phoenix/flume/serializer/CustomSerializer.java
----------------------------------------------------------------------
diff --git a/phoenix-flume/src/it/java/org/apache/phoenix/flume/serializer/CustomSerializer.java
b/phoenix-flume/src/it/java/org/apache/phoenix/flume/serializer/CustomSerializer.java
index a0785ae..5db5fa6 100644
--- a/phoenix-flume/src/it/java/org/apache/phoenix/flume/serializer/CustomSerializer.java
+++ b/phoenix-flume/src/it/java/org/apache/phoenix/flume/serializer/CustomSerializer.java
@@ -17,16 +17,13 @@
  */
 package org.apache.phoenix.flume.serializer;
 
-import org.apache.flume.Context;
-import org.apache.flume.Event;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import java.sql.SQLException;
 import java.util.List;
 
+import org.apache.flume.Context;
+import org.apache.flume.Event;
+
 public class CustomSerializer extends BaseEventSerializer {
-    private static final Logger logger = LoggerFactory.getLogger(CustomSerializer.class);
     @Override
     public void doConfigure(Context context) {
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/cf1f6afa/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
----------------------------------------------------------------------
diff --git a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
index f6ed19d..cf5b6aa 100644
--- a/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
+++ b/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/Pherf.java
@@ -18,7 +18,18 @@
 
 package org.apache.phoenix.pherf;
 
-import org.apache.commons.cli.*;
+import java.nio.file.Path;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.commons.cli.CommandLine;
+import org.apache.commons.cli.CommandLineParser;
+import org.apache.commons.cli.HelpFormatter;
+import org.apache.commons.cli.Options;
+import org.apache.commons.cli.ParseException;
+import org.apache.commons.cli.PosixParser;
 import org.apache.phoenix.pherf.PherfConstants.GeneratePhoenixStats;
 import org.apache.phoenix.pherf.configuration.XMLConfigParser;
 import org.apache.phoenix.pherf.jmx.MonitorManager;
@@ -34,12 +45,6 @@ import org.apache.phoenix.pherf.workload.WriteWorkload;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.nio.file.Path;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-import java.util.Properties;
-
 public class Pherf {
     private static final Logger logger = LoggerFactory.getLogger(Pherf.class);
     private static final Options options = new Options();
@@ -92,7 +97,6 @@ public class Pherf {
     private final boolean preLoadData;
     private final String dropPherfTablesRegEx;
     private final boolean executeQuerySets;
-    private final boolean exportCSV;
     private final boolean isFunctional;
     private final boolean monitor;
     private final int rowCountOverride;
@@ -131,7 +135,6 @@ public class Pherf {
         executeQuerySets = command.hasOption("q");
         zookeeper = command.getOptionValue("z", "localhost");
         queryHint = command.getOptionValue("hint", null);
-        exportCSV = command.hasOption("export");
         isFunctional = command.hasOption("diff");
         listFiles = command.hasOption("listFiles");
         applySchema = !command.hasOption("disableSchemaApply");


Mime
View raw message