<?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:  F060 Couldn't open connection to HDFS in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107183#M21680</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2631/markathorson.html"&gt;Mark Thorson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Whats the value of  fs.defaultFS in core-site.xml?&lt;/P&gt;&lt;P&gt;Can you restart  the metastore ! And retry&lt;/P&gt;&lt;P&gt;$service hive-metastore restart&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 04:19:27 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2016-03-03T04:19:27Z</dc:date>
    <item>
      <title>Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107182#M21679</link>
      <description>&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2546-hive-hdfs-error.txt"&gt;&lt;/A&gt;&lt;P&gt;Earlier today I got an error message stating the "HDFS070 fs.defaultFS is not configured" after upgrading the RAM in my cluster.  I don't believe it has anything to do with the RAM but no other changes were made to the cluster and it was working fine previously.  I get the error when I go to Hive view in Ambari.  I am unable to see any of the databases in the cluster.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2546-hive-hdfs-error.txt"&gt;hive-hdfs-error.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 03:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107182#M21679</guid>
      <dc:creator>marka_thorson</dc:creator>
      <dc:date>2016-03-03T03:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107183#M21680</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2631/markathorson.html"&gt;Mark Thorson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Whats the value of  fs.defaultFS in core-site.xml?&lt;/P&gt;&lt;P&gt;Can you restart  the metastore ! And retry&lt;/P&gt;&lt;P&gt;$service hive-metastore restart&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 04:19:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107183#M21680</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-03-03T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107184#M21681</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271" target="_blank"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried to restart the metastore but it said the command was not found.  Do I need to be in a specific directory?  Below is a screenshot of the fs.defaultFS core-site.xml value.  The blocked out sections are the hostname and FQDN respectively.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2547-hive-hdfs-error-defaultfs.jpg" style="width: 517px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23481i3F9280CF902227C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2547-hive-hdfs-error-defaultfs.jpg" alt="2547-hive-hdfs-error-defaultfs.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2548-hive-hdfs-error-defaultfs-2.jpg" style="width: 450px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23482i5DCC8B01AC9DE4A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2548-hive-hdfs-error-defaultfs-2.jpg" alt="2548-hive-hdfs-error-defaultfs-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:47:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107184#M21681</guid>
      <dc:creator>marka_thorson</dc:creator>
      <dc:date>2019-08-19T11:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107185#M21682</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2631/markathorson.html"&gt;Mark Thorson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;1. Start Hive. On the Hive Metastore host machine, run the following commands: using &lt;EM&gt;nohup and &amp;amp;&lt;/EM&gt;  to run the processes in the background&lt;/P&gt;&lt;PRE&gt;su - hive 
nohup /usr/hdp/current/hive-metastore/bin/hive --service metastore&amp;gt;/var/log/hive/hive.out 2&amp;gt;/var/log/hive/hive.log &amp;amp; &lt;/PRE&gt;&lt;P&gt;2. Start Hive Server2.
On the Hive Server2 host machine, run the following commands: &lt;/P&gt;&lt;PRE&gt;su - hive nohup 
/usr/hdp/current/hive-server2/bin/hiveserver2 &amp;gt;/var/log/hive/hiveserver2.out 2&amp;gt; /var/log/hive/hiveserver2.log&amp;amp; &lt;/PRE&gt;&lt;P&gt;where $HIVE_USER is the Hive Service user. eg hive.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 06:01:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107185#M21682</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2016-03-03T06:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107186#M21683</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I restarted the Hive metastore and HiveServer2 but I am still getting the same error message.  It is also accompanied by a NullPointer Exception but I think that will be resolved once this other error is resolved.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 21:19:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107186#M21683</guid>
      <dc:creator>marka_thorson</dc:creator>
      <dc:date>2016-03-03T21:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107187#M21684</link>
      <description>&lt;P&gt;"HDFS070 fs.defaultFS is not configured" refers to missing default fs in your core-site.xml. Since you are working with Ambari look for this setting in Ambari &amp;gt; Services &amp;gt; HDFS &amp;gt; Config &amp;gt; core-site &amp;gt; fs.default&lt;/P&gt;&lt;P&gt;Ambari caches setting files which is why it is not a good idea to read/write xml files from local directories.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 23:35:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107187#M21684</guid>
      <dc:creator>umair_khan</dc:creator>
      <dc:date>2016-03-03T23:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107188#M21685</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2827/umairkhan.html" nodeid="2827" target="_blank"&gt;@Umair Khan&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I found the file you are talking about in Ambari.  The server listed there is correct namenode it should be looking to. Do you see anything wrong with the way it is written?  I used the port I found in the Hortonworks documentation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2576-hive-hdfs-error-defaultfs-3.jpg" style="width: 1000px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23480i1507DC0B301F8F8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2576-hive-hdfs-error-defaultfs-3.jpg" alt="2576-hive-hdfs-error-defaultfs-3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:47:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107188#M21685</guid>
      <dc:creator>marka_thorson</dc:creator>
      <dc:date>2019-08-19T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107189#M21686</link>
      <description>&lt;P&gt;Yes that is the correct format. Please verify is Hive is working fine, and you can query tables without issues. If yes, then the issues seems to be with Ambari Hive View. Depending on version of Ambari you using, you can create a new view as:&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_views_guide/content/ch_using_hive_view.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_views_guide/content/ch_using_hive_view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 01:02:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107189#M21686</guid>
      <dc:creator>umair_khan</dc:creator>
      <dc:date>2016-03-04T01:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hive:  F060 Couldn't open connection to HDFS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107190#M21687</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2827/umairkhan.html" nodeid="2827"&gt;@Umair Khan&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You are correct! It is a problem with the Hive view.  I created a new Hive view and now am able to see my data bases again and run queries.  Thanks so much for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 02:05:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-F060-Couldn-t-open-connection-to-HDFS/m-p/107190#M21687</guid>
      <dc:creator>marka_thorson</dc:creator>
      <dc:date>2016-03-04T02:05:36Z</dc:date>
    </item>
  </channel>
</rss>

