Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C3321075E for ; Tue, 17 Dec 2013 01:53:32 +0000 (UTC) Received: (qmail 53204 invoked by uid 500); 17 Dec 2013 01:53:32 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 53067 invoked by uid 500); 17 Dec 2013 01:53:32 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 53057 invoked by uid 99); 17 Dec 2013 01:53:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 01:53:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 17 Dec 2013 01:53:29 +0000 Received: (qmail 52324 invoked by uid 99); 17 Dec 2013 01:53:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 01:53:08 +0000 Date: Tue, 17 Dec 2013 01:53:08 +0000 (UTC) From: "Hyunsik Choi (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (TAJO-385) Refactoring TaskScheduler to assign multiple fragments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849990#comment-13849990 ] Hyunsik Choi edited comment on TAJO-385 at 12/17/13 1:52 AM: ------------------------------------------------------------- This idea is great and will overcome many limits of the query whose an input data is a number of HDFS blocks. Actually, I love this idea. In addition, there are some challenges and issues which are somewhat trivial but must be resolved. * As I mentioned, this idea requires an alternative to exactly indicate the execution block's progress. * The task volume size should be adjustable during one execution block. ** Otherwise, the final task execution wave may be longer due to fewer assigned workers than available worker. * It would be great to enable a query master to choose a task scheduler before executing a certain execution block. ** For table writing, some task scheduler can be chosen, and the previous task scheduler can be useful for compressed, non-splitable, and larger-than-blocks files. was (Author: hyunsik): This idea is great and will overcome many limits the query whose an input data is a number of HDFS blocks. Actually, I love this idea. In addition, there are some challenges and issues which are somewhat trivial but must be resolved. * As I mentioned, this idea requires an alternative to exactly indicate the execution block's progress. * The task volume size should be adjustable during one execution block. ** Otherwise, the final task execution wave may be longer due to fewer assigned workers than available worker. * It would be great to enable a query master to choose a task scheduler before executing a certain execution block. ** For table writing, some task scheduler can be chosen, and the previous task scheduler can be useful for compressed, non-splitable, and larger-than-blocks files. > Refactoring TaskScheduler to assign multiple fragments > ------------------------------------------------------ > > Key: TAJO-385 > URL: https://issues.apache.org/jira/browse/TAJO-385 > Project: Tajo > Issue Type: Improvement > Components: query master > Affects Versions: 0.8-incubating > Reporter: Jihoon Son > Assignee: Jihoon Son > Attachments: TAJO-385.patch, TAJO-385_2.patch, TAJO-385_3.patch > > > In the current implementation, each task processes only one fragment. > However, processing multiple fragments in a task will increase the query processing performance according to the storage layout and the user queries. > In this issue, TaskScheduler is refactored to enable assigning multiple fragments to each task. > Followings should be contained. > * Schedule Fragments instead of QueryUnits in TaskScheduler > ** The QueryUnit creation is postponed until TaskScheduler receives task requests from workers. > ** When TaskScheduler receives task requests from workers, it dynamically creates an QueryUnit and assigns one or more fragments. > ** The fragment scheduling should take into account the disk load balancing. -- This message was sent by Atlassian JIRA (v6.1.4#6159)