Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E86EE17740 for ; Tue, 7 Apr 2015 17:20:41 +0000 (UTC) Received: (qmail 96813 invoked by uid 500); 7 Apr 2015 17:20:35 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 96790 invoked by uid 500); 7 Apr 2015 17:20:35 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 96778 invoked by uid 99); 7 Apr 2015 17:20:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 17:20:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3F1EFE1175; Tue, 7 Apr 2015 17:20:35 +0000 (UTC) From: ilganeli To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org Message-ID: Subject: [GitHub] spark pull request: [SPARK-6746B] Refactor large functions in DAGS... Content-Type: text/plain Date: Tue, 7 Apr 2015 17:20:35 +0000 (UTC) GitHub user ilganeli opened a pull request: https://github.com/apache/spark/pull/5396 [SPARK-6746B] Refactor large functions in DAGScheduler to improve readibility Hi all. The DAG Scheduler had several very large, complex, and unreadable functions. Specifically, ```handleTaskCompletion```, ```cleanupStateForJobAndIndependentStages```, and ```submitMissingTasks```. This patch is almost exclusively code movement, very little code has changed with the exception of handling return logic when serializing tasks within ```submitMissingTasks```. I believe the final product is much more readable and makes it much easier to understand what's going on within the DAGScheduler. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ilganeli/spark SPARK-6746B Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/5396.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5396 ---- commit a63eb72b58014cfbc408be053ab5a22f21abae35 Author: Ilya Ganelin Date: 2015-04-07T17:14:22Z [SPARK-6746] Refactored submitMissingTasks, cleanupStateForJobAndIndependentStages, and handleTaskCompletion commit c9db10da94f066109b915d24c3f0f3ec7ee50eea Author: Ilya Ganelin Date: 2015-04-07T17:19:55Z Updated shuffle map task ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org