Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 EF2C0D548 for ; Fri, 30 Nov 2012 01:26:22 +0000 (UTC) Received: (qmail 25144 invoked by uid 500); 30 Nov 2012 01:26:21 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 25067 invoked by uid 500); 30 Nov 2012 01:26:21 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 25059 invoked by uid 99); 30 Nov 2012 01:26:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 01:26:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tucu@cloudera.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 01:26:16 +0000 Received: by mail-vc0-f176.google.com with SMTP id fl13so18784871vcb.35 for ; Thu, 29 Nov 2012 17:25:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=1EXsRODEjtOJvwEu/IgsM5+7EE1mql025VkQPbp5zZs=; b=NjpPq54sloKRrj9tSLLwyWn8nr8W5j+WFRi0X7tAV464TYVMS8pZj7aoxSwAbEQkn9 i+mkPhphD9Gol1csnYzVNQttH1NXcOK134clhsLEXzRl7w/I92K0kc/a8w/GCs+mN3Hn pBgk/k+hxWlEntT+C2VETPFxKWRRgteHQoKQUu6RWXAgl3XR45PrursIre2C+mm98vNq cedQJAbbj3V/23gGkV5ANeO68yidlP4pqmeSO7LxauVQ6y70HLE0oBPV/NIvhxyo8+dp LRLAowoS3hdgDU3yYfu8kQbF4j6877T31qq6svZ81kUJ1fbD9YA8uZH05jLGUogvbGYt hINA== Received: by 10.52.37.9 with SMTP id u9mr5033505vdj.83.1354238755326; Thu, 29 Nov 2012 17:25:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.218.194 with HTTP; Thu, 29 Nov 2012 17:25:25 -0800 (PST) In-Reply-To: References: From: Alejandro Abdelnur Date: Thu, 29 Nov 2012 17:25:25 -0800 Message-ID: Subject: Re: [VOTE] introduce Python as build-time and run-time dependency for Hadoop and throughout Hadoop stack To: "common-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary=20cf307f3a84f3caa404cfac4792 X-Gm-Message-State: ALoCoQnVkO07oudIGSmJJy+c99jOtrTv/kI3rsZqewvGjLKcjzzO8tuZwOMLhaJ4XR8C/TzyKIqF X-Virus-Checked: Checked by ClamAV on apache.org --20cf307f3a84f3caa404cfac4792 Content-Type: text/plain; charset=ISO-8859-1 Matt, Let me repost my previous questions and a few more. I'd appreciate your answers, as it will help me understand the full impact this would have in Hadoop and related projects. * Phyton as runtime requirement. Are you planing to migrate all BASH scripts provided by Hadoop (or dynamically created -ie launcher scripts) to Phyton? * What else in the current build, besides saveVersion.sh, you see as candidate to be migrated to Phyton? * How are you planning to define what Phyton modules can be used? Will developers have to install them manually? * What kind of tasks you envision Python scripts will enable that are not possible today? * Will the requirement of Python be pushed to clients using the hadoop script? If so, this would affect all downstream projects that use hadoop script in one why or the other, right? Is the main motivation of the proposal to make things easier for window, so there is no need for cygwin? If that is the case, have you considered doing directly BAT scripts? If you take Tomcat for example, they have BAT scripts and SH scripts and things work quite nicely. Personally, I wouldn't be trilled to see the logic in the scripts to get more complex, but on the opposite direction; IMO, scripts should be trimmed to set env vars (with no voodoo logic), build the classpath (with no voodoo logic, just from a set of dirs) and call Java. Finally, this is code change, so I'm not sure why we are doing a vote. Thx. On Thu, Nov 29, 2012 at 3:26 PM, Alejandro Abdelnur wrote: > Matt, thanks for the clarification. > > I may have missed the main point of the PROPOSAL thread then. I personally > want to continue the discussion before voting. > > * Phyton as runtime requirement. Are you planing to migrate all BASH > scripts provided by Hadoop (or dynamically created -ie launcher scripts) > to Phyton? > * What else in the current build, besides saveVersion.sh, you see as > candidate to be migrated to Phyton? > * How are you planning to define what Phyton modules can be used? Will > developers have to install them manually? > > Cheers > > > On Thu, Nov 29, 2012 at 2:39 PM, Matt Foley wrote: > >> Hi Alejandro, >> Please see in-line below. >> >> On Mon, Nov 26, 2012 at 1:52 PM, Alejandro Abdelnur >> wrote: >> >> > Matt, >> > >> > The scope of this vote seems different from what was discussed in the >> > PROPOSAL thread. >> > In the PROPOSAL thread you indicated this was for Hadoop1 because it is >> ANT >> > based. And the main reason was to remove saveVersion.sh. >> > Your #3 was not discussed in the proposal, was it? >> > >> >> The item #3 was in my original statement of the problem, with which I >> started the proposal thread. In fact, the thread title was "[PROPOSAL] >> introduce Python as build-time and run-time dependency for Hadoop and >> throughout Hadoop stack". It is true that only one or two people chose to >> discuss #3 further in that thread. >> >> The point is not just to replace a single script, but to provide a means >> to >> do cross-platform scripts, which will over time replace many >> non-platform-specific scripts written in platform-specific languages. >> >> >> > >> > It seems this vote is dragging much more stuff it was originally >> discussed. >> > I think you should suspend the vote, recap the motivation and then >> restart >> > the vote. >> > >> >> I respectfully disagree. I believe a careful reading of the cited >> discussion thread, plus my own statement of the vote, provides sufficient >> background for a thoughtful decision on the subject. Presumably so do the >> ten other people who had already voted before you made that comment. >> >> If several other people want more discussion first, please speak up. >> Thanks, >> --Matt >> >> As things are laid out at the moment my vote is: >> > >> > -1 (It still seems an overkill to introduce a new runtime requirement >> for >> > building to replace a script.) >> > +1 (I think this is the right way to simplify the build) >> > -1 (AFAIK there is not such requirement at the moment, and if it comes >> it >> > would be in the form of an AM, which I'd argue it should leave outside >> of >> > Hadoop) >> > >> > Thx >> > >> > >> > On Mon, Nov 26, 2012 at 1:16 PM, Giridharan Kesavan < >> > gkesavan@hortonworks.com> wrote: >> > >> > > +1, +1, +1 >> > > >> > > -Giri >> > > >> > > >> > > On Sat, Nov 24, 2012 at 12:13 PM, Matt Foley >> wrote: >> > > >> > > > For discussion, please see previous thread "[PROPOSAL] introduce >> Python >> > > as >> > > > build-time and run-time dependency for Hadoop and throughout Hadoop >> > > stack". >> > > > >> > > > This vote consists of three separate items: >> > > > >> > > > 1. Contributors shall be allowed to use Python as a >> > platform-independent >> > > > scripting language for build-time tasks, and add Python as a >> build-time >> > > > dependency. >> > > > Please vote +1, 0, -1. >> > > > >> > > > 2. Contributors shall be encouraged to use Maven tasks in >> combination >> > > with >> > > > either plug-ins or Groovy scripts to do cross-platform build-time >> > tasks, >> > > > even under ant in Hadoop-1. >> > > > Please vote +1, 0, -1. >> > > > >> > > > 3. Contributors shall be allowed to use Python as a >> > platform-independent >> > > > scripting language for run-time tasks, and add Python as a run-time >> > > > dependency. >> > > > Please vote +1, 0, -1. >> > > > >> > > > Note that voting -1 on #1 and +1 on #2 essentially REQUIRES >> > contributors >> > > to >> > > > use Maven plug-ins or Groovy as the only means of cross-platform >> > > build-time >> > > > tasks, or to simply continue using platform-dependent scripts as is >> > being >> > > > done today. >> > > > >> > > > Vote closes at 12:30pm PST on Saturday 1 December. >> > > > --------- >> > > > Personally, my vote is +1, +1, +1. >> > > > I think #2 is preferable to #1, but still has many unknowns in it, >> and >> > > > until those are worked out I don't want to delay moving to >> > cross-platform >> > > > scripts for build-time tasks. >> > > > >> > > > Best regards, >> > > > --Matt >> > > > >> > > >> > >> > >> > >> > -- >> > Alejandro >> > >> > > > > -- > Alejandro > -- Alejandro --20cf307f3a84f3caa404cfac4792--