accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [1/2] git commit: ACCUMULO-1961 fixing warnings
Date Tue, 18 Feb 2014 20:17:29 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.0-SNAPSHOT 91eb87c48 -> 732f037ea


ACCUMULO-1961 fixing warnings


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: eea885a32c1b586f1e87991fbeb0b7f8e07b9b9a
Parents: 8ca088e
Author: Eric Newton <eric.newton@gmail.com>
Authored: Tue Feb 18 15:15:56 2014 -0500
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Tue Feb 18 15:15:56 2014 -0500

----------------------------------------------------------------------
 .../core/client/impl/TabletServerBatchReaderIterator.java       | 5 ++---
 .../core/client/mapreduce/lib/partition/RangePartitioner.java   | 1 -
 .../java/org/apache/accumulo/fate/util/AddressUtilTest.java     | 2 +-
 .../org/apache/accumulo/minicluster/MiniAccumuloCluster.java    | 1 -
 .../java/org/apache/accumulo/server/util/SendLogToChainsaw.java | 1 -
 .../org/apache/accumulo/test/continuous/UndefinedAnalyzer.java  | 1 -
 .../src/test/java/org/apache/accumulo/test/ShellServerTest.java | 2 +-
 7 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java
b/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java
index 6675344..6c6d1bb 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchReaderIterator.java
@@ -34,8 +34,6 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Semaphore;
 import java.util.concurrent.TimeUnit;
 
-import org.apache.accumulo.trace.instrument.TraceRunnable;
-import org.apache.accumulo.trace.instrument.Tracer;
 import org.apache.accumulo.core.Constants;
 import org.apache.accumulo.core.client.AccumuloException;
 import org.apache.accumulo.core.client.AccumuloSecurityException;
@@ -65,7 +63,8 @@ import org.apache.accumulo.core.tabletserver.thrift.TabletClientService;
 import org.apache.accumulo.core.util.ByteBufferUtil;
 import org.apache.accumulo.core.util.OpTimer;
 import org.apache.accumulo.core.util.ThriftUtil;
-import org.apache.accumulo.core.util.UtilWaitThread;
+import org.apache.accumulo.trace.instrument.TraceRunnable;
+import org.apache.accumulo.trace.instrument.Tracer;
 import org.apache.hadoop.io.Text;
 import org.apache.log4j.Level;
 import org.apache.log4j.Logger;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/partition/RangePartitioner.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/partition/RangePartitioner.java
b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/partition/RangePartitioner.java
index e29c791..d9d0e97 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/partition/RangePartitioner.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/mapreduce/lib/partition/RangePartitioner.java
@@ -19,7 +19,6 @@ package org.apache.accumulo.core.client.mapreduce.lib.partition;
 import java.io.BufferedReader;
 import java.io.FileInputStream;
 import java.io.FileNotFoundException;
-import java.io.FileReader;
 import java.io.IOException;
 import java.io.InputStreamReader;
 import java.net.URI;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/fate/src/test/java/org/apache/accumulo/fate/util/AddressUtilTest.java
----------------------------------------------------------------------
diff --git a/fate/src/test/java/org/apache/accumulo/fate/util/AddressUtilTest.java b/fate/src/test/java/org/apache/accumulo/fate/util/AddressUtilTest.java
index 7d43381..6e6a3c3 100644
--- a/fate/src/test/java/org/apache/accumulo/fate/util/AddressUtilTest.java
+++ b/fate/src/test/java/org/apache/accumulo/fate/util/AddressUtilTest.java
@@ -86,7 +86,7 @@ public class AddressUtilTest extends TestCase {
     }
     try {
       log.info("AddressUtil is (hopefully) going to spit out an error about DNS lookups.
you can ignore it.");
-      int result = AddressUtil.getAddressCacheNegativeTtl(null);
+      AddressUtil.getAddressCacheNegativeTtl(null);
       fail("The JVM Security settings cache DNS failures forever, this should cause an exception.");
     } catch(IllegalArgumentException exception) {
       assertTrue(true);

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
----------------------------------------------------------------------
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
index 1b32997..4018a33 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloCluster.java
@@ -20,7 +20,6 @@ import java.io.BufferedReader;
 import java.io.BufferedWriter;
 import java.io.File;
 import java.io.FileOutputStream;
-import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java
----------------------------------------------------------------------
diff --git a/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java b/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java
index bf45c30..efadfae 100644
--- a/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java
+++ b/server/src/main/java/org/apache/accumulo/server/util/SendLogToChainsaw.java
@@ -20,7 +20,6 @@ import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileInputStream;
 import java.io.FileNotFoundException;
-import java.io.FileReader;
 import java.io.FilenameFilter;
 import java.io.IOException;
 import java.io.InputStreamReader;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/test/src/main/java/org/apache/accumulo/test/continuous/UndefinedAnalyzer.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/continuous/UndefinedAnalyzer.java
b/test/src/main/java/org/apache/accumulo/test/continuous/UndefinedAnalyzer.java
index d424175..762084a 100644
--- a/test/src/main/java/org/apache/accumulo/test/continuous/UndefinedAnalyzer.java
+++ b/test/src/main/java/org/apache/accumulo/test/continuous/UndefinedAnalyzer.java
@@ -19,7 +19,6 @@ package org.apache.accumulo.test.continuous;
 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileInputStream;
-import java.io.FileReader;
 import java.io.FilenameFilter;
 import java.io.InputStreamReader;
 import java.text.SimpleDateFormat;

http://git-wip-us.apache.org/repos/asf/accumulo/blob/eea885a3/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java b/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
index 01b0e28..28a4dd2 100644
--- a/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
+++ b/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
@@ -510,7 +510,7 @@ public class ShellServerTest {
     exec("createtable " + table + " -evc");
 
     // Make sure the table is fully propagated through zoocache
-    final String tableId = getTableId(table);
+    getTableId(table);
 
     exec("constraint -l -t " + table, true, "VisibilityConstraint=1", true);
     Thread.sleep(250);


Mime
View raw message