<?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: HiveContext unable to connect to exisiting Metastore using Java in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HiveContext-unable-to-connect-to-exisiting-Metastore-using/m-p/226435#M188295</link>
    <description>&lt;P&gt;@Jasmin,&lt;/P&gt;&lt;P&gt;from the metastore log, what I could find is this line which seems to be of interest: "[org.apache.hadoop.hive.common.JvmPauseMonitor$Monitor@7688c6c2]: common.JvmPauseMonitor (JvmPauseMonitor.java:run(193)) - Detected pause in JVM or host machine (eg GC): pause of approximately 8978ms"&lt;/P&gt;&lt;P&gt;this means that there was memory issue in Java heap for hiveserver and it paused GC due to that. Which means probably query itself got hanged. Also following this, I only see query being in progress but not completed (from the log shared). &lt;/P&gt;&lt;P&gt;So, it would be a good idea to check the Java heap memory and other relavant parameters.&lt;/P&gt;&lt;PRE&gt;-XX:NewRatio= ? 
-XX:MaxHeapFreeRatio= ? 
-XX:MinHeapFreeRatio= ? &lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Oct 2017 12:25:48 GMT</pubDate>
    <dc:creator>narendrakumar</dc:creator>
    <dc:date>2017-10-24T12:25:48Z</dc:date>
  </channel>
</rss>

