Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9594B200BBF for ; Mon, 14 Nov 2016 20:44:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 93F8C160B06; Mon, 14 Nov 2016 19:44:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DE7A9160AF4 for ; Mon, 14 Nov 2016 20:44:17 +0100 (CET) Received: (qmail 51686 invoked by uid 500); 14 Nov 2016 19:44:16 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Delivered-To: moderator for dev@spark.apache.org Received: (qmail 42861 invoked by uid 99); 14 Nov 2016 19:40:30 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=mesosphere.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mesosphere.io; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gY3sfqiew2eHydqMt+Q04WUtweNYaSNqICyCzt9QauM=; b=pForIDFk6pfP8J0CnBeBDzY0E2yUrDF1rphdFFK2gsPoGRdBxdb5dYyp4z8BeIwk9X exUAMeN3I8Wt51khNLFAippKfm3H4l2c2fHWvys38cL1qXQpHGEb310l8NHXHcPwcSTc ptMWjo2ggyFyvrY2osdKzaRjKCKKXIzXxigS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gY3sfqiew2eHydqMt+Q04WUtweNYaSNqICyCzt9QauM=; b=N3ttaSLI7zTQd8oiJiqTKyj1zLF4pvSfTPh2MBFp1owKv+4XCUwf3gRwhLZ33Us2i9 8EpBW9ARlxiBt6MM/4h5s8RDjjqTwmoMT//77W6YyjQFrM+G3PC2GrFuM5VNXoblnOfM rDDJTTsEAvSwa0PsbalIimo8BG56bmu5Z0xGeGvbJNRuUK1rsSROyyqQygjZdx1wYkce 3jO2q64jNwmYmsFklMqKPPTXsLvoO+ONTKn5hlmuATcVNF/OBBFsV69nB4Vi/m0iTObK 8Kzb4hALhnCybpSbV+yaM2VMN5+RnDL5eVY87tvn9S/GRSGjnjLZJivnd1zGJP9KfRmw tK/Q== X-Gm-Message-State: ABUngvcXLYXjgDCOaT1s01jTAebVILzfsE4dcjk/owc8Cimh82t9lCC/P+FuP4sPu8uL/+q1tSqkvTJr0o7hJKpw X-Received: by 10.28.141.143 with SMTP id p137mr31980wmd.5.1479152421929; Mon, 14 Nov 2016 11:40:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Joseph Wu Date: Mon, 14 Nov 2016 11:40:21 -0800 Message-ID: Subject: Re: Two questions about running spark on mesos To: dev Cc: dev Content-Type: multipart/alternative; boundary=001a114717b6adcb3105414802a7 archived-at: Mon, 14 Nov 2016 19:44:18 -0000 --001a114717b6adcb3105414802a7 Content-Type: text/plain; charset=UTF-8 1) You should read through this page: https://spark.apache.org/docs/latest/running-on-mesos.html I (Mesos person) can't answer any questions that aren't already answered on that page :) 2) Your normal spark commands (whatever they are) should still work regardless of the backend. On Mon, Nov 14, 2016 at 2:58 AM, Yu Wei wrote: > Hi Guys, > > > Two questions about running spark on mesos. > > 1, Does spark configuration of conf/slaves still work when running spark > on mesos? > > According to my observations, it seemed that conf/slaves still took > effect when running spark-shell. > > However, it doesn't take effect when deploying in cluster mode. > > Is this expected behavior? > > Or did I miss anything? > > > 2, Could I kill submitted jobs when running spark on mesos in cluster mode? > > I launched spark on mesos in cluster mode. Then submitted a long > running job succeeded. > > Then I want to kill the job. > > How could I do that? Is there any similar commands as launching spark > on yarn? > > > > > Thanks, > > Jared, (??) > Software developer > Interested in open source software, big data, Linux > --001a114717b6adcb3105414802a7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I (Mesos person) = can't answer any questions that aren't already answered on that pag= e :)

2) Your normal spark commands (whatever t= hey are) should still work regardless of the backend.

On Mon, Nov 14, 2016 at= 2:58 AM, Yu Wei <yu2003w@hotmail.com> wrote:
Hi Guys,


Two questions about running spark on mesos.

1, Does spark configuration of conf/slaves still work when running spark on= mesos?

=C2=A0 =C2=A0 According to my observations, it seemed that conf/slaves stil= l took effect when running spark-shell.

=C2=A0 =C2=A0 However, it doesn't take effect when deploying in cluster= mode.

=C2=A0 =C2=A0 Is this expected behavior?

=C2=A0 =C2=A0Or did I miss anything?


2, Could I kill submitted jobs when running spark on mesos in cluster mode?=

=C2=A0 =C2=A0 I launched spark on mesos in cluster mode. Then submitted a l= ong running job succeeded.

=C2=A0 =C2=A0 Then I want to kill the job.

=C2=A0 =C2=A0 How could I do that? Is there any similar commands as launchi= ng spark on yarn?




Thanks,

Jared, (??)
Software developer
Interested in open source software, big data, Linux

--001a114717b6adcb3105414802a7--