You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2015/05/13 07:39:00 UTC

[jira] [Created] (HDFS-8385) Remove unused entities (variables,methods and configurations)

J.Andreina created HDFS-8385:
--------------------------------

             Summary: 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


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)