Member since
07-18-2024
4
Posts
0
Kudos Received
0
Solutions
09-08-2025
01:24 AM
Hi Team,
Since couple of days we are finding issues in CDP Public Cloud clusters of both Azure and AWS , where Hive service is not working.
Issue happening for both existing and newly deployed clusters. Please find the error message below.
ERROR:
ERROR HiveMetaStore [main]: MetaException(message:java.io.IOException: org.apache.knox.gateway.shell.ErrorResponse: https://xxxx.xxxx.cloudera.site:8444/gateway/dt/knoxtoken/api/v1/token: HTTP/1.1 500 Server Error) Caused by: org.apache.hadoop.service.ServiceStateException: java.io.IOException: org.apache.knox.gateway.shell.ErrorResponse: https://xxxxx.xxxx.cloudera.site:8444/gateway/dt/knoxtoken/api/v1/token: HTTP/1.1 500 Server Error
... View more
Labels:
04-15-2025
11:15 AM
Hi @satvaddi , If you are running in a Ranger RAZ enabled environment you don't need all these settings: > --conf "spark.hadoop.hadoop.security.authentication=KERBEROS" \ > --conf "spark.hadoop.hadoop.security.authorization=true" \ > --conf "spark.hadoop.fs.s3a.delegation.token.binding=org.apache.knox.gateway.cloud.idbroker.s3a.IDBDelegationTokenBinding" \ > --conf "spark.hadoop.fs.s3a.idb.auth.token.enabled=true" \ > --conf "spark.hadoop.fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.auth.IAMInstanceCredentialsProvider" \ > --conf "spark.hadoop.fs.s3a.security.credential.provider.path=jceks://hdfs/user/infa/knox_credentials.jceks" \ > --conf "spark.hadoop.fs.s3a.endpoint=s3.amazonaws.com" \ > --conf "spark.hadoop.fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem" \ To me it looks like you are bypassing Raz by setting this parameter: > --conf "spark.hadoop.fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.auth.IAMInstanceCredentialsProvider" \ This, I would check whether the instance profile (IAM Role attached to the cluster) does not have too much privileges. Like access to data. This should be controlled in Ranger instead.
... View more
03-31-2025
05:01 PM
@sathishkr @willx Hi! Do you have some insights here? Thanks!
... View more