HDFS-17283. Change the name of variable SECOND in HdfsClientConfigKeys. (#6339). Contributed by farmmamba.
Reviewed-by: Xing Lin <xinglin@linkedin.com> Signed-off-by: Shuyan Zhang <zhangshuyan@apache.org>
This commit is contained in:
parent
7a7db7f0dc
commit
d5468d84ba
@ -25,8 +25,8 @@
|
|||||||
/** Client configuration properties */
|
/** Client configuration properties */
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public interface HdfsClientConfigKeys {
|
public interface HdfsClientConfigKeys {
|
||||||
long SECOND = 1000L;
|
long MS_PER_SECOND = 1000L;
|
||||||
long MINUTE = 60 * SECOND;
|
long MINUTE = 60 * MS_PER_SECOND;
|
||||||
|
|
||||||
String DFS_BLOCK_SIZE_KEY = "dfs.blocksize";
|
String DFS_BLOCK_SIZE_KEY = "dfs.blocksize";
|
||||||
long DFS_BLOCK_SIZE_DEFAULT = 128*1024*1024;
|
long DFS_BLOCK_SIZE_DEFAULT = 128*1024*1024;
|
||||||
@ -423,7 +423,7 @@ interface ByteArrayManager {
|
|||||||
int COUNT_LIMIT_DEFAULT = 2048;
|
int COUNT_LIMIT_DEFAULT = 2048;
|
||||||
String COUNT_RESET_TIME_PERIOD_MS_KEY =
|
String COUNT_RESET_TIME_PERIOD_MS_KEY =
|
||||||
PREFIX + "count-reset-time-period-ms";
|
PREFIX + "count-reset-time-period-ms";
|
||||||
long COUNT_RESET_TIME_PERIOD_MS_DEFAULT = 10*SECOND;
|
long COUNT_RESET_TIME_PERIOD_MS_DEFAULT = 10 * MS_PER_SECOND;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user