New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/druid/coordinator/v1/datasources authorization error #4860

Closed
gianm opened this Issue Sep 26, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@gianm
Contributor

gianm commented Sep 26, 2017

Some other APIs use the same helper methods and may be affected too.

Error log:

2017-09-26T20:20:18,740 WARN [qtp1115349385-90] org.eclipse.jetty.server.HttpChannel - //localhost:8081/druid/coordinator/v1/datasources
io.druid.java.util.common.ISE: Request did not have an authorization check performed.
        at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:156) ~[druid-server-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSH
OT]
        at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:91) ~[druid-server-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
        at io.druid.server.security.AllowAllAuthenticator$1.doFilter(AllowAllAuthenticator.java:83) ~[druid-server-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
        at io.druid.server.security.AuthenticationWrappingFilter.doFilter(AuthenticationWrappingFilter.java:60) ~[druid-server-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
        at io.druid.server.security.SecuritySanityCheckFilter.doFilter(SecuritySanityCheckFilter.java:86) ~[druid-server-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.Server.handle(Server.java:534) ~[jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]

@gianm gianm added the Security label Sep 26, 2017

@gianm gianm added this to the 0.11.0 milestone Sep 26, 2017

@gianm gianm added the Bug label Sep 26, 2017

@gianm gianm closed this in #4869 Oct 2, 2017

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Apr 4, 2018

Getting the same error, pulled the latest from master:

2018-04-04T15:06:35,864 ERROR [qtp1825811850-78] io.druid.server.security.PreResponseAuthorizationCheckFilter - Request did not have an authorization check performed.: {class=io.druid.server.security.PreResponseAuthorizationCheckFilter, uri=/console.html, method=GET, remoteAddr=172.18.0.1, remoteHost=172.18.0.1}
docker-druid | 2018-04-04T15:06:35,941 WARN [qtp1825811850-78] org.eclipse.jetty.server.HttpChannel - //localhost:8081/console.html
docker-druid | io.druid.java.util.common.ISE: Request did not have an authorization check performed.
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:158) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:91) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AllowAllAuthenticator$1.doFilter(AllowAllAuthenticator.java:85) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AuthenticationWrappingFilter.doFilter(AuthenticationWrappingFilter.java:60) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.SecuritySanityCheckFilter.doFilter(SecuritySanityCheckFilter.java:86) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.Server.handle(Server.java:534) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [druid-services-master-selfcontained.jar:master]
docker-druid | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
docker-druid | 2018-04-04T15:06:53,224 ERROR [qtp1825811850-97] io.druid.server.security.PreResponseAuthorizationCheckFilter - Request did not have an authorization check performed.: {class=io.druid.server.security.PreResponseAuthorizationCheckFilter, uri=/, method=GET, remoteAddr=172.18.0.1, remoteHost=172.18.0.1}
docker-druid | 2018-04-04T15:06:53,680 WARN [qtp1825811850-97] org.eclipse.jetty.server.HttpChannel - //localhost:8081/
docker-druid | io.druid.java.util.common.ISE: Request did not have an authorization check performed.
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:158) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:91) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AllowAllAuthenticator$1.doFilter(AllowAllAuthenticator.java:85) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AuthenticationWrappingFilter.doFilter(AuthenticationWrappingFilter.java:60) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.SecuritySanityCheckFilter.doFilter(SecuritySanityCheckFilter.java:86) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.Server.handle(Server.java:534) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [druid-services-master-selfcontained.jar:master]
docker-druid | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
docker-druid | 2018-04-04T15:07:20,715 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
docker-druid | 2018-04-04T15:07:27,872 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Starting coordination. Getting available segments.
docker-druid | 2018-04-04T15:07:28,520 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Found [0] available segments.
docker-druid | 2018-04-04T15:07:28,942 INFO [Coordinator-Exec--0] io.druid.server.coordinator.ReplicationThrottler - [_default_tier]: Replicant create queue is empty.
docker-druid | 2018-04-04T15:07:29,124 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorCleanupUnneeded - Found 0 availableSegments, skipping the cleanup of segments from historicals. This is done to prevent a race condition in which the coordinator would drop all segments if it started running cleanup before it finished polling the metadata storage for available segments for the first time.
docker-druid | 2018-04-04T15:07:31,718 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
docker-druid | 2018-04-04T15:07:31,718 INFO [DatabaseRuleManager-Exec--0] io.druid.metadata.SQLMetadataRuleManager - Polled and found rules for 1 datasource(s)
docker-druid | 2018-04-04T15:07:44,064 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
docker-druid | 2018-04-04T15:07:47,607 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[172.18.0.4:8083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 0 bytes served.
docker-druid | 2018-04-04T15:08:14,977 WARN [DatabaseSegmentManager-Exec--0] io.druid.metadata.SQLMetadataSegmentManager - No segments found in the database!
docker-druid | 2018-04-04T15:08:15,921 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).
docker-druid | 2018-04-04T15:08:53,973 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Starting coordination. Getting available segments.
docker-druid | 2018-04-04T15:08:54,501 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Found [0] available segments.
docker-druid | 2018-04-04T15:08:55,092 INFO [Coordinator-Exec--0] io.druid.server.coordinator.ReplicationThrottler - [_default_tier]: Replicant create queue is empty.
docker-druid | 2018-04-04T15:08:55,635 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorCleanupUnneeded - Found 0 availableSegments, skipping the cleanup of segments from historicals. This is done to prevent a race condition in which the coordinator would drop all segments if it started running cleanup before it finished polling the metadata storage for available segments for the first time.
docker-druid | 2018-04-04T15:08:56,109 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
docker-druid | 2018-04-04T15:08:56,762 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
docker-druid | 2018-04-04T15:08:57,644 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[172.18.0.4:8083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 0 bytes served.
docker-druid | 2018-04-04T15:08:57,900 INFO [DatabaseRuleManager-Exec--0] io.druid.metadata.SQLMetadataRuleManager - Polled and found rules for 1 datasource(s)
docker-druid | 2018-04-04T15:09:01,542 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).
docker-druid | 2018-04-04T15:09:20,775 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
docker-druid | 2018-04-04T15:09:29,296 WARN [DatabaseSegmentManager-Exec--0] io.druid.metadata.SQLMetadataSegmentManager - No segments found in the database!
docker-druid | 2018-04-04T15:09:30,944 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).

