You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2015/06/04 13:36:38 UTC
[jira] [Commented] (HDFS-8385) Remove unused entities
(variables,methods and configurations)
[ https://issues.apache.org/jira/browse/HDFS-8385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572587#comment-14572587 ]
J.Andreina commented on HDFS-8385:
----------------------------------
Testcase is not required (as the issue is to removed unused entities)
Please review the patch.
> Remove unused entities (variables,methods and configurations)
> --------------------------------------------------------------
>
> Key: HDFS-8385
> URL: https://issues.apache.org/jira/browse/HDFS-8385
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: J.Andreina
> Assignee: J.Andreina
> Attachments: HDFS-8385.1.patch, HDFS-8385.2.patch, HDFS-8385.3.patch
>
>
> Below are few unused constants , methods and configurations which can be removed.
> *DfsClientConf*
> public ChecksumOpt getDefaultChecksumOpt() {
> return defaultChecksumOpt;
> }
> *HdfsServerConstants*
> long LEASE_RECOVER_PERIOD = 10 * 1000; // in ms
> public static final String DFS_STREAM_BUFFER_SIZE_KEY = "dfs.stream-buffer-size";
> public static final int DFS_STREAM_BUFFER_SIZE_DEFAULT = 4096;
> *CommonConfigurationKeys*
> public static final String FS_HOME_DIR_KEY = "fs.homeDir";
> public static final String FS_HOME_DIR_DEFAULT = "/user";
> public static final String IO_COMPRESSION_CODEC_LZO_BUFFERSIZE_KEY =
> "io.compression.codec.lzo.buffersize";
> public static final String IO_COMPRESSION_CODEC_SNAPPY_BUFFERSIZE_KEY =
> "io.compression.codec.snappy.buffersize";
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)