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

Interrupt DataStreamer thread

    XMLWordPrintableJSON

Details

    Description

      Have noticed HiveServer2 halts due to DataStreamer#waitForAckedSeqno. 

      I think we have to interrupt DataStreamer if no packet ack(from datanodes). It likely happens with infra/network issue.

      "HiveServer2-Background-Pool: Thread-35977576" #35977576 prio=5 os_prio=0 cpu=797.65ms elapsed=3406.28s tid=0x00007fc0c6c29800 nid=0x4198 in Object.wait()  [0x00007fc1079f3000]
          java.lang.Thread.State: TIMED_WAITING (on object monitor)
               at java.lang.Object.wait(java.base(at)11.0.5/Native Method)
               - waiting on <no object reference available>
               at org.apache.hadoop.hdfs.DataStreamer.waitForAckedSeqno(DataStreamer.java:886)
               - waiting to re-lock in wait() <0x00007fe6eda86ca0> (a java.util.LinkedList)

      Attachments

        Issue Links

          Activity

            People

              kpalanisamy Karthik Palanisamy
              kpalanisamy Karthik Palanisamy
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 2h 20m
                  2h 20m