<?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: Sandbox refusing connection in http mode. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157388#M119789</link>
    <description>&lt;P&gt;Sorry, rather than searching it's probably faster to ask which logs you're looking for?  Where can I find them?&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2016 05:36:07 GMT</pubDate>
    <dc:creator>AginityBW</dc:creator>
    <dc:date>2016-07-30T05:36:07Z</dc:date>
    <item>
      <title>Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157384#M119785</link>
      <description>&lt;P&gt;In my HDP 2.3.2 Sandbox with no authorization for HiveServer2, I'm attempting to enable http mode, but connections are being "refused".  See error thrown by beeline.&lt;/P&gt;&lt;P&gt;[root@sandbox ~]# beeline -u jdbc:hive2://sandbox.hortonworks.com:10001/default;transportMode=http;httpPath=cliservice &lt;/P&gt;&lt;P&gt;SLF4J: Class path contains multiple SLF4J bindings. &lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class] &lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] &lt;/P&gt;&lt;P&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation. &lt;/P&gt;&lt;P&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] &lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications. &lt;/P&gt;&lt;P&gt;SLF4J: Class path contains multiple SLF4J bindings. &lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class] &lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] &lt;/P&gt;&lt;P&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] &lt;/P&gt;&lt;P&gt;Connecting to jdbc:hive2://sandbox.hortonworks.com:10001/default &lt;/P&gt;&lt;P&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://sandbox.hortonworks.com:10001/default: java.net.ConnectException: Connection refused (state=08S01,code=0) &lt;/P&gt;&lt;P&gt;Beeline version 1.2.1.2.3.2.0-2950 by Apache Hive &lt;/P&gt;&lt;P&gt;0: jdbc:hive2://sandbox.hortonworks.com:10001 (closed)&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6195-hivehttpsettings.png" style="width: 734px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20862i288E0AFC19276A55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6195-hivehttpsettings.png" alt="6195-hivehttpsettings.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:16:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157384#M119785</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2019-08-18T12:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157385#M119786</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3854/bweissler.html" nodeid="3854"&gt;@Brian Weissler&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Is your cluster Kerberos? &lt;/P&gt;&lt;PRE&gt;!connect jdbc:hive2://beeline.server.example.com:10001/default;principal=hive/beeline.server.example.com@KRB_DOMAIN.EXAMPLE.COM;transportMode=http;httpPath=cliservice&lt;/PRE&gt;&lt;P&gt;
