[ 
https://issues.apache.org/jira/browse/HDFS-8385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16385216#comment-16385216
 ] 

Akira Ajisaka commented on HDFS-8385:
-------------------------------------

IO_COMPRESSION_CODEC_LZO_BUFFERSIZE_KEY and 
IO_COMPRESSION_CODEC_LZO_BUFFERSIZE_DEFAULT are actually used. Otherwise looks 
good to me.

> 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
>            Priority: Major
>         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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to