<?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/HDFS issues when primary namenode shut down. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/287165#M212899</link>
    <description>&lt;P&gt;Issue was resolved by setting&amp;nbsp;dfs.client.failover.proxy.provider to org.apache.hadoop.hdfs.server.namenode.ha.RequestHedgingProxyProvider in the HDFS Custom hdfs-site settings.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 16:25:06 GMT</pubDate>
    <dc:creator>jvgee</dc:creator>
    <dc:date>2020-01-08T16:25:06Z</dc:date>
    <item>
      <title>Hive/HDFS issues when primary namenode shut down.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/280029#M208617</link>
      <description>&lt;P&gt;I have recently enabled NameNode HA, ResourceManager HA, and Hive HA on an HDP 2.6 cluster by following the instructions provided here:&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.cloudera.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/ch_managing_service_high_availability.html" target="_self"&gt;https://docs.cloudera.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/ch_managing_service_high_availability.html&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything continues to work fine if I stop all HDP components on host where the primary NameNode and ResourceManager are running by logging into Ambari, selecting that host, and then selecting the Host Action "Stop All Components".&amp;nbsp; But as soon as I &lt;U&gt;power down&lt;/U&gt; that host, beeline requests become intolerably slow.&amp;nbsp; For example, a beeline request for "show tables;" takes about 20 minutes to complete.&amp;nbsp; The request will hang at this point for an extended period of time:&lt;/P&gt;
&lt;PRE&gt;Setting property: [silent, false]&lt;BR /&gt;issuing: !connect jdbc:hive2://nn2:10000/intrepid hdfs [passwd stripped]&lt;BR /&gt;Connecting to jdbc:hive2://nn2:10000/intrepid&lt;/PRE&gt;
&lt;P&gt;(nn2 is the host name where the standby NameNode is running.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After a long while, the following output will appear:&lt;/P&gt;
&lt;PRE&gt;Connected to: Apache Hive (version 1.2.1000.2.6.0.3-8)&lt;BR /&gt;Driver: Hive JDBC (version 1.2.1000.2.6.0.3-8)&lt;BR /&gt;Transaction isolation: TRANSACTION_REPEATABLE_READ&lt;BR /&gt;Executing command: show tables;&lt;/PRE&gt;
&lt;P&gt;and shortly afterward the command will complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon as I power up the primary NameNode host, everything works normally again even though all of the HDP components on that host remain stopped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 04:27:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/280029#M208617</guid>
      <dc:creator>jvgee</dc:creator>
      <dc:date>2019-10-12T04:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hive/HDFS issues when primary namenode shut down.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/280348#M208800</link>
      <description>&lt;P&gt;After enabling log4j for beeline, it appears that this issue is caused by delays when transport.TSaslTransport tries to write data:&lt;/P&gt;&lt;PRE&gt;19/10/16 13:03:49 [main]: DEBUG transport.TSaslTransport: writing data length: 72&lt;BR /&gt;19/10/16 13:06:11 [main]: DEBUG transport.TSaslTransport: CLIENT: reading data length: 109&lt;/PRE&gt;&lt;P&gt;but I am unable to determine the cause of these delays.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:13:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/280348#M208800</guid>
      <dc:creator>jvgee</dc:creator>
      <dc:date>2019-10-16T13:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hive/HDFS issues when primary namenode shut down.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/287165#M212899</link>
      <description>&lt;P&gt;Issue was resolved by setting&amp;nbsp;dfs.client.failover.proxy.provider to org.apache.hadoop.hdfs.server.namenode.ha.RequestHedgingProxyProvider in the HDFS Custom hdfs-site settings.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 16:25:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-HDFS-issues-when-primary-namenode-shut-down/m-p/287165#M212899</guid>
      <dc:creator>jvgee</dc:creator>
      <dc:date>2020-01-08T16:25:06Z</dc:date>
    </item>
  </channel>
</rss>