The parts to note:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;beeline.server.example.com : the node running HiveServer2&lt;/LI&gt;&lt;LI&gt;10001 : the HiveServer2 port for client connections&lt;/LI&gt;&lt;LI&gt;hive/beeline.server.example.com@KRB_DOMAIN.EXAMPLE.COM : the kerberos principal for the "hive" user&lt;/LI&gt;&lt;LI&gt;transportMode=http : configure beeline or the client to use HTTP transport&lt;/LI&gt;&lt;LI&gt;httpPath=cliservice : the HTTP "path" to append to the URI&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 30 Jul 2016 05:15:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157385#M119786</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-07-30T05:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157386#M119787</link>
      <description>&lt;P&gt;Nope.  It's just an HDP Sandbox.  No authorization for Hive.  No Kerberos at all.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 05:18:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157386#M119787</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-30T05:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157387#M119788</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3854/bweissler.html" nodeid="3854"&gt;@Brian Weissler&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you please upload hive logs?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 05:20:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157387#M119788</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-07-30T05:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157388#M119789</link>
      <description>&lt;P&gt;Sorry, rather than searching it's probably faster to ask which logs you're looking for?  Where can I find them?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 05:36:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157388#M119789</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-30T05:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157389#M119790</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3854/bweissler.html" nodeid="3854"&gt;@Brian Weissler&lt;/A&gt;&lt;P&gt;you can find hiveserver2.log under /var/log/hive directory.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 05:46:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157389#M119790</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2016-07-30T05:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157390#M119791</link>
      <description>&lt;P&gt;Doesn't appear to have much info, but maybe you can make something of this, &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/6196-hive.zip"&gt;hive.zip&lt;/A&gt;.  Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 06:00:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157390#M119791</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-30T06:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157391#M119792</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3854/bweissler.html" nodeid="3854"&gt;@Brian Weissler&lt;/A&gt;&lt;P&gt;Is your hiveserver2 listening on 10001? You can test it by running netstat command on HS2 server&lt;/P&gt;&lt;PRE&gt;netstat -tulpna|grep 10001&lt;/PRE&gt;</description>
      <pubDate>Sun, 31 Jul 2016 02:34:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157391#M119792</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-07-31T02:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157392#M119793</link>
      <description>&lt;P&gt;[root@sandbox ~]# netstat -tulpna|grep 10001&lt;/P&gt;&lt;P&gt;tcp        0      0 0.0.0.0:10001               0.0.0.0:*                   LISTEN      3478/java           &lt;/P&gt;&lt;P&gt;tcp        0      0 10.211.55.5:42224           10.211.55.5:10001           TIME_WAIT   - &lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 06:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157392#M119793</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-31T06:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157393#M119794</link>
      <description>&lt;P&gt;BTW ... getting a different error right now.  I'll try to troubleshoot it.&lt;/P&gt;&lt;P&gt;[root@sandbox hive]# netstat -tulpna|grep 10001&lt;/P&gt;&lt;P&gt;tcp        0      0 0.0.0.0:10001               0.0.0.0:*                   LISTEN      3478/java           &lt;/P&gt;&lt;P&gt;tcp        0      0 10.211.55.5:43108           10.211.55.5:10001           TIME_WAIT   -                   &lt;/P&gt;&lt;P&gt;[root@sandbox hive]# beeline -u jdbc:hive2://localhost:10001/default;transportMode=http;httpPath=cliservice&lt;/P&gt;&lt;P&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/P&gt;&lt;P&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;/P&gt;&lt;P&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.&lt;/P&gt;&lt;P&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/spark/lib/spark-assembly-1.4.1.2.3.2.0-2950-hadoop2.7.1.2.3.2.0-2950.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/P&gt;&lt;P&gt;SLF4J: Found binding in [jar:file:/usr/hdp/2.3.2.0-2950/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/P&gt;&lt;P&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;/P&gt;&lt;P&gt;SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]&lt;/P&gt;&lt;P&gt;Connecting to jdbc:hive2://localhost:10001/default&lt;/P&gt;&lt;P&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10001/default: Invalid status 72 (state=08S01,code=0)&lt;/P&gt;&lt;P&gt;Beeline version 1.2.1.2.3.2.0-2950 by Apache Hive&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://localhost:10001/default (closed)&amp;gt; &lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 07:02:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157393#M119794</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-31T07:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox refusing connection in http mode.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157394#M119795</link>
      <description>&lt;P&gt;PEBCAK!  After restarting Hive services a couple of times, and then surrounding my URI with single quotes, it appears all good.&lt;/P&gt;&lt;P&gt;First, made sure port 10001 is listening ...&lt;/P&gt;&lt;P&gt;[root@sandbox hive]# netstat -tulpna|grep 10001&lt;/P&gt;&lt;P&gt;tcp        0      0 0.0.0.0:10001               0.0.0.0:*                   LISTEN      25819/java&lt;/P&gt;&lt;P&gt;Then, attempted to connect with URI ... &lt;/P&gt;&lt;P&gt;beeline -u jdbc:hive2://sandbox.hortonworks.com:10001/default;transportMode=http;httpPath=cliservice&lt;/P&gt;&lt;P&gt;Finally, succeeded with URI ...&lt;/P&gt;&lt;P&gt;beeline -u 'jdbc:hive2://sandbox.hortonworks.com:10001/default;transportMode=http;httpPath=cliservice'&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 07:13:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sandbox-refusing-connection-in-http-mode/m-p/157394#M119795</guid>
      <dc:creator>AginityBW</dc:creator>
      <dc:date>2016-07-31T07:13:12Z</dc:date>
    </item>
  </channel>
</rss>

