[ https://issues.apache.org/jira/browse/HDFS-8385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559034#comment-14559034 ]
Hadoop QA commented on HDFS-8385: --------------------------------- \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | patch | 0m 0s | The patch command could not apply the patch during dryrun. | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12735308/HDFS-8385.2.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 9a3d617 | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/11129/console | This message was automatically generated. > 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 > > > 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)