Integrating hue with kyuubi #3007
Unanswered
preetsindhal
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
am trying to integrate hue with kyuubi and getting following error
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 testemr 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: testemr is not allowed to impersonate psingh:0:-1'], sqlState=None, errorCode=0, errorMessage='Failed to validate proxy privilege of testemr for psingh'), serverProtocolVersion=6, sessionHandle=None, configuration=None)
testemr is the user configured under [Desktop] config of hue
Beta Was this translation helpful? Give feedback.
All reactions