[ 
https://issues.apache.org/jira/browse/HADOOP-18229?focusedWorklogId=770616&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-770616
 ]

ASF GitHub Bot logged work on HADOOP-18229:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/May/22 22:19
            Start Date: 15/May/22 22:19
    Worklog Time Spent: 10m 
      Work Description: slfan1989 commented on code in PR #4292:
URL: https://github.com/apache/hadoop/pull/4292#discussion_r873235500


##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java:
##########
@@ -2785,15 +2791,16 @@ public void setClass(String name, Class<?> theClass, 
Class<?> xface) {
     set(name, theClass.getName());
   }
 
-  /** 
+  /**
    * Get a local file under a directory named by <i>dirsProp</i> with
    * the given <i>path</i>.  If <i>dirsProp</i> contains multiple directories,
    * then one is chosen based on <i>path</i>'s hash code.  If the selected
    * directory does not exist, an attempt is made to create it.
-   * 
+   *
    * @param dirsProp directory in which to locate the file.
-   * @param path file-path.
+   * @param path     file-path.

Review Comment:
   This place shouldn't have extra spaces,i will fix it.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 770616)
    Time Spent: 10.5h  (was: 10h 20m)

> Fix Hadoop Common Java Doc Error
> --------------------------------
>
>                 Key: HADOOP-18229
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18229
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10.5h
>  Remaining Estimate: 0h
>
> I found that when hadoop-multibranch compiled PR-4266, some errors would pop 
> up, I tried to solve it
> The wrong compilation information is as follows, I try to fix the Error 
> information
> {code:java}
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:432:
>  error: exception not thrown: java.io.IOException
> [ERROR]    * @throws IOException
> [ERROR]              ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: unknown tag: username
> [ERROR]    *  E.g. link: ^/user/(?<username>\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]                           ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:885:
>  error: bad use of '>'
> [ERROR]    *  E.g. link: ^/user/(?<username>\\w+) => 
> s3://$user.apache.com/_${user}
> [ERROR]                                            ^
> [ERROR] 
> /home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4266/ubuntu-focal/src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/InodeTree.java:910:
>  error: unknown tag: username
> [ERROR]    *     
> .linkRegex.replaceresolveddstpath:_:-#.^/user/(?<username>\w+)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to