hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11291) Avoid unnecessary edit log for setStoragePolicy() and setReplication()
Date Wed, 04 Jan 2017 15:12:58 GMT
Surendra Singh Lilhore created HDFS-11291:
---------------------------------------------

             Summary: Avoid unnecessary edit log for setStoragePolicy() and setReplication()
                 Key: HDFS-11291
                 URL: https://issues.apache.org/jira/browse/HDFS-11291
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Surendra Singh Lilhore
            Assignee: Surendra Singh Lilhore


We are setting the storage policy for file without checking the current policy of file for
avoiding extra getStoragePolicy() rpc call. Currently namenode is not checking the current
storage policy before setting new one and adding edit logs. I think if the old and new storage
policy is same we can avoid set operation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message