You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/01/07 15:46:40 UTC
[jira] [Commented] (HADOOP-12663) Remove Hard-Coded Values From
FileSystem.java
[ https://issues.apache.org/jira/browse/HADOOP-12663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087515#comment-15087515 ]
Steve Loughran commented on HADOOP-12663:
-----------------------------------------
+1
Committed to branch-2+. Thanks!
> Remove Hard-Coded Values From FileSystem.java
> ---------------------------------------------
>
> Key: HADOOP-12663
> URL: https://issues.apache.org/jira/browse/HADOOP-12663
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 2.7.1
> Reporter: BELUGA BEHR
> Priority: Trivial
> Fix For: 2.9.0
>
> Attachments: FileSystem.HADOOP-12663.0002.patch
>
>
> Within FileSystem.java, there is one instance where the global variables "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_KEY" and "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_DEFAULT" were being used, but in all other instances, their literal values were being used.
> Please find attached a patch to remove use of literal values and instead replace them with references to the global variables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)