ghost commented Apr 4, 2018

Getting the same error, pulled the latest from master:

2018-04-04T15:06:35,864 ERROR [qtp1825811850-78] io.druid.server.security.PreResponseAuthorizationCheckFilter - Request did not have an authorization check performed.: {class=io.druid.server.security.PreResponseAuthorizationCheckFilter, uri=/console.html, method=GET, remoteAddr=172.18.0.1, remoteHost=172.18.0.1}
docker-druid | 2018-04-04T15:06:35,941 WARN [qtp1825811850-78] org.eclipse.jetty.server.HttpChannel - //localhost:8081/console.html
docker-druid | io.druid.java.util.common.ISE: Request did not have an authorization check performed.
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:158) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:91) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AllowAllAuthenticator$1.doFilter(AllowAllAuthenticator.java:85) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AuthenticationWrappingFilter.doFilter(AuthenticationWrappingFilter.java:60) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.SecuritySanityCheckFilter.doFilter(SecuritySanityCheckFilter.java:86) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.Server.handle(Server.java:534) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [druid-services-master-selfcontained.jar:master]
docker-druid | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
docker-druid | 2018-04-04T15:06:53,224 ERROR [qtp1825811850-97] io.druid.server.security.PreResponseAuthorizationCheckFilter - Request did not have an authorization check performed.: {class=io.druid.server.security.PreResponseAuthorizationCheckFilter, uri=/, method=GET, remoteAddr=172.18.0.1, remoteHost=172.18.0.1}
docker-druid | 2018-04-04T15:06:53,680 WARN [qtp1825811850-97] org.eclipse.jetty.server.HttpChannel - //localhost:8081/
docker-druid | io.druid.java.util.common.ISE: Request did not have an authorization check performed.
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.handleAuthorizationCheckError(PreResponseAuthorizationCheckFilter.java:158) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.PreResponseAuthorizationCheckFilter.doFilter(PreResponseAuthorizationCheckFilter.java:91) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AllowAllAuthenticator$1.doFilter(AllowAllAuthenticator.java:85) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.AuthenticationWrappingFilter.doFilter(AuthenticationWrappingFilter.java:60) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at io.druid.server.security.SecuritySanityCheckFilter.doFilter(SecuritySanityCheckFilter.java:86) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.Server.handle(Server.java:534) ~[druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [druid-services-master-selfcontained.jar:master]
docker-druid | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [druid-services-master-selfcontained.jar:master]
docker-druid | at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
docker-druid | 2018-04-04T15:07:20,715 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
docker-druid | 2018-04-04T15:07:27,872 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Starting coordination. Getting available segments.
docker-druid | 2018-04-04T15:07:28,520 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Found [0] available segments.
docker-druid | 2018-04-04T15:07:28,942 INFO [Coordinator-Exec--0] io.druid.server.coordinator.ReplicationThrottler - [_default_tier]: Replicant create queue is empty.
docker-druid | 2018-04-04T15:07:29,124 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorCleanupUnneeded - Found 0 availableSegments, skipping the cleanup of segments from historicals. This is done to prevent a race condition in which the coordinator would drop all segments if it started running cleanup before it finished polling the metadata storage for available segments for the first time.
docker-druid | 2018-04-04T15:07:31,718 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
docker-druid | 2018-04-04T15:07:31,718 INFO [DatabaseRuleManager-Exec--0] io.druid.metadata.SQLMetadataRuleManager - Polled and found rules for 1 datasource(s)
docker-druid | 2018-04-04T15:07:44,064 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
docker-druid | 2018-04-04T15:07:47,607 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[172.18.0.4:8083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 0 bytes served.
docker-druid | 2018-04-04T15:08:14,977 WARN [DatabaseSegmentManager-Exec--0] io.druid.metadata.SQLMetadataSegmentManager - No segments found in the database!
docker-druid | 2018-04-04T15:08:15,921 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).
docker-druid | 2018-04-04T15:08:53,973 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Starting coordination. Getting available segments.
docker-druid | 2018-04-04T15:08:54,501 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorSegmentInfoLoader - Found [0] available segments.
docker-druid | 2018-04-04T15:08:55,092 INFO [Coordinator-Exec--0] io.druid.server.coordinator.ReplicationThrottler - [_default_tier]: Replicant create queue is empty.
docker-druid | 2018-04-04T15:08:55,635 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorCleanupUnneeded - Found 0 availableSegments, skipping the cleanup of segments from historicals. This is done to prevent a race condition in which the coordinator would drop all segments if it started running cleanup before it finished polling the metadata storage for available segments for the first time.
docker-druid | 2018-04-04T15:08:56,109 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
docker-druid | 2018-04-04T15:08:56,762 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
docker-druid | 2018-04-04T15:08:57,644 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[172.18.0.4:8083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 0 bytes served.
docker-druid | 2018-04-04T15:08:57,900 INFO [DatabaseRuleManager-Exec--0] io.druid.metadata.SQLMetadataRuleManager - Polled and found rules for 1 datasource(s)
docker-druid | 2018-04-04T15:09:01,542 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).
docker-druid | 2018-04-04T15:09:20,775 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
docker-druid | 2018-04-04T15:09:29,296 WARN [DatabaseSegmentManager-Exec--0] io.druid.metadata.SQLMetadataSegmentManager - No segments found in the database!
docker-druid | 2018-04-04T15:09:30,944 INFO [TaskQueue-StorageSync] io.druid.indexing.overlord.TaskQueue - Synced 1 tasks from storage (0 tasks added, 0 tasks removed).

@ChenShuai1981

This comment has been minimized.

Show comment
Hide comment
@ChenShuai1981

ChenShuai1981 Jun 5, 2018

I met the same issue, any update on it?

2018-06-04T12:24:31,252 WARN [Coordinator-Exec--0] io.druid.server.coordinator.rules.LoadRule - No available [_default_tier] servers or node capacity to assign segment[preprod-payment-event-plan-repayment-kafka_2018-05-20T09:00:00.000Z_2018-05-20T10:00:00.000Z_2018-06-01T09:32:23.912Z]! Expected Replicants[2]
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - [_default_tier] : Assigned 0 segments among 1 servers
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[iZuf6flaph02htekc965qjZ:18083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 680,448 bytes served.
2018-06-04T12:24:31,962 INFO [NodeTypeWatcher[peon]] io.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[iZuf6flaph02htekc965qjZ:8100:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/middlemanager', host='iZuf6flaph02htekc965qjZ', port=-1, plaintextPort=8100, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='peon', services={dataNodeService=DataNodeService{tier='_default_tier', maxSize=0, type=indexer-executor, priority=0}, lookupNodeService=LookupNodeService{lookupTier='__default'}}}] disappeared.
2018-06-04T12:24:32,175 INFO [ServerInventoryView-0] io.druid.client.BatchServerInventoryView - Server Disappeared[DruidServerMetadata{name='iZuf6flaph02htekc965qjZ:8102', hostAndPort='iZuf6flaph02htekc965qjZ:8102', hostAndTlsPort='null', maxSize=0, tier='_default_tier', type=indexer-executor, priority=0}]
2018-06-04T12:24:32,298 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
2018-06-04T12:24:32,323 INFO [NodeTypeWatcher[overlord]] io.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[iZuf6flaph02htekc965qjZ:8090:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/overlord', host='iZuf6flaph02htekc965qjZ', port=-1, plaintextPort=8090, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='overlord', services={}}] disappeared.
2018-06-04T12:24:32,415 INFO [Thread-52] io.druid.java.util.common.lifecycle.Lifecycle - Running shutdown hook
2018-06-04T12:24:32,449 INFO [Thread-52] io.druid.server.initialization.jetty.JettyServerModule - Stopping Jetty Server...
2018-06-04T12:24:32,462 INFO [Thread-52] org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@514b341b{HTTP/1.1,[http/1.1]}{0.0.0.0:18081}
2018-06-04T12:24:32,466 INFO [Thread-52] org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@9d99851{/,[jar:file:/usr/local/imply-2.5.11/dist/druid/lib/druid-console-0.0.2.jar!/io/druid/console, jar:file:/usr/local/imply-2.5.11/dist/druid/lib/druid-server-0.12.0-iap10.jar!/static],UNAVAILABLE}

ChenShuai1981 commented Jun 5, 2018

I met the same issue, any update on it?

2018-06-04T12:24:31,252 WARN [Coordinator-Exec--0] io.druid.server.coordinator.rules.LoadRule - No available [_default_tier] servers or node capacity to assign segment[preprod-payment-event-plan-repayment-kafka_2018-05-20T09:00:00.000Z_2018-05-20T10:00:00.000Z_2018-06-01T09:32:23.912Z]! Expected Replicants[2]
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorBalancer - [_default_tier]: One or fewer servers found. Cannot balance.
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - [_default_tier] : Assigned 0 segments among 1 servers
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Load Queues:
2018-06-04T12:24:31,252 INFO [Coordinator-Exec--0] io.druid.server.coordinator.helper.DruidCoordinatorLogger - Server[iZuf6flaph02htekc965qjZ:18083, historical, _default_tier] has 0 left to load, 0 left to drop, 0 bytes queued, 680,448 bytes served.
2018-06-04T12:24:31,962 INFO [NodeTypeWatcher[peon]] io.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[iZuf6flaph02htekc965qjZ:8100:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/middlemanager', host='iZuf6flaph02htekc965qjZ', port=-1, plaintextPort=8100, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='peon', services={dataNodeService=DataNodeService{tier='_default_tier', maxSize=0, type=indexer-executor, priority=0}, lookupNodeService=LookupNodeService{lookupTier='__default'}}}] disappeared.
2018-06-04T12:24:32,175 INFO [ServerInventoryView-0] io.druid.client.BatchServerInventoryView - Server Disappeared[DruidServerMetadata{name='iZuf6flaph02htekc965qjZ:8102', hostAndPort='iZuf6flaph02htekc965qjZ:8102', hostAndTlsPort='null', maxSize=0, tier='_default_tier', type=indexer-executor, priority=0}]
2018-06-04T12:24:32,298 INFO [LookupCoordinatorManager--2] io.druid.server.lookup.cache.LookupCoordinatorManager - Not updating lookups because no data exists
2018-06-04T12:24:32,323 INFO [NodeTypeWatcher[overlord]] io.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeTypeWatcher - Node[iZuf6flaph02htekc965qjZ:8090:DiscoveryDruidNode{druidNode=DruidNode{serviceName='druid/overlord', host='iZuf6flaph02htekc965qjZ', port=-1, plaintextPort=8090, enablePlaintextPort=true, tlsPort=-1, enableTlsPort=false}, nodeType='overlord', services={}}] disappeared.
2018-06-04T12:24:32,415 INFO [Thread-52] io.druid.java.util.common.lifecycle.Lifecycle - Running shutdown hook
2018-06-04T12:24:32,449 INFO [Thread-52] io.druid.server.initialization.jetty.JettyServerModule - Stopping Jetty Server...
2018-06-04T12:24:32,462 INFO [Thread-52] org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@514b341b{HTTP/1.1,[http/1.1]}{0.0.0.0:18081}
2018-06-04T12:24:32,466 INFO [Thread-52] org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@9d99851{/,[jar:file:/usr/local/imply-2.5.11/dist/druid/lib/druid-console-0.0.2.jar!/io/druid/console, jar:file:/usr/local/imply-2.5.11/dist/druid/lib/druid-server-0.12.0-iap10.jar!/static],UNAVAILABLE}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment