<?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: Hive cli hangs when spark thrift server is running in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112369#M50799</link>
    <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry to reply so late and taking so long time on this. Since Thrift server wasn't required for our project we decided to stop in the cluster.&lt;/P&gt;&lt;P&gt;And thank you for the suggestion. Now got some free time and verified. &lt;/P&gt;&lt;P&gt;Yarn was keeping it in the ACCEPTED state as long as memory wasn't available. Once memory is available, I can see the hive prompt as the application goes to RUNNING state. &lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 14:19:43 GMT</pubDate>
    <dc:creator>Vinay_Prakash</dc:creator>
    <dc:date>2017-01-25T14:19:43Z</dc:date>
    <item>
      <title>Hive cli hangs when spark thrift server is running</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112367#M50797</link>
      <description>&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I faced this issue in HDP 2.4 cluster running on centos.&lt;/P&gt;&lt;P&gt;When I run 'hive' command, it always used to halt like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11110-temp.png" style="width: 750px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23214iB75EF8A02B10925E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11110-temp.png" alt="11110-temp.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Tried to add the proxyuser properties for hosts and groups and finally found that's not actually causing this.&lt;/P&gt;&lt;P&gt;I stop Spark thrift server, immediately it gives me the hive prompt and I can work with hive cli.&lt;/P&gt;&lt;P&gt;Anybody faced similar problems ???&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay MP&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:14:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112367#M50797</guid>
      <dc:creator>Vinay_Prakash</dc:creator>
      <dc:date>2019-08-19T11:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hive cli hangs when spark thrift server is running</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112368#M50798</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10202/vinayprakash.html" nodeid="10202"&gt;@Vinay MP&lt;/A&gt;&lt;P&gt;hive cli will start a Application Master on yarn. If you dont have enough resources on yarn, then AM launched by hive cli will stay in Accepted state until it gets the resources. As you mentioned stopping spark thrift server resolves this, it looks that you have short of resources on yarn. Spark thrift server will also lauch a AM on yarn and this AM will stay in RUNNING status until spark thrift server is stopped. &lt;/P&gt;&lt;P&gt;If this is issue with yarn resources, you should see a reason mentioned on AM launched by hive CLI.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112368#M50798</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2017-01-04T22:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive cli hangs when spark thrift server is running</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112369#M50799</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Sorry to reply so late and taking so long time on this. Since Thrift server wasn't required for our project we decided to stop in the cluster.&lt;/P&gt;&lt;P&gt;And thank you for the suggestion. Now got some free time and verified. &lt;/P&gt;&lt;P&gt;Yarn was keeping it in the ACCEPTED state as long as memory wasn't available. Once memory is available, I can see the hive prompt as the application goes to RUNNING state. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:19:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-cli-hangs-when-spark-thrift-server-is-running/m-p/112369#M50799</guid>
      <dc:creator>Vinay_Prakash</dc:creator>
      <dc:date>2017-01-25T14:19:43Z</dc:date>
    </item>
  </channel>
</rss>

