Questions tagged [knox-gateway]

The Apache Knox Gateway is a REST API Gateway for interacting with Apache Hadoop clusters.

The Knox Gateway provides a single access point for all REST interactions with Apache Hadoop clusters.

In this capacity, the Knox Gateway is able to provide valuable functionality to aid in the control, integration, monitoring and automation of critical administrative and analytical needs of the enterprise.

  • Authentication (LDAP and Active Directory Authentication Provider)
  • Federation/SSO (HTTP Header Based Identity Federation)
  • Authorization (Service Level Authorization)
  • Auditing

For more information, see https://knox.apache.org/

51 questions
3
votes
1 answer

Does a reverse proxy such as Apache Knox preserve request order?

For instance, let us assume that I have a system whose entry point is Apache Knox that redirects requests to Apache NiFi. Let us further assume that I send messages A and B to the server and Apache Knox receives firstly message A and then message B.…
Tatarkow
  • 529
  • 4
  • 12
2
votes
2 answers

How to configure roles based on groups from HadoopGroupProvider in Zeppelin, using Knox to provide SAML-based SSO?

I am trying to implement Role Base Access Controls on Zeppelin, using Knox to authenticate against an external IdP, and to perform group lookups from an LDAP instance once a user has been successfully authenticated. I am currently able to login to…
Douglas Stead
  • 150
  • 2
  • 13
2
votes
1 answer

Using Apache Knox in non Hadoop app

Does it makes sense to use Knox (+LDAP) as authentication proxy to application that is not using Hadoop at all? I'm new to this domain and have heard about such possibility but I don't quite get it. Maybe there are some viable alternatives?
kkonrad
  • 1,262
  • 13
  • 32
1
vote
1 answer

How to provide Knox public key to clients to use KnoxSSO if it's multiple instanses of Knox in HA mode

What I've done I have set up Knox instances with KnoxSSO and with the same master secrets, accessable through nginx balancer I have set up Zeppelin with shiro definding in knoxJwtRealm.publicKeyPath one of Knox instance's public key It works fine…
venom13k
  • 53
  • 4
1
vote
0 answers

Knox SSO integration with Keycloak error - Required Subject Missing

I am working on integrating Knox with Keycloak with OIDC, for the SSO and security functionalities in Hadoop Cluster. I have congigured everthing, and now while accessing the Knox URL, it is redirecting to the Keycloak URL. After authenticating the…
1
vote
1 answer

Knox Gateway database connector

Is it possible to write DB connector using Knox Provider extension? I want Knox to expose endpoint in response to which Knox would put to or get from database records.
Markiza
  • 444
  • 1
  • 5
  • 18
1
vote
1 answer

Accessing kerberized WebHDFS on Cloudera from Knox

I have been trying to make Apache Knox work on a kerberised Cloudera Cluster. I downloaded the zip containing Knox and installed it. I also made changes specific to my cluster on the sandbox.xml file. However, when i run cURL command i get 404 not…
Shashank S
  • 161
  • 4
  • 18
1
vote
1 answer

JDBC hive connection error in beeline through knox

I'm a newbie to hdp and knox. My HDP environment description: HDP version - 2.6 HS2 is enabled Hive transport mode - HTTP Knox installed via ambari SSL is not enabled non Kerberized instance Issue: I'm trying to connect to HIVE via beeline. The…
1
vote
2 answers

Error getting a JDBC connection to Hive via Knox

I have a Hadoop cluster running Hortonworks Data Platform 2.4.2 which has been running well for more than a year. The cluster is Kerberised and external applications connect via Knox. Earlier today, the cluster stopped accepting JDBC connections via…
1
vote
0 answers

FileNotFoundException when submitting Spark job via Knox/Oozie shell action

I am trying to submit a Spark job via Oozie (over Knox) as a shell action (cause we're using HDP). The submission stops with the following error in the Yarn application logs: 17/11/09 10:58:37 INFO Client: Using the spark assembly jar on HDFS…
1
vote
1 answer

Issue configuring Apache KNOX gateway with WEBHDFS

I have installed Apache KNOX using Apache Ambari. Followed the below link for configuring the WEBHDFS with KNOX.KNOX is installed in address1. https://knox.apache.org/books/knox-0-13-0/user-guide.html#WebHDFS While invoking webhdfs using the curl…
user7390268
1
vote
1 answer

How to configure Knox to make it pass Authorization header to a backend service?

As discussed in my other question there is no support for websockets authentication in Knox, but as a temporary solution we could handle authentication in our backend service. Our test has shown however that Knox does not pass Authorization header…
tomek
  • 771
  • 1
  • 7
  • 19
1
vote
1 answer

How to configure a websocket service in Apache Knox with basic authentication

I managed to configure a websocket service in Knox which for test purposes is ws://echo.websocket.org Here are my configuration files: service.xml
tomek
  • 771
  • 1
  • 7
  • 19
1
vote
1 answer

Confusing by Ranger architecture

After spent whole day to setup and study Hortonworks' Ranger, I'm reluctantly able to use it now, but I'm still very confusing by it's structure. I'm listing the questions below: What's the relationship between Ranger and Knox, why Hortonworks…
user3593261
  • 560
  • 4
  • 17
1
vote
1 answer

Connect to Spark thriftserver via Knox

I'm trying to connect to a SparkSQL thriftserver (Spark 1.6.2) via Knox in a cluster secured with Kerberos (the Hadoop distribution is HDP 2.4.2). We have the same architecture for Hive and it is working fine. Since Spark uses the same thriftserver,…
mgaido
  • 2,987
  • 3
  • 17
  • 39
1
2 3 4