Apache Knox™ Gateway is an Application Gateway for interacting with the REST APIs and UIs of Apache Hadoop deployments.
Questions tagged [apache-knox]
36 questions
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
Why does ambari is showing this kerberos authentication error : AmbariAuthToLocalUserDetailsService
Recently ambari server logs are showing some warnings, We didn't identify any issue yet but logs became unreadable (50 lines/s)
/var/log/ambari-server/ambari-server.log
02 Jul 2021 18:43:52,514 INFO [ambari-client-thread-792188]…

Karim Sad
- 9
- 1
- 6
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
How to redirect URL to Apache knox gateway(port is 8443) when visiting hadoop ui(port is 50070) or hbase ui (port is 16010))?
My web browser directly accesses the UI of the Namenode; after Apache knox is installed, when the host of the Namenode receives an http request to access port 50070, the request is to redirect the UI of the Gateway and after authenticated user…

未知的证明
- 1
- 1
0
votes
2 answers
REST API Level authorization with Apache Knox + Ranger
I am developing a server application in django REST framework which in turn uses apache knox REST APIs to work with spark sessions (create session, get session, cancel session, ...). Apache Knox supports service level authorization but I need the…

Ebrahim
- 13
- 2
0
votes
1 answer
How to submit a Job to Livy (under Knox) with Programmatic API?
This code from Livy Docs worked fine:
LivyClient client = new LivyClientBuilder()
.setURI(new URI("http://sample.ru:8999"))
.build();
String piJar =…

Makrushin Evgenii
- 953
- 2
- 9
- 20
0
votes
1 answer
Knox does not work after Hive service restart
I use SQL Developer and some third party jar files for accessing Hive.
When ever there is a Hive service restart - My connection object wont let me connect to Hive after the restart. My admin team need to restart the metastore too. And then few more…

LNC
- 11
- 6
0
votes
0 answers
Build src knox 1.4.0 with hadoop 2.7.4 failed
I tried to build the project Apache Knox 1.4.0 with hadoop 2.7.4
I did the build on a Ubuntu server :
- Ubtuntu 18.04
- Openjdk version "11.0.7"
- Apache Maven 3.6.0
- Apache Ant(TM) version 1.10.5
I have downloaded the src archive on…

stephbat
- 1
- 1
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
0 answers
HDP: Confused between knox proxy (API), proxy (UI) and SSO
For now, in our HDP environment, we have been try set 1st and 2nd layer security, kerberos and ranger. Then we want to add the 3rd layer, Knox.
After we read some documentation in Knox reference for HDP 3.1.4, and the other page, we found 3 option…

m hanif f
- 406
- 1
- 7
- 20
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:
…

Andrey Okhotnikov
- 31
- 2
- 6
0
votes
1 answer
NiFi SSO using KNOX: Error when requesting certificate
I was configuring KNOX SSO to secure NiFi follow this document and got an error when requesting certificate Token does not meet minimum size of 16 bytes.
root@hadoop:/home/knox# /home/hadoop/nifi/config/nifi-toolkit/bin/tls-toolkit.sh client…

Chhaileng
- 2,428
- 1
- 27
- 24
0
votes
1 answer
How to forward credentials in the header the Knox Basic Auth
I'm trying to connect to a Hive database from the API WebHDFS which needs credentials to connect on. I'm in a big company and i have to use another gateway so i want to forward credentials of the big data platform in the header but i always have a…

Vincent
- 1
- 2
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,…

cmatic
- 51
- 6