<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HiveServer2 has more than 10K waiting daemon threads named &amp;quot;Get-Input-Paths-&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-has-more-than-10K-waiting-daemon-threads-named/m-p/57443#M64957</link>
    <description>&lt;P&gt;I think you are suffering from&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-16949" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/HIVE-16949&lt;/A&gt;. &amp;nbsp;I am suffering from it on my dev cluster. &amp;nbsp;Since I upgrade it CDH 5.11.1 the thread count has climbed steadily. &amp;nbsp;Just got reports today of HS2 slowing down on partition operations as well as throwing exceptions about concurrency issues. &amp;nbsp;I have added the workaround and will report on the status of it later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The patch that introduced this leak,&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-15546" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-15546&lt;/A&gt;, was added to CDH 5.11.0.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Jul 2017 17:31:13 GMT</pubDate>
    <dc:creator>mbigelow</dc:creator>
    <dc:date>2017-07-15T17:31:13Z</dc:date>
    <item>
      <title>HiveServer2 has more than 10K waiting daemon threads named "Get-Input-Paths-"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-has-more-than-10K-waiting-daemon-threads-named/m-p/57430#M64956</link>
      <description>&lt;P&gt;My HiveServer2 daemon thread "&lt;STRONG&gt;&lt;FONT color="#003300"&gt;Get-Input-Paths-&lt;/FONT&gt;&lt;/STRONG&gt;" count has been increased Continuously.&lt;/P&gt;&lt;P&gt;About&amp;nbsp;a week later the HiveServer2 cpu reached 100%(single core) and all SQL could no be executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-16949" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-16949&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CentOS Linux release 7.3.1611 (Core) &amp;nbsp;3.10.0-514.el7.x86_64&lt;/P&gt;&lt;P&gt;java version "1.8.0_121"&lt;/P&gt;&lt;P&gt;CDH &amp;amp; CM version: 5.11.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="123.png" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/3191i3AE1E295CBF48B17/image-size/large?v=v2&amp;amp;px=999" role="button" title="123.png" alt="123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thread dump file:&lt;/P&gt;&lt;P&gt;how to upload.........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this report is after HiveServer2 restart, but the thread still increase continously&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMTcvMDcvMTUvLS1oaXZlc2VydmVyLnppcC0tMy0yNi0xOA==" target="_blank"&gt;http://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMTcvMDcvMTUvLS1oaXZlc2VydmVyLnppcC0tMy0yNi0xOA==&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;snipt of the thread dump file:&lt;/P&gt;&lt;PRE&gt;"Get-Input-Paths-1" #37702 daemon prio=5 os_prio=0 tid=0x0000000001021000 nid=0x2ca15 waiting on condition [0x00007fb0046f0000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  &amp;lt;0x00000006de406738&amp;gt; (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
	- None

"Get-Input-Paths-0" #37701 daemon prio=5 os_prio=0 tid=0x0000000001bb8800 nid=0x2ca14 waiting on condition [0x00007fafe99d8000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  &amp;lt;0x00000006de406738&amp;gt; (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
	at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

   Locked ownable synchronizers:
	- None&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;oh~ I found the issue on JIRA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HIVE-16949&amp;nbsp;" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-16949&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:55:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-has-more-than-10K-waiting-daemon-threads-named/m-p/57430#M64956</guid>
      <dc:creator>Sartner</dc:creator>
      <dc:date>2022-09-16T11:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: HiveServer2 has more than 10K waiting daemon threads named "Get-Input-Paths-"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-has-more-than-10K-waiting-daemon-threads-named/m-p/57443#M64957</link>
      <description>&lt;P&gt;I think you are suffering from&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-16949" target="_blank" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/HIVE-16949&lt;/A&gt;. &amp;nbsp;I am suffering from it on my dev cluster. &amp;nbsp;Since I upgrade it CDH 5.11.1 the thread count has climbed steadily. &amp;nbsp;Just got reports today of HS2 slowing down on partition operations as well as throwing exceptions about concurrency issues. &amp;nbsp;I have added the workaround and will report on the status of it later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The patch that introduced this leak,&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/HIVE-15546" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-15546&lt;/A&gt;, was added to CDH 5.11.0.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jul 2017 17:31:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HiveServer2-has-more-than-10K-waiting-daemon-threads-named/m-p/57443#M64957</guid>
      <dc:creator>mbigelow</dc:creator>
      <dc:date>2017-07-15T17:31:13Z</dc:date>
    </item>
  </channel>
</rss>

