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
0
votes
1 answer

Access to Hbase over Thrift with Knox

Hbase has a couple of wrapper services that help access it. They are Thrift and Rest services. We are using Apache Knox to access these services. We can use Knox WEBHBASE service to access Hbase via Rest. The question is: how can I use Knox to…
Andrew Saushkin
  • 187
  • 2
  • 11
0
votes
0 answers

Apache Knox 1.3.0 + pac4j-4.0.3 + openid throwing com.nimbusds.oauth2.sdk.pkce.CodeVerifier cannot be cast to java.io.Serializable

Trying to deploy Apache Knox as service via Cloudera CDP 7 with openid. Followed documentation and set up all params as needed (ref. knox-openid) but getting pkce error on web page. Things that I have tried: CDP7 + Knox1.3.0 has pac4j-4.0.3*.jars…
StrangerThinks
  • 246
  • 4
  • 14
0
votes
1 answer

Connect HBase via Knox using HBase Java Client on CDP

I need to connect to HBase via Knox using HBase Java Client. I have Knox details as following Knox_Url: https://knox-host:port/gateway/cdp-proxy-api/hbase Username: knox_user_name Password: knox_password With the below code, I am able to add the…
saravanan
  • 151
  • 2
  • 15
0
votes
1 answer

Can we change Knox topology setting from ambari UI?

It is possible to change default topology of knox ( default.xml ) from ambari UI? If yes how?
Laleet
  • 41
  • 4
0
votes
1 answer

Apache Knox for SAML2 authentication keeps using NameIDFormat entity instead of what is configured

I am trying to enable SSO capabilities for Apache Zeppelin, using Apache Knox, which is configured to redirect auth requests to a Siteminder IdP. The issue I am having is related to the NameID format configuration, and the signing configuration. No…
Douglas Stead
  • 150
  • 2
  • 13
0
votes
1 answer

Spark History UI is available but tracking UI errors for in-progress applications

I've inherited a cluster that uses knox and am trying to figure out why the Spark history server is available for completed Spark jobs but the Spark UI is not available for in-progress Spark applications. In this yarn UI (which is exposed via Knox)…
jamiet
  • 10,501
  • 14
  • 80
  • 159
0
votes
2 answers

Apache Knox integration with Azure (HDP, OIDC)

Hi I'm trying to use Azure as OIDC for Apache Knox within HDP cluster. My environment: Hortonworks Cloudbreak 2.9.1 HDP 3.1.4.0-315 Ambari 2.7.4.0 Apache Knox 1.0.0 Azure This is my knoxsso.xml topology:
0
votes
1 answer

JMeter test with smart card and knox

I am trying to test an application which is behind a KnoxToken service and the user is required to use a smartcard and his PIN. Using JMeter to test apps without security features is working as expected. In this case I get an error:…
erculeo
  • 31
  • 5
0
votes
1 answer

How to load balance several phoenix query servers behind Knox gateway?

I have 3 phoenix query servers running behind a knox gateway (hiding kerberos auth complexity), accessed through Simba's odbc driver. I manage to reach one phoenix query server and launch queries through knox, by directly mapping, in topology file,…
0
votes
0 answers

Knox OpenID login infinite loop

I am trying to configure Apache Knox to use OpenID Connect (the ORY Hydra product). The callback url is called, with the correct code= parameter, but then the login process loops ad infinitum. I configured Knox according to this Auth0 guide (same…
mrbarret
  • 47
  • 1
  • 8
0
votes
1 answer

NIFI nipyapi.nifi.rest.ApiException: (401) Reason: Unauthorized. KNOX Gateway

During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sam/Documents/freenet/nifi-automation/src/compose.py", line 122, in compose_services(env_config, types, NIFI_VERSION,…
Sam
  • 497
  • 1
  • 10
  • 34
0
votes
1 answer

Token based authentication (JWT) in knox for hive jdbc

I have set token based authentication in apache knox. I am able to generate token using the following command : curl -ivku guest:guest-password https://localhost:8443/gateway/sandbox/knoxtoken/api/v1/token Using the token, I am authenticating in a…
Abhinav
  • 53
  • 1
  • 9
0
votes
1 answer

Dynamic (Variable) Identity assertion in apache knox

I want to connect to HiveServer2 through knox as a specific user (userX) and don't want any authentication. For this, I am using "Identity assertion" with "Anonymous authentication provider". Inside my sandbox.xml (present in topologies), I have…
Abhinav
  • 53
  • 1
  • 9
0
votes
1 answer

Connecting to Knox through Squirrel using Hive JDBC driver

I created a VMWare machine on my computer running Ubuntu. I set up Apache Knox on there using the demo LDAP and I'm currently trying to set up a connection string to Knox through SQuirreL. I can't use the Hortonworks Sandboxes because I need to make…
derpyburp
  • 1
  • 1
0
votes
1 answer

How to upload multiple files to HDFS via KNOX WebHDFS gateway?

I have KNOX gateway setup for our Hadoop cluster and I have gone through KNOX WebHDFS examples. So far, I know that the below cURL commands can be used to create a directory and upload a single file. curl -k -u username:password -X PUT…
Sivaprasanna Sethuraman
  • 4,014
  • 5
  • 31
  • 60