You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/06 12:46:00 UTC

[jira] [Work logged] (HDFS-16623) IllegalArgumentException in LifelineSender

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

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

                Author: ASF GitHub Bot
            Created on: 06/Jun/22 12:45
            Start Date: 06/Jun/22 12:45
    Worklog Time Spent: 10m 
      Work Description: ZanderXu opened a new pull request, #4409:
URL: https://github.com/apache/hadoop/pull/4409

   Jira:  [HDFS-16623](https://issues.apache.org/jira/browse/HDFS-16623), fix bug to avoid IllegalArgumentException in LifelineSender.
   
   In our production environment, an IllegalArgumentException occurred in the LifelineSender at one DataNode which was undergoing GC at that time.
   
   




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

            Worklog Id:     (was: 778600)
    Remaining Estimate: 0h
            Time Spent: 10m

> IllegalArgumentException in LifelineSender
> ------------------------------------------
>
>                 Key: HDFS-16623
>                 URL: https://issues.apache.org/jira/browse/HDFS-16623
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In our production environment, an IllegalArgumentException occurred in the LifelineSender at one DataNode which was undergoing GC at that time. 
> And the bug code is at line 1060 in BPServiceActor.java, because the sleep time is negative.
> {code:java}
> while (shouldRun()) {
>      try {
>         if (lifelineNamenode == null) {
>           lifelineNamenode = dn.connectToLifelineNN(lifelineNnAddr);
>         }
>         sendLifelineIfDue();
>         Thread.sleep(scheduler.getLifelineWaitTime());
>       } catch (InterruptedException e) {
>         Thread.currentThread().interrupt();
>       } catch (IOException e) {
>         LOG.warn("IOException in LifelineSender for " + BPServiceActor.this, e);
>      }
> }
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org