HDFS-8001 RpcProgramNfs3 : wrong parsing of dfs.blocksize. Contributed by Remi Catherinot

(cherry picked from commit 4d14816c26)
This commit is contained in:
Brandon Li 2015-04-01 17:20:24 -07:00
parent 8e2f1a93e4
commit 27970b3f46
2 changed files with 4 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public RpcProgramNfs3(NfsConfiguration config, DatagramSocket registrationSocket
clientCache = new DFSClientCache(config);
replication = (short) config.getInt(DFSConfigKeys.DFS_REPLICATION_KEY,
DFSConfigKeys.DFS_REPLICATION_DEFAULT);
blockSize = config.getLong(DFSConfigKeys.DFS_BLOCK_SIZE_KEY,
blockSize = config.getLongBytes(DFSConfigKeys.DFS_BLOCK_SIZE_KEY,
DFSConfigKeys.DFS_BLOCK_SIZE_DEFAULT);
bufferSize = config.getInt(
CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_KEY,

View File

@ -1047,6 +1047,9 @@ Release 2.7.0 - UNRELEASED
HDFS-8036. Use snapshot path as source when using snapshot diff report in
DistCp. (Jing Zhao via wheat9)
HDFS-8001 RpcProgramNfs3 : wrong parsing of dfs.blocksize
(Remi Catherinot via brandonli)
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode