accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch 2.0 updated: Fix #886 Deprecate general.dynamic.classpaths (#1166)
Date Tue, 28 May 2019 22:27:52 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new 87d48ef  Fix #886 Deprecate general.dynamic.classpaths (#1166)
87d48ef is described below

commit 87d48ef2f5f54f3b8e675332ebe60d3a75b1bed3
Author: Holly Keebler <holly.keebler@asrcfederal.com>
AuthorDate: Tue May 21 13:21:03 2019 -0400

    Fix #886 Deprecate general.dynamic.classpaths (#1166)
---
 core/src/main/java/org/apache/accumulo/core/conf/Property.java | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
index 9520012..247a64d 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@ -178,10 +178,14 @@ public enum Property {
   GENERAL_PREFIX("general.", null, PropertyType.PREFIX,
       "Properties in this category affect the behavior of accumulo overall, but"
           + " do not have to be consistent throughout a cloud."),
+  @Deprecated
   GENERAL_DYNAMIC_CLASSPATHS(AccumuloVFSClassLoader.DYNAMIC_CLASSPATH_PROPERTY_NAME,
       AccumuloVFSClassLoader.DEFAULT_DYNAMIC_CLASSPATH_VALUE, PropertyType.STRING,
-      "A list of all of the places where changes in jars or classes will force "
-          + "a reload of the classloader."),
+      "This property is deprecated since 2.0.0. A list of all of the places where changes
"
+          + "in jars or classes will force a reload of the classloader. Built-in dynamic
class "
+          + "loading will be removed in a future version. If this is needed, consider overriding
"
+          + "the Java system class loader with one that has this feature "
+          + "(https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html#getSystemClassLoader--)."),
   GENERAL_RPC_TIMEOUT("general.rpc.timeout", "120s", PropertyType.TIMEDURATION,
       "Time to wait on I/O for simple, short RPC calls"),
   @Experimental


Mime
View raw message