Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16623

IllegalArgumentException in LifelineSender

    XMLWordPrintableJSON

Details

    Description

      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.

      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);
           }
      }
      

      Attachments

        Issue Links

          Activity

            People

              xuzq_zander ZanderXu
              xuzq_zander ZanderXu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m