<?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 beeline login says: Could not open connection to the HS2 server. Connection refused. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388054#M246516</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in hive i am unable to establish a connection,&lt;/P&gt;&lt;P&gt;beeline&amp;gt; !connect jdbc:hive2://localhost:10000/&lt;BR /&gt;Connecting to jdbc:hive2://localhost:10000/&lt;BR /&gt;Enter username for jdbc:hive2://localhost:10000/:&lt;/P&gt;&lt;P&gt;I don't know what to put for username and password, it is not accepting ENTER Key or my device login details.&lt;/P&gt;&lt;P&gt;Output:&amp;nbsp;&lt;BR /&gt;24/05/20 01:19:08 [main]: WARN jdbc.HiveConnection: Failed to connect to localhost:10000&lt;BR /&gt;Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status. Enable verbose error messages (--verbose=true) for more information.&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;/P&gt;</description>
    <pubDate>Sun, 19 May 2024 19:56:44 GMT</pubDate>
    <dc:creator>adsejnf</dc:creator>
    <dc:date>2024-05-19T19:56:44Z</dc:date>
    <item>
      <title>hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388054#M246516</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in hive i am unable to establish a connection,&lt;/P&gt;&lt;P&gt;beeline&amp;gt; !connect jdbc:hive2://localhost:10000/&lt;BR /&gt;Connecting to jdbc:hive2://localhost:10000/&lt;BR /&gt;Enter username for jdbc:hive2://localhost:10000/:&lt;/P&gt;&lt;P&gt;I don't know what to put for username and password, it is not accepting ENTER Key or my device login details.&lt;/P&gt;&lt;P&gt;Output:&amp;nbsp;&lt;BR /&gt;24/05/20 01:19:08 [main]: WARN jdbc.HiveConnection: Failed to connect to localhost:10000&lt;BR /&gt;Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status. Enable verbose error messages (--verbose=true) for more information.&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2024 19:56:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388054#M246516</guid>
      <dc:creator>adsejnf</dc:creator>
      <dc:date>2024-05-19T19:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388062#M246517</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110701"&gt;@adsejnf&lt;/a&gt;&amp;nbsp; Can you check is hive server2 is up and running&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 02:33:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388062#M246517</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2024-05-20T02:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388073#M246518</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&amp;nbsp;I checked, I am confused.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-20-49.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40710i6E522E9C4FFA58A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-20-49.png" alt="Screenshot from 2024-05-20 10-20-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-10-49.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40711iDFC0BE2E77B774AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-10-49.png" alt="Screenshot from 2024-05-20 10-10-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-22-36.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40712iEAD1192B220FE518/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-22-36.png" alt="Screenshot from 2024-05-20 10-22-36.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My hive-site.xml is also set properly:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-25-43.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40714iC99B0A03AE871129/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-25-43.png" alt="Screenshot from 2024-05-20 10-25-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-26-03.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40713iFC43549F1F49D4A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-26-03.png" alt="Screenshot from 2024-05-20 10-26-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2024-05-20 10-27-19.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40715i04CC7C6C27A80C97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2024-05-20 10-27-19.png" alt="Screenshot from 2024-05-20 10-27-19.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 05:02:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388073#M246518</guid>
      <dc:creator>adsejnf</dc:creator>
      <dc:date>2024-05-20T05:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388081#M246519</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110701"&gt;@adsejnf&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;have you tried using the username and password as hive &amp;amp; hive respectively? If not, please try it once.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 05:33:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388081#M246519</guid>
      <dc:creator>tj2007</dc:creator>
      <dc:date>2024-05-20T05:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388116#M246531</link>
      <description>&lt;P&gt;I switched to mysql and the hiveserver2 is running now.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99744"&gt;@tj2007&lt;/a&gt;&amp;nbsp;&amp;nbsp;I setup a new username and password in mysql. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 12:24:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/388116#M246531</guid>
      <dc:creator>adsejnf</dc:creator>
      <dc:date>2024-05-20T12:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/391042#M247444</link>
      <description>&lt;P&gt;I have MSQL and before the servers were turned off Beeline was working, but now it sends me this error message when I connect Beeline version 3.1.3 by Apache Hive&lt;BR /&gt;beeline&amp;gt; !connect jdbc:hive2://10.32.14.86:10000/Default; the message is still Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.&lt;BR /&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://10.32.14.86:10000/Default;: java.net.ConnectException: Connection refused (state=08S01,code=0). I have already verified in detail all the hive-site.xlm communication files and all the others according to the manuals and they are correct, I have hiveserver &amp;amp; running and with hive I can connect to my databases.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 16:44:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/391042#M247444</guid>
      <dc:creator>Martini</dc:creator>
      <dc:date>2024-07-26T16:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: hive beeline login says: Could not open connection to the HS2 server. Connection refused.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/402665#M251741</link>
      <description>&lt;P&gt;Do you slove this problem?&lt;/P&gt;&lt;P&gt;If you done, please said me solution&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 18:53:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-beeline-login-says-Could-not-open-connection-to-the-HS2/m-p/402665#M251741</guid>
      <dc:creator>hung</dc:creator>
      <dc:date>2025-02-20T18:53:41Z</dc:date>
    </item>
  </channel>
</rss>

