You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2018/08/10 21:26:17 UTC
[accumulo] branch 1.9 updated: Fix #596 Fix compilation on Java 7
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/1.9 by this push:
new eee579d Fix #596 Fix compilation on Java 7
eee579d is described below
commit eee579d7ced7ef91311af11d35e09c9b448cedfc
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Aug 10 17:09:27 2018 -0400
Fix #596 Fix compilation on Java 7
* Remove use of Java 8 exception from test class
* Fix Javadoc comment to refer to content of property prefix, rather
than the deprecated Property object
---
.../java/org/apache/accumulo/server/security/UserImpersonation.java | 2 +-
.../src/test/java/org/apache/accumulo/tserver/WalRemovalOrderTest.java | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/server/base/src/main/java/org/apache/accumulo/server/security/UserImpersonation.java b/server/base/src/main/java/org/apache/accumulo/server/security/UserImpersonation.java
index 93a3205..a791293 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/security/UserImpersonation.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/security/UserImpersonation.java
@@ -263,7 +263,7 @@ public class UserImpersonation {
}
/**
- * Parses all properties that start with {@link Property#INSTANCE_RPC_SASL_PROXYUSERS}. This
+ * Parses all properties that start with <code>instance.rpc.sasl.impersonation.</code>. This
* approach was the original configuration method, but does not work with Ambari.
*
* @param configProperties
diff --git a/server/tserver/src/test/java/org/apache/accumulo/tserver/WalRemovalOrderTest.java b/server/tserver/src/test/java/org/apache/accumulo/tserver/WalRemovalOrderTest.java
index e0ae6c1..0dbb66d 100644
--- a/server/tserver/src/test/java/org/apache/accumulo/tserver/WalRemovalOrderTest.java
+++ b/server/tserver/src/test/java/org/apache/accumulo/tserver/WalRemovalOrderTest.java
@@ -17,7 +17,6 @@
package org.apache.accumulo.tserver;
import java.io.IOException;
-import java.io.UncheckedIOException;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.List;
@@ -52,7 +51,7 @@ public class WalRemovalOrderTest {
try {
return new DfsLogger(conf, filename, null);
} catch (IOException e) {
- throw new UncheckedIOException(e);
+ throw new RuntimeException(e);
}
}