Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1DE0E2A9 for ; Tue, 20 Nov 2012 17:32:58 +0000 (UTC) Received: (qmail 42891 invoked by uid 500); 20 Nov 2012 17:32:58 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 42696 invoked by uid 500); 20 Nov 2012 17:32:58 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 42621 invoked by uid 99); 20 Nov 2012 17:32:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2012 17:32:58 +0000 Date: Tue, 20 Nov 2012 17:32:58 +0000 (UTC) From: "Thomas Jungblut (JIRA)" To: dev@hama.apache.org Message-ID: <941177800.7662.1353432778529.JavaMail.jiratomcat@arcas> In-Reply-To: <428209194.100082.1352720116225.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HAMA-672) Overload Jobsubmission in core module MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Jungblut updated HAMA-672: --------------------------------- Attachment: HAMA-672_2.patch Okay, final version. Testcases work fine, didn't check YARN. Now YARN jobs can be submitted through the normal BSPJob interface, we might consider adding a setter for memory- but we can add this later for convenience. Please check if it also works for you local/classic. > Overload Jobsubmission in core module > ------------------------------------- > > Key: HAMA-672 > URL: https://issues.apache.org/jira/browse/HAMA-672 > Project: Hama > Issue Type: Sub-task > Components: bsp core, build , yarn > Reporter: Thomas Jungblut > Fix For: 0.7.0 > > Attachments: HAMA-672_2.patch, HAMA-672.patch > > > introduce new configuration key "bsp.framework.name" which maps to the values: "local,classic,yarn" > It will change core's BSPJob, so the client can be overloaded via a static mapping of value->classname. (e.G. local->LocalBSPRunner, classic->BSPMaster and a new implementation of the JobSubmissionProtocol for YARN). > So we don't have to introduce a cyclic dependency from core->yarn and yarn->core, because core->yarn is then decoupled by a jobmission classname mapping. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira