[
https://issues.apache.org/jira/browse/HDFS-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Li Lu updated HDFS-8314:
------------------------
Attachment: HDFS-8314-trunk.001.patch
In this patch I refactored IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE. I removed
them in HdfsServerConstants and set up utility methods for each points of their
references.
> Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the
> users
> -------------------------------------------------------------------------------
>
> Key: HDFS-8314
> URL: https://issues.apache.org/jira/browse/HDFS-8314
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: build
> Reporter: Haohui Mai
> Assignee: Li Lu
> Attachments: HDFS-8314-trunk.001.patch
>
>
> Currently HdfsServerConstants reads the configuration and to set the value of
> IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE, thus they are configurable instead
> of being constants.
> This jira proposes to move these two variables to the users in the
> upper-level so that HdfsServerConstants only stores constant values.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)