You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Anne Yu (JIRA)" <ji...@apache.org> on 2015/02/02 21:03:36 UTC
[jira] [Commented] (SENTRY-634) Scability Test: create > 500
connections, even more, to see if sentry service can handle client requests
[ https://issues.apache.org/jira/browse/SENTRY-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301820#comment-14301820 ]
Anne Yu commented on SENTRY-634:
--------------------------------
We found from a testing that, if number of connection is more than 500, Sentry service starts to reject requests. It would be interesting to see how salable the Sentry service is, by setting up the service on a standard production server, for example, (4CPU, 16GRAM).
> Scability Test: create > 500 connections, even more, to see if sentry service can handle client requests
> --------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-634
> URL: https://issues.apache.org/jira/browse/SENTRY-634
> Project: Sentry
> Issue Type: Test
> Affects Versions: 1.4.0
> Reporter: Anne Yu
> Fix For: 1.4.0
>
>
> 539 2015-01-28 08:10:00,031 WARN sentry.org.apache.thrift.server.TThreadPoolServer: ExecutorService rejected client 1009 times(s) 27540 java.util.concurrent.RejectedExecutionException: Task sentry.org.apache.thrift.server.TThreadPoolServer$WorkerProcess@30e8e6ab rejected from java.util.concurrent.ThreadPoolExecutor@73451032[Running, pool size = 500, active threads = 500, queued tasks = 0, completed tasks = 365]
> 27541 at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
> 27542 at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:83) 27543 at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
> 27544 at sentry.org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:136)
> 27545 at org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:232)
> 27546 at org.apache.sentry.service.thrift.SentryService.access$000(SentryService.java:72)
> 27547 at org.apache.sentry.service.thrift.SentryService$2.run(SentryService.java:159)
> 27548 at org.apache.sentry.service.thrift.SentryService$2.run(SentryService.java:156)
> 27549 at java.security.AccessController.doPrivileged(Native Method)
> 27550 at javax.security.auth.Subject.doAs(Subject.java:422)
> 27551 at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:156)
> 27552 at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:72)
> 27553 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 27554 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 27555 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 27556 at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)