Browse Source

HADOOP-11544. Remove unused configuration keys for tracing. Contributed by Masatake Iwasaki.

Akira Ajisaka 10 years ago
parent
commit
42548f4dc2

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -530,6 +530,9 @@ Release 2.7.0 - UNRELEASED
     HADOOP-11442. hadoop-azure: Create test jar.
     HADOOP-11442. hadoop-azure: Create test jar.
     (Shashank Khandelwal via cnauroth)
     (Shashank Khandelwal via cnauroth)
 
 
+    HADOOP-11544. Remove unused configuration keys for tracing. (Masatake
+    Iwasaki via aajisaka)
+
   OPTIMIZATIONS
   OPTIMIZATIONS
 
 
     HADOOP-11323. WritableComparator#compare keeps reference to byte array.
     HADOOP-11323. WritableComparator#compare keeps reference to byte array.

+ 0 - 3
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java

@@ -286,7 +286,4 @@ public class CommonConfigurationKeys extends CommonConfigurationKeysPublic {
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_SEPARATOR = ";";
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_SEPARATOR = ";";
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_KEY = "nfs.exports.allowed.hosts";
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_KEY = "nfs.exports.allowed.hosts";
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_KEY_DEFAULT = "* rw";
   public static final String NFS_EXPORTS_ALLOWED_HOSTS_KEY_DEFAULT = "* rw";
-
-  public static final String  HADOOP_TRACE_SAMPLER = "hadoop.htrace.sampler";
-  public static final String  HADOOP_TRACE_SAMPLER_DEFAULT = "NeverSampler";
 }
 }

+ 0 - 12
hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

@@ -1653,18 +1653,6 @@ for ldap providers in the same way as above does.
   </description>
   </description>
 </property>
 </property>
 
 
-<property>
-  <name>hadoop.htrace.sampler</name>
-  <value>NeverSampler</value>
-  <description>
-    Configure the samplers for HTrace, the value can be NeverSampler,
-    AlwaysSampler or ProbabilitySampler. NeverSampler: HTrace is OFF 
-    for all spans; AlwaysSampler: HTrace is ON for all spans;
-    ProbabilitySampler: HTrace is ON for some percentage% of top-level 
-    spans.
-  </description>
-</property>
-
 <property>
 <property>
   <name>hadoop.htrace.spanreceiver.classes</name>
   <name>hadoop.htrace.spanreceiver.classes</name>
   <value></value>
   <value></value>