1
0
Переглянути джерело

HADOOP-14410. Correct spelling of 'beginning' and variants. Contributed By Dongtao Zhang

Brahma Reddy Battula 8 роки тому
батько
коміт
4aae2d40a3

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java

@@ -135,7 +135,7 @@ class ChRootedFileSystem extends FilterFileSystem {
   /**
    * Strip out the root from the path.
    * @param p - fully qualified path p
-   * @return -  the remaining path  without the begining /
+   * @return -  the remaining path  without the beginning /
    * @throws IOException if the p is not prefixed with root
    */
   String stripOutRoot(final Path p) throws IOException {

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFs.java

@@ -132,7 +132,7 @@ class ChRootedFs extends AbstractFileSystem {
    * Strip out the root from the path.
    * 
    * @param p - fully qualified path p
-   * @return -  the remaining path  without the begining /
+   * @return -  the remaining path  without the beginning /
    */
   public String stripOutRoot(final Path p) {
     try {

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/JniBasedUnixGroupsNetgroupMapping.java

@@ -112,7 +112,7 @@ public class JniBasedUnixGroupsNetgroupMapping
   protected synchronized List<String> getUsersForNetgroup(String netgroup) {
     String[] users = null;
     try {
-      // JNI code does not expect '@' at the begining of the group name
+      // JNI code does not expect '@' at the beginning of the group name
       users = getUsersForNetgroupJNI(netgroup.substring(1));
     } catch (Exception e) {
       if (LOG.isDebugEnabled()) {

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ShellBasedUnixGroupsNetgroupMapping.java

@@ -133,7 +133,7 @@ public class ShellBasedUnixGroupsNetgroupMapping
       throws IOException {
     String result = "";
     try {
-      // shell command does not expect '@' at the begining of the group name
+      // shell command does not expect '@' at the beginning of the group name
       result = Shell.execCommand(
         Shell.getUsersForNetgroupCommand(netgroup.substring(1)));
     } catch (ExitCodeException e) {

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/QueuePriorityContainerCandidateSelector.java

@@ -425,7 +425,7 @@ public class QueuePriorityContainerCandidateSelector
 
     long currentTime = System.currentTimeMillis();
 
-    // From the begining of the list
+    // From the beginning of the list
     for (RMContainer reservedContainer : reservedContainers) {
       // Only try to preempt reserved container after reserved container created
       // and cannot be allocated after minTimeout