Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5B03189C5 for ; Thu, 9 Jul 2015 19:07:48 +0000 (UTC) Received: (qmail 9971 invoked by uid 500); 9 Jul 2015 19:07:45 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 9893 invoked by uid 500); 9 Jul 2015 19:07:45 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 9883 invoked by uid 99); 9 Jul 2015 19:07:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 19:07:45 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nicholas.chammas@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-vn0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 19:05:31 +0000 Received: by vnbf62 with SMTP id f62so35764725vnb.9 for ; Thu, 09 Jul 2015 12:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=sJi8WMIuREmSBF+jT5xnYJBCRJR9C9A2EpBXR9AVUvM=; b=cdHw0U1zXPx8JYtwCgPtyu+Bw6r2wphcYWBydZjbCpM9C2Df5uWuzgEZymrfKee/Ti yQjTOOtP+9ROmv4lZDJUQY+YD27PszidtJWKe5sdG+XNdBPyVDDD6a2OGRsoRic8YtZR X13u3UWc6Gp3a+XgaUlzXnlFL0RTfgSESIHmP2zt/wp73WGUp3pmnqgWMsginxTDB213 i2hdqvb2flstDD+NZecFOGqfR8gM1ilpYPFnS+4/uqRlPqTOzOuHw/RMtCpl8iBk8JhB BoPS/NokQaAb/fZ9KX009cLGvZiAejqEQR+UTWV/r83oM6Bh6/SV7MWxwK1VGbU+7Z7f V0dA== X-Received: by 10.52.170.237 with SMTP id ap13mr15977819vdc.5.1436468838475; Thu, 09 Jul 2015 12:07:18 -0700 (PDT) MIME-Version: 1.0 References: <1436426692198-23734.post@n3.nabble.com> In-Reply-To: <1436426692198-23734.post@n3.nabble.com> From: Nicholas Chammas Date: Thu, 09 Jul 2015 19:07:08 +0000 Message-ID: Subject: Re: spark ec2 as non-root / any plan to improve that in the future ? To: matd , user@spark.apache.org Content-Type: multipart/alternative; boundary=047d7b41cc8ed92edd051a75f678 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b41cc8ed92edd051a75f678 Content-Type: text/plain; charset=UTF-8 No plans to change that at the moment, but agreed it is against accepted convention. It would be a lot of work to change the tool, change the AMIs, and test everything. My suggestion is not to hold your breath for such a change. spark-ec2, as far as I understand, is not intended for spinning up permanent or production infrastructure (though people may use it for those purposes), so there isn't a big impetus to fix this kind of issue. It works really well for what it was intended for: spinning up clusters for testing, prototyping, and experimenting. Nick On Thu, Jul 9, 2015 at 3:25 AM matd wrote: > Hi, > > Spark ec2 scripts are useful, but they install everything as root. > AFAIK, it's not a good practice ;-) > > Why is it so ? > Should these scripts reserved for test/demo purposes, and not to be used > for > a production system ? > Is it planned in some roadmap to improve that, or to replace ec2-scripts > with something else ? > > Would it be difficult to change them to use a sudo-er instead ? > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/spark-ec2-as-non-root-any-plan-to-improve-that-in-the-future-tp23734.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@spark.apache.org > For additional commands, e-mail: user-help@spark.apache.org > > --047d7b41cc8ed92edd051a75f678 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No plans to change that at the moment, but agreed it is ag= ainst accepted convention. It would be a lot of work to change the tool, ch= ange the AMIs, and test everything. My suggestion is not to hold your breat= h for such a change.

spark-ec2, as far as I understa= nd, is not intended for spinning up permanent or production infrastructure = (though people may use it for those purposes), so there isn't a big imp= etus to fix this kind of issue. It works really well for what it was intend= ed for: spinning up clusters for testing, prototyping, and experimenting.

Nick

On Thu, Jul 9, 2015 at 3:25 AM matd <matdpro@gmail.com> wrote:
Hi,

Spark ec2 scripts are useful, but they install everything as root.
AFAIK, it's not a good practice ;-)

Why is it so ?
Should these scripts reserved for test/demo purposes, and not to be used fo= r
a production system ?
Is it planned in some roadmap to improve that, or to replace ec2-scripts with something else ?

Would it be difficult to change them to use a sudo-er instead ?



--
View this message in context: http://apache-spark-= user-list.1001560.n3.nabble.com/spark-ec2-as-non-root-any-plan-to-improve-t= hat-in-the-future-tp23734.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org

--047d7b41cc8ed92edd051a75f678--