You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/04/29 02:59:54 UTC
[GitHub] [incubator-druid] cttq-wubin commented on issue #7565: When
permissions are enabled,
Datasources permissions are displayed differently on the Router and
Coordinator Console
cttq-wubin commented on issue #7565: When permissions are enabled, Datasources permissions are displayed differently on the Router and Coordinator Console
URL: https://github.com/apache/incubator-druid/issues/7565#issuecomment-487440491
> This seems to be directly related to #7563
@vogievetsky
Thank you for your answer, this problem has been resolved!
However, another error occurred when I used this account to connect to BI via JDBC, There is no error if the account is admin!
The connection information:
org.apache.calcite.avatica.remote.Driver
jdbc:avatica:remote:url=http://BROKER:8082/druid/v2/sql/avatica/
The error message is as follows:
org.apache.druid.server.security.ForbiddenException: Allowed:false, Message:
at org.apache.druid.sql.SqlLifecycle.planAndAuthorize(SqlLifecycle.java:212)
at org.apache.druid.sql.avatica.DruidStatement.prepare(DruidStatement.java:156)
at org.apache.druid.sql.avatica.DruidMeta.prepareAndExecute(DruidMeta.java:191)
at org.apache.druid.sql.avatica.DruidMeta.sqlResultSet(DruidMeta.java:616)
at org.apache.druid.sql.avatica.DruidMeta.getTableTypes(DruidMeta.java:507)
at org.apache.calcite.avatica.remote.LocalService.apply(LocalService.java:167)
at org.apache.calcite.avatica.remote.Service$TableTypesRequest.accept(Service.java:525)
at org.apache.calcite.avatica.remote.Service$TableTypesRequest.accept(Service.java:510)
at org.apache.calcite.avatica.remote.AbstractHandler.apply(AbstractHandler.java:94)
at org.apache.calcite.avatica.remote.JsonHandler.apply(JsonHandler.java:52)
at org.apache.calcite.avatica.server.AvaticaJsonHandler.handle(AvaticaJsonHandler.java:130)
at org.apache.druid.sql.avatica.DruidAvaticaHandler.handle(DruidAvaticaHandler.java:59)
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:61)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:531)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678)
at java.lang.Thread.run(Thread.java:748)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org