<?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: ERROR hadoop.gateway - Service connectivity error - KNOX in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118909#M81692</link>
    <description>&lt;P&gt; EDIT:&lt;/P&gt;&lt;P&gt;It is worth to notice that I am using https for Ambari, instead of http. When I try to access Hbase I got a WARN that connection is refused, it is trying to connect using http instead of https.&lt;/P&gt;&lt;P&gt;Here is my knox gateway-audit.log&lt;/P&gt;&lt;PRE&gt;16/06/03
 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS||||access|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|unavailable|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||authentication|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|success|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||authentication|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|success|Groups:
 [my_group]


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||dispatch|uri|hdfs://my_host:50070/webhdfs/v1/?op=LISTSTATUS&amp;amp;user.name=my_user|failure|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||dispatch|uri|hdfs://my_host:50070/webhdfs/v1/?op=LISTSTATUS&amp;amp;user.name=my_user|unavailable|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||access|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|failure|&lt;/PRE&gt;</description>
    <pubDate>Fri, 03 Jun 2016 17:36:07 GMT</pubDate>
    <dc:creator>frank93</dc:creator>
    <dc:date>2016-06-03T17:36:07Z</dc:date>
    <item>
      <title>ERROR hadoop.gateway - Service connectivity error - KNOX</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118908#M81691</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I have a problem with Knox. I am using HDP 2.3.2 with Ambari 2.1.1. I connected Knox to LDAP/AD successfully. I get 403 Forbidden when I do not grant access via policies in Ranger or 401 Unauthorized when I provid invalid credentials. My user and group search base is specified only to one user and one group because of ldap sizelimit exceeded (I only want to test that it is working). I am pretty sure that it can be a permissions problem. Below I described my error. Please find enclosed full gateway.log. Thank you in advance &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4718-gateway.txt"&gt;gateway.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I try to run a command: &lt;/P&gt;&lt;PRE&gt;curl -iku user:pass -X GET 'https://localhost:8443/gateway/default/webhdfs/v1/?op=LISTSTATUS'&lt;/PRE&gt;&lt;P&gt;I got an error:&lt;/P&gt;&lt;PRE&gt;ERROR hadoop.gateway (AbstractGatewayFilter.java:doFilter(66)) - Failed to execute filter: javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: java.security.PrivilegedActionException: java.io.IOException: Service connectivity error.&lt;/PRE&gt;&lt;PRE&gt;2016-06-03 11:33:30,070 ERROR hadoop.gateway (GatewayFilter.java:doFilter(135)) - Gateway processing failed: javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: java.security.PrivilegedActionException: java.io.IOException: Service connectivity error.&lt;/PRE&gt;&lt;PRE&gt;at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jun 2016 16:49:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118908#M81691</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2016-06-03T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR hadoop.gateway - Service connectivity error - KNOX</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118909#M81692</link>
      <description>&lt;P&gt; EDIT:&lt;/P&gt;&lt;P&gt;It is worth to notice that I am using https for Ambari, instead of http. When I try to access Hbase I got a WARN that connection is refused, it is trying to connect using http instead of https.&lt;/P&gt;&lt;P&gt;Here is my knox gateway-audit.log&lt;/P&gt;&lt;PRE&gt;16/06/03
 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS||||access|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|unavailable|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||authentication|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|success|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||authentication|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|success|Groups:
 [my_group]


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||dispatch|uri|hdfs://my_host:50070/webhdfs/v1/?op=LISTSTATUS&amp;amp;user.name=my_user|failure|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||dispatch|uri|hdfs://my_host:50070/webhdfs/v1/?op=LISTSTATUS&amp;amp;user.name=my_user|unavailable|


16/06/03 12:31:29 
||2ebbd434-8238-402e-9979-7e7233669d27|audit|WEBHDFS|my_user|||access|uri|/gateway/default/webhdfs/v1/?op=LISTSTATUS|failure|&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Jun 2016 17:36:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118909#M81692</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2016-06-03T17:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR hadoop.gateway - Service connectivity error - KNOX</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118910#M81693</link>
      <description>&lt;P&gt;The problem was that I had WEBHDFS in topology in format hdfs:// instead of http://&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 18:25:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-hadoop-gateway-Service-connectivity-error-KNOX/m-p/118910#M81693</guid>
      <dc:creator>frank93</dc:creator>
      <dc:date>2016-06-03T18:25:15Z</dc:date>
    </item>
  </channel>
</rss>

