hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Liang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12304) Remove unused parameter from FsDatasetImpl#addVolume
Date Tue, 15 Aug 2017 18:11:02 GMT
Chen Liang created HDFS-12304:

             Summary: Remove unused parameter from FsDatasetImpl#addVolume
                 Key: HDFS-12304
                 URL: https://issues.apache.org/jira/browse/HDFS-12304
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Chen Liang
            Assignee: Chen Liang
            Priority: Minor

FsDatasetImpl has this method
  private void addVolume(Collection<StorageLocation> dataLocations,
      Storage.StorageDirectory sd) throws IOException
Parameter {{dataLocations}} was introduced in HDFS-6740, this variable was used to get storage
type info. But HDFS-10637 has changed the way of getting storage type in this method, making
dataLocations no longer being used at all here. We should probably remove dataLocations for
a cleaner interface.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message