accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-1866 fix deprecation warning in test
Date Tue, 23 Sep 2014 14:35:58 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 1b79f51c5 -> a69751675


ACCUMULO-1866 fix deprecation warning in test


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

Branch: refs/heads/master
Commit: a697516751426ec5143cea860ed6cbbaa85cf9af
Parents: 1b79f51
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Tue Sep 23 10:35:58 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Tue Sep 23 10:35:58 2014 -0400

----------------------------------------------------------------------
 .../apache/accumulo/test/functional/AccumuloInputFormatIT.java  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/a6975167/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
b/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
index a3427bb..5d791f5 100644
--- a/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/functional/AccumuloInputFormatIT.java
@@ -26,6 +26,9 @@ import java.util.Collection;
 import java.util.List;
 import java.util.TreeSet;
 
+import org.apache.accumulo.core.conf.ConfigurationCopy;
+
+import org.apache.accumulo.core.conf.DefaultConfiguration;
 import org.apache.accumulo.core.client.AccumuloException;
 import org.apache.accumulo.core.client.AccumuloSecurityException;
 import org.apache.accumulo.core.client.BatchWriter;
@@ -74,7 +77,7 @@ public class AccumuloInputFormatIT extends SimpleMacIT {
 
     ClientConfiguration clientConf = new ClientConfiguration().withInstance(conn.getInstance().getInstanceName()).withZkHosts(
         conn.getInstance().getZooKeepers());
-    AccumuloConfiguration clusterClientConf = conn.getInstance().getConfiguration();
+    AccumuloConfiguration clusterClientConf = new ConfigurationCopy(new DefaultConfiguration());
 
     // Pass SSL and CredentialProvider options into the ClientConfiguration given to AccumuloInputFormat
     boolean sslEnabled = Boolean.valueOf(clusterClientConf.get(Property.INSTANCE_RPC_SSL_ENABLED));


Mime
View raw message