From 3f321be24d524e942971d207f235ff76ce22f3ab Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Wed, 27 May 2015 13:14:51 -0700 Subject: [PATCH] Addendum of HDFS-8135. --- .../java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java | 2 +- .../main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java index 58c7ea1b89c..f12a6fbb5bc 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java @@ -25,7 +25,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.util.StringUtils; @InterfaceAudience.Private -public final class HdfsConstants { +public class HdfsConstants { // Long that indicates "leave current quota unchanged" public static final long QUOTA_DONT_SET = Long.MAX_VALUE; public static final long QUOTA_RESET = -1L; diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java index 17b2e5879aa..49424020759 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/FSConstants.java @@ -23,5 +23,5 @@ package org.apache.hadoop.hdfs.protocol; * it for SafemodeAction and DatanodeReport types. */ @Deprecated -public abstract class FSConstants extends HdfsConstants { +public final class FSConstants extends HdfsConstants { }