<?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 hive command shell not opening up in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168966#M131282</link>
    <description>&lt;P&gt;getting this when hit hive&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.4.7-4/0/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.7-4/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.7-4/hive/lib/avro-tools-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/P&gt;&lt;P&gt;After that long wait and no further progress/error/warning. No idea what need to be done&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2016 18:26:59 GMT</pubDate>
    <dc:creator>tajinderdhanjal</dc:creator>
    <dc:date>2016-05-26T18:26:59Z</dc:date>
    <item>
      <title>hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168966#M131282</link>
      <description>&lt;P&gt;getting this when hit hive&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.4.7-4/0/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.7-4/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/2.3.4.7-4/hive/lib/avro-tools-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/P&gt;&lt;P&gt;After that long wait and no further progress/error/warning. No idea what need to be done&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 18:26:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168966#M131282</guid>
      <dc:creator>tajinderdhanjal</dc:creator>
      <dc:date>2016-05-26T18:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168967#M131283</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/35759/hive-command-shell-not-opening-up.html#"&gt;@Tajinderpal Singh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Quick checks. &lt;/P&gt;&lt;P&gt;1. whether you have enough memory to run hive shell on that node.&lt;/P&gt;&lt;P&gt;free -m&lt;/P&gt;&lt;P&gt;2. how many hive shell sessions running?&lt;/P&gt;&lt;P&gt;ps -aef|grep hive&lt;/P&gt;&lt;P&gt;EDITED:&lt;/P&gt;&lt;P&gt;3. Are you running hive on tez? if yes then check if you have available resources on Resource manager UI.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 18:30:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168967#M131283</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-26T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168968#M131284</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3719/tajinderdhanjal93.html"&gt;Tajinderpal Singh&lt;/A&gt; It looks like hive is not able get any container from Resource manager. &lt;/P&gt;&lt;P&gt;Check you Resource manager to see if you have any avaialble contaiers or all containers are occupied by some jobs&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 20:14:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168968#M131284</guid>
      <dc:creator>pradeep_bhadani</dc:creator>
      <dc:date>2016-05-26T20:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168969#M131285</link>
      <description>&lt;P&gt;how to check what all jobs are running in my default queue for resource manager and how to flush them. I need to do this through command line&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 00:22:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168969#M131285</guid>
      <dc:creator>tajinderdhanjal</dc:creator>
      <dc:date>2016-05-27T00:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168970#M131286</link>
      <description>&lt;P&gt;
	You can do that via &lt;STRONG&gt;yarn application -list&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;This will give you list of all SUBMITTED, ACCEPTED or RUNNING applications.&lt;/P&gt;&lt;P&gt;From this you can filter applications of default queue by running &lt;STRONG&gt;yarn application -list | grep default&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To kill the application you can run&lt;STRONG&gt; yarn application -kill &amp;lt;Application ID&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 01:14:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168970#M131286</guid>
      <dc:creator>rpathak</dc:creator>
      <dc:date>2016-05-27T01:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168971#M131287</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3719/tajinderdhanjal93.html" nodeid="3719"&gt;&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4587-screen-shot-2016-05-26-at-75641-pm.png"&gt;screen-shot-2016-05-26-at-75641-pm.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3719/tajinderdhanjal93.html" nodeid="3719"&gt;@Tajinderpal Singh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Please check your resource manager UI for queue usage. see screenshot.&lt;/P&gt;&lt;P&gt;Also please don't kill any job until you confirm whether it is critical or some hang jobs.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 01:57:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168971#M131287</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-27T01:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168972#M131288</link>
      <description>&lt;P&gt;Thanks Rahul the commands helped me to flush the default queue&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 12:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168972#M131288</guid>
      <dc:creator>tajinderdhanjal</dc:creator>
      <dc:date>2016-05-27T12:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168973#M131289</link>
      <description>&lt;P&gt;Hey guys i have ran into another issue. Now i am getting hive prompt and also running basic hive queries which did'nt execute MR job at backend. but when i ran query which execute MR job at backend it hang up with no further progress(no mapper/reducer progress).&lt;/P&gt;&lt;P&gt;I have checked REsource manager queue, it looks ok as the container is allocated to the query only. &lt;/P&gt;&lt;P&gt;Also i have checked my MapReduce2 is up and running.&lt;/P&gt;&lt;P&gt;can anybody suggest what needs to be done in this case?&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2016 16:45:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168973#M131289</guid>
      <dc:creator>tajinderdhanjal</dc:creator>
      <dc:date>2016-05-28T16:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168974#M131290</link>
      <description>&lt;P&gt;When you run a query that involves some or multiple joins, hive requires some settings to be modified inorder to have optimal map reduce working. try the below Advanced configs:&lt;/P&gt;&lt;P&gt;1. hive.exec.parallel= true&lt;/P&gt;&lt;P&gt;2.hive.auto.convert.join= false&lt;/P&gt;&lt;P&gt;3.hive.exec.compress.output= true&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 04:56:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168974#M131290</guid>
      <dc:creator>ganne</dc:creator>
      <dc:date>2016-06-05T04:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: hive command shell not opening up</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168975#M131291</link>
      <description>&lt;P&gt;I solved the same problem, and the root cause is like what &lt;A rel="user" href="https://community.cloudera.com/users/10300/pradeepbhadani.html" nodeid="10300"&gt;@Pradeep Bhadani&lt;/A&gt; said.&lt;/P&gt;&lt;P&gt;Hive shell needs access to whichever Yarn container is running the Hive session process. and Yarn container could be running anywhere in the cluster(as long as that node has nodemanager). so make sure you have access to all nodes.&lt;/P&gt;&lt;P&gt;also check if the hive shell client box has DNS resolution on all hostnames, because that container node is returned as hostname not IP.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 00:16:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-command-shell-not-opening-up/m-p/168975#M131291</guid>
      <dc:creator>linehrr</dc:creator>
      <dc:date>2018-01-11T00:16:18Z</dc:date>
    </item>
  </channel>
</rss>

