Member since
12-17-2019
196
Posts
7
Kudos Received
4
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1968 | 06-20-2024 10:47 PM | |
| 3396 | 03-15-2024 05:37 AM | |
| 1101 | 03-11-2024 07:25 AM | |
| 4049 | 05-01-2023 01:25 AM |
05-28-2026
05:40 AM
Here is another way... Instead of basic auth (user/pass), you could use Kerberos to authenticate the request programmatically. This removes the need for hardcoded credentials. Using Python (requests-kerberos): Python import requests
from requests_kerberos import HTTPKerberosAuth
knox_url = "https://<knox-host>:8443/gateway/knoxsso/api/v1/token"
# This uses your existing kinit session
response = requests.get(knox_url, auth=HTTPKerberosAuth(), verify=False)
if response.status_code == 200:
token_data = response.json()
print(f"Your Token: {token_data['access_token']}") Set up a Kerberos keytab for your service account, and use a script (Python or Java) to hit the Knox Token API using SPNEGO. This is the enterprise-standard way to automate Knox token generation without the Web UI or manual password entry. I think there are quite a few alternatives here, java, nifi, etc
... View more
11-11-2024
02:21 AM
1 Kudo
@ecampos Yes try the same with localhost or IP.
... View more
09-05-2024
01:36 AM
1 Kudo
Are you using the same user account to connect via ODBC which you used to log in to Hue? Please verify that.
... View more
08-30-2024
09:06 PM
1 Kudo
It seems the Impala plugins were not syncing check the impala logs and fix the plugin issue
... View more
08-18-2024
09:51 PM
@badsha, Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.
... View more
06-25-2024
10:35 PM
@MaraWang, Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.
... View more
03-15-2024
05:37 AM
Hi @Lorenzo, We need to check the logs and ldap structure for the groups. Please contact support.
... View more
03-11-2024
07:25 AM
Hi @Chetankumar , the mentioned configs are related to user group mapping in HDFS. May I know if yo have enabled these? Also do you want to change the bind user or only the searchbase?
... View more
11-01-2023
08:24 AM
the same error message via Ranger UI. I added the same new table to list
... View more