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 "Zhe Zhang (JIRA)" <ji...@apache.org> on 2016/11/18 18:56:59 UTC

[jira] [Created] (HDFS-11157) Enhance documentation around cpLock

Zhe Zhang created HDFS-11157:
--------------------------------

             Summary: Enhance documentation around cpLock
                 Key: HDFS-11157
                 URL: https://issues.apache.org/jira/browse/HDFS-11157
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: documentation, ha, namenode
            Reporter: Zhe Zhang
            Priority: Minor


The {{cpLock}} was introduced in HDFS-7097. Among all operations allowed on SbNN, some acquire this lock (e.g. {{restoreFailedStorage}}) and some do not, including {{metasave}}, {{refreshNodes}}, {{setSafeMode}}.

We should enhance the documentation around {{cpLock}} to explain the above. Also, maybe {{metasave}} and {{refreshNodes}} do not need fsn write lock?



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