hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Andreina (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8385) Remove unused entities (variables,methods and configurations)
Date Wed, 13 May 2015 05:39:00 GMT
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)

Mime
View raw message