accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [7/8] git commit: ACCUMULO-3190 Fix deprecation warning
Date Wed, 01 Oct 2014 01:26:42 GMT
ACCUMULO-3190 Fix deprecation warning


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

Branch: refs/heads/1.6
Commit: d3586ea0de6690869492ad4d5dd4b69c58e367d5
Parents: beebb94
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Sep 30 21:17:19 2014 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Sep 30 21:17:19 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/d3586ea0/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..ad84960 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
@@ -37,6 +37,8 @@ import org.apache.accumulo.core.client.TableNotFoundException;
 import org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat;
 import org.apache.accumulo.core.client.security.tokens.PasswordToken;
 import org.apache.accumulo.core.conf.AccumuloConfiguration;
+import org.apache.accumulo.core.conf.ConfigurationCopy;
+import org.apache.accumulo.core.conf.DefaultConfiguration;
 import org.apache.accumulo.core.conf.Property;
 import org.apache.accumulo.core.data.Mutation;
 import org.apache.accumulo.core.data.Range;
@@ -74,7 +76,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