This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 70789fc HDFS-15116. Correct spelling of comments for
NNStorage.setRestoreFailedStorage. Contributed by Xudong Cao.
70789fc is described below
commit 70789fc6b9d81172208fc4158fa3d2d44924078d
Author: Ayush Saxena <[email protected]>
AuthorDate: Sun Dec 20 15:12:32 2020 +0530
HDFS-15116. Correct spelling of comments for
NNStorage.setRestoreFailedStorage. Contributed by Xudong Cao.
---
.../main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
index db08ac2..f99176d 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NNStorage.java
@@ -218,13 +218,13 @@ public class NNStorage extends Storage implements
Closeable,
/**
* Set flag whether an attempt should be made to restore failed storage
- * directories at the next available oppurtuinity.
+ * directories at the next available opportunity.
*
* @param val Whether restoration attempt should be made.
*/
void setRestoreFailedStorage(boolean val) {
LOG.warn("set restore failed storage to {}", val);
- restoreFailedStorage=val;
+ restoreFailedStorage = val;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]