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

ASF GitHub Bot logged work on HDFS-16627:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Jun/22 00:03
            Start Date: 11/Jun/22 00:03
    Worklog Time Spent: 10m 
      Work Description: slfan1989 commented on PR #4419:
URL: https://github.com/apache/hadoop/pull/4419#issuecomment-1152808552

   > The latest build seems throw some warning. Try to trigger jenkins again. 
Let's wait what it will say.
   
   Hi, @Hexiaoqiao Thank you very much for your help in reviewing the code. I 
read the compilation report carefully and can confirm that the compilation 
error of java doc has nothing to do with this pr.
   
   java doc has become more strict in the compilation environment of jdk11, 
java doc will be run 2 times after a pr commit.
   
   1st run
   Compile the code of the current trunk directly,We can see the following 
report.
   
   [hadoop-hdfs in trunk failed with JDK Private 
Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.]([/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4419/4/artifact/out/branch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt))
   
   2nd run
   Compile and run after merge pr,We can see the following report.
   
   [hadoop-hdfs in the patch failed with JDK Private 
Build-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4419/4/artifact/out/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu0.20.04.1.txt)
   
   In 2 runs will report the following error
   ```
   1 error
   100 warnings
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  38.067 s
   [INFO] Finished at: 2022-06-10T14:10:17Z
   [INFO] 
------------------------------------------------------------------------
   ....
   [ERROR] 
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-4419/ubuntu-focal/src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/startupprogress/package-info.java:20:
 error: reference not found
   [ERROR]  * This package provides a mechanism for tracking {@link NameNode} 
startup
   ```
   
   I try to fix it in this pr(https://github.com/apache/hadoop/pull/4423), 
after solving the error, the java doc can be compiled successfully with jdk11.
   
   




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

    Worklog Id:     (was: 780457)
    Time Spent: 2h  (was: 1h 50m)

> improve BPServiceActor#register Log Add NN Addr
> -----------------------------------------------
>
>                 Key: HDFS-16627
>                 URL: https://issues.apache.org/jira/browse/HDFS-16627
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.4.0
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> When I read the log, I think the Addr information of NN should be added to 
> make the log information more complete.
> The log is as follows:
> {code:java}
> 2022-06-06 06:15:32,715 [BP-1990954485-172.17.0.2-1654496132136 heartbeating 
> to localhost/127.0.0.1:42811] INFO  datanode.DataNode 
> (BPServiceActor.java:register(819)) - Block pool 
> BP-1990954485-172.17.0.2-1654496132136 (Datanode Uuid 
> 7d4b5459-6f2b-4203-bf6f-d31bfb9b6c3f) service to localhost/127.0.0.1:42811 
> beginning handshake with NN.
> 2022-06-06 06:15:32,717 [BP-1990954485-172.17.0.2-1654496132136 heartbeating 
> to localhost/127.0.0.1:42811] INFO  datanode.DataNode 
> (BPServiceActor.java:register(847)) - Block pool 
> BP-1990954485-172.17.0.2-1654496132136 (Datanode Uuid 
> 7d4b5459-6f2b-4203-bf6f-d31bfb9b6c3f) service to localhost/127.0.0.1:42811 
> successfully registered with NN. {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