{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/presto/issues/2086","labels_url":"https://api.github.com/repos/facebook/presto/issues/2086/labels{/name}","comments_url":"https://api.github.com/repos/facebook/presto/issues/2086/comments","events_url":"https://api.github.com/repos/facebook/presto/issues/2086/events","html_url":"https://github.com/facebook/presto/issues/2086","id":51427734,"number":2086,"title":"Presto with concurrency","user":{"login":"FanTn","id":5078973,"avatar_url":"https://avatars.githubusercontent.com/u/5078973?v=3","gravatar_id":"","url":"https://api.github.com/users/FanTn","html_url":"https://github.com/FanTn","followers_url":"https://api.github.com/users/FanTn/followers","following_url":"https://api.github.com/users/FanTn/following{/other_user}","gists_url":"https://api.github.com/users/FanTn/gists{/gist_id}","starred_url":"https://api.github.com/users/FanTn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FanTn/subscriptions","organizations_url":"https://api.github.com/users/FanTn/orgs","repos_url":"https://api.github.com/users/FanTn/repos","events_url":"https://api.github.com/users/FanTn/events{/privacy}","received_events_url":"https://api.github.com/users/FanTn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-09T13:34:44Z","updated_at":"2015-04-27T20:02:41Z","closed_at":"2015-04-27T20:02:41Z","body":"Hi! \r\nI have 6 different queries. Each query is completed  with 20 second,but I run the 6 queries at the same time and the queries will finish with 3-5 minutes.I'd like to know why  is there such a big difference between them.\r\n\r\nIn the coordinator's server.log have found many error message like this : \r\n\r\n2014-12-09T18:38:09.468+0800     WARN   ContinuousTaskInfoFetcher-20141209_103755_00006_b79r9.2.3-1596  com.facebook.presto.server.HttpRemoteTask   Error updating task 20141209_103755_00006_b79r9.2.3: http://192.168.179.33:8090/v1/task/20141209_103755_00006_b79r9.2.3\r\njava.lang.RuntimeException: Server at http://192.168.179.33:8090/v1/task/20141209_103755_00006_b79r9.2.3?summarize returned SERVICE_UNAVAILABLE\r\n    at com.facebook.presto.server.HttpRemoteTask$SimpleHttpResponseHandler.onSuccess(HttpRemoteTask.java:738) [presto-main-0.83.jar:0.83]\r\n    at com.facebook.presto.server.HttpRemoteTask$SimpleHttpResponseHandler.onSuccess(HttpRemoteTask.java:717) [presto-main-0.83.jar:0.83]\r\n    at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319) [guava-18.0.jar:na]\r\n    at io.airlift.concurrent.BoundedExecutor.executeOrMerge(BoundedExecutor.java:68) [concurrent-0.96.jar:0.96]\r\n    at io.airlift.concurrent.BoundedExecutor.access$000(BoundedExecutor.java:27) [concurrent-0.96.jar:0.96]\r\n    at io.airlift.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:39) [concurrent-0.96.jar:0.96]\r\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]\r\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]\r\n    at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]\r\n\r\nThese queries concurrently run multiple times,the scan table nodes are less and less.\r\nps. \r\nnode-scheduler.max-splits-per-node=512\r\ntask.shard.max-threads=256\r\ncom.facebook.presto.execution.TaskExecutor.pendingSplits's size is 512.\r\nThe server have 32 cores.\r\n\r\n@electrum\r\nThanks!!"}}