<?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 connecting to node that does not exist in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387968#M246505</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I did a pg_dump and grep'd the old namenode DNS on my hive metastore and found the table locations in there referenced the old DNS. Setting the table location to the new namenode with 'alter table &amp;lt;table&amp;gt; set location &amp;lt;new location&amp;gt;' in Hive fixed the issue.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 04:44:59 GMT</pubDate>
    <dc:creator>d_liu_</dc:creator>
    <dc:date>2024-05-17T04:44:59Z</dc:date>
    <item>
      <title>Hive connecting to node that does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387926#M246489</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am encountering a network issue with Hive where is trying to connect to a node that does not exist when trying to do a SELECT * query from either Hue or Beeline CLI:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://ip-172-19-36-94.ap-southeast-2.compute.internal:8020/user/hive/warehouse/allowed is encrypted: org.apache.hadoop.hive.ql.metadata.HiveException: java.net.NoRouteToHostException: No Route to Host from ip-172-19-36-68/172.19.36.68 to ip-172-19-36-94.ap-southeast-2.compute.internal:8020 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see: &lt;A href="http://wiki.apache.org/hadoop/NoRouteToHost" target="_blank"&gt;http://wiki.apache.org/hadoop/NoRouteToHost&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The node that is specified by&amp;nbsp;&lt;EM&gt;ip-172-19-36-94.ap-southeast-2.compute.internal&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;does not exist in the cluster or anywhere in our environment.&lt;/P&gt;&lt;P&gt;I have been looking for the hive-site.xml and core-site.xml but there are no references to this DNS entry.&lt;/P&gt;&lt;P&gt;I was just wondering if there was anywhere else Hive could reference this DNS entry? Could it reference DNSs of prior existing Hadoop nodes from the Hive meta-store for example?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 07:06:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387926#M246489</guid>
      <dc:creator>d_liu_</dc:creator>
      <dc:date>2024-05-16T07:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hive connecting to node that does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387929#M246492</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110651"&gt;@d_liu_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error shows that&amp;nbsp;&lt;SPAN&gt; problem with the network connectivity between the Hive server (&lt;/SPAN&gt;ip-172-19-36-68&lt;SPAN&gt;) and the HDFS namenode (&lt;/SPAN&gt;ip-172-19-36-94.ap-southeast-2.compute.internal&lt;SPAN&gt;) on port &lt;/SPAN&gt;8020.&lt;/P&gt;&lt;P&gt;So as per your comment above HDFS node does not exist in your cluster right? May i know how you are running this query like from beeline or Hue or from any third party tool?&lt;/P&gt;&lt;P&gt;Search the above host in all the configuration files(&lt;SPAN&gt;hive-site.xml,hive-env.sh,hive.metastore.uris etc..)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try to search the above host name at client side from where you are running the query and there is a chances if you have any custom scripts or config files causing the issue, so check if you have any custom scripts to run the jobs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chethan YM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 07:27:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387929#M246492</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2024-05-16T07:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hive connecting to node that does not exist</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387968#M246505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I did a pg_dump and grep'd the old namenode DNS on my hive metastore and found the table locations in there referenced the old DNS. Setting the table location to the new namenode with 'alter table &amp;lt;table&amp;gt; set location &amp;lt;new location&amp;gt;' in Hive fixed the issue.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 04:44:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-connecting-to-node-that-does-not-exist/m-p/387968#M246505</guid>
      <dc:creator>d_liu_</dc:creator>
      <dc:date>2024-05-17T04:44:59Z</dc:date>
    </item>
  </channel>
</rss>

