Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

error while connecting hue to Apache Kyuubi "Failed to validate proxy privilege of testuser for psingh"

avatar
New Contributor

raise QueryServerException(Exception('Bad status for request %s:\n%s' % (req, res)), message=message)
beeswax.server.dbms.QueryServerException: Bad status for request TOpenSessionReq(client_protocol=6, username='hue', password=None, configuration={'hive.server2.proxy.user': 'psingh'}):
TOpenSessionResp(status=TStatus(statusCode=3, infoMessages=['*org.apache.kyuubi.KyuubiSQLException:Failed to validate proxy privilege of testuser for psingh:15:14', 'org.apache.kyuubi.KyuubiSQLException$:apply:KyuubiSQLException.scala:69', 'org.apache.kyuubi.service.authentication.KyuubiAuthenticationFactory$:verifyProxyAccess:KyuubiAuthenticationFactory.scala:175', 'org.apache.kyuubi.service.TFrontendService:getProxyUser:TFrontendService.scala:134', 'org.apache.kyuubi.service.TFrontendService:getUserName:TFrontendService.scala:145', 'org.apache.kyuubi.service.TFrontendService:getSessionHandle:TFrontendService.scala:160', 'org.apache.kyuubi.server.KyuubiTBinaryFrontendService:OpenSession:KyuubiTBinaryFrontendService.scala:81', 'org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession:getResult:TCLIService.java:1497', 'org.apache.hive.service.rpc.thrift.TCLIService$Processor$OpenSession:getResult:TCLIService.java:1482', 'org.apache.thrift.ProcessFunction:process:ProcessFunction.java:39', 'org.apache.thrift.TBaseProcessor:process:TBaseProcessor.java:39', 'org.apache.kyuubi.service.authentication.TSetIpAddressProcessor:process:TSetIpAddressProcessor.scala:36', 'org.apache.thrift.server.TThreadPoolServer$WorkerProcess:run:TThreadPoolServer.java:286', 'java.util.concurrent.ThreadPoolExecutor:runWorker:ThreadPoolExecutor.java:1149', 'java.util.concurrent.ThreadPoolExecutor$Worker:run:ThreadPoolExecutor.java:624', 'java.lang.Thread:run:Thread.java:750', '*org.apache.hadoop.security.authorize.AuthorizationException:User: testuser is not allowed to impersonate psingh:0:-1'], sqlState=None, errorCode=0, errorMessage='Failed to validate proxy privilege of testuser for psingh'), serverProtocolVersion=6, sessionHandle=None, configuration=None)

 

Hue Config

[Desktop]

ldap_password = passwd
ldap_username = testuser
 
 
0 REPLIES 0
Labels