atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [atlas] sekingme opened a new pull request #100: add code to config 'jetty.http.timeout' and increase the default time…
Date Thu, 21 May 2020 07:41:43 GMT

sekingme opened a new pull request #100:
URL: https://github.com/apache/atlas/pull/100


   the default 'jetty.http.timeout' value 30000ms can easily lead to timeout exception with
hundreds of request. So, add code to set the idle timeout config and increase the default
timeout seconds.
   
   -----------------------------------------------------------------------------------------------------
           at org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:142)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
           at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
           at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
           at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
           at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
           at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
           at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
           at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
           at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
           at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
           at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
           at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
           at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
           at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
           at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
           at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
           at org.eclipse.jetty.server.Server.handle(Server.java:534)
           at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
           at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
           at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
           at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
           at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
           at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
           at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
           at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           at java.lang.Thread.run(Thread.java:745)
   Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
           at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)
           at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)
           at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
           ... 3 more
   2020-05-21 15:00:43,726 WARN  - [pool-2-thread-4:] ~ //dn601.jja.bigo:21000/api/atlas/v2/entity/guid/e9176144-cb2e-4dfb-a9ae-2775afe04ccf
(HttpChannel:480)
   java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000
ms
           at org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(SharedBlockingCallback.java:219)
           at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:220)
           at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:496)
           at org.springframework.security.web.util.OnCommittedResponseWrapper$SaveContextServletOutputStream.write(OnCommittedResponseWrapper.java:639)
   -------------------------------------------------------------------------------------------------------
   ![clipboard](https://user-images.githubusercontent.com/12440815/82535474-78e76480-9b79-11ea-85bf-e3db3e9a2ea1.jpg)
   


----------------------------------------------------------------
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



Mime
View raw message