[ https://issues.apache.org/jira/browse/HDFS-16623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth resolved HDFS-16623. ---------------------------------- Hadoop Flags: Reviewed Resolution: Fixed I have committed this to trunk, branch-3.3 and branch-3.2. [~xuzq_zander] , thank you for the contribution. > 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 > Labels: pull-request-available > Fix For: 3.4.0, 3.2.4, 3.3.4 > > Time Spent: 1h 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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org