Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 71737 invoked from network); 16 Oct 2006 21:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 21:49:28 -0000 Received: (qmail 9871 invoked by uid 500); 16 Oct 2006 21:49:28 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 9649 invoked by uid 500); 16 Oct 2006 21:49:27 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 9640 invoked by uid 99); 16 Oct 2006 21:49:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 14:49:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 14:49:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE19C714201 for ; Mon, 16 Oct 2006 14:48:36 -0700 (PDT) Message-ID: <4847307.1161035316776.JavaMail.jira@brutus> Date: Mon, 16 Oct 2006 14:48:36 -0700 (PDT) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-477) Streaming should execute Unix commands and scripts in well known languages without user specifying the path In-Reply-To: <556122.1156462753408.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-477?page=all ] Doug Cutting updated HADOOP-477: -------------------------------- Status: Resolved (was: Patch Available) Fix Version/s: 0.8.0 Resolution: Fixed I just committed this. Thanks, Dhruba! > Streaming should execute Unix commands and scripts in well known languages without user specifying the path > ----------------------------------------------------------------------------------------------------------- > > Key: HADOOP-477 > URL: http://issues.apache.org/jira/browse/HADOOP-477 > Project: Hadoop > Issue Type: Bug > Components: contrib/streaming > Reporter: arkady borkovsky > Assigned To: dhruba borthakur > Fix For: 0.8.0 > > Attachments: streamingpath.patch > > > If the executables for -mapper or -reducer are well-known (grep, cat, awk), Streaming should make sure that the executable is found. > If a script for -mapper or -reducer are in a well-known language (.pl, .py), Streaming should execute it with the correct language processor. > Reason: > many jobs get started from machines with a different environment from that on the cluster. > On another hand, different clusters may have different environments. > Also, a user may have no access to the cluster machines. > Because of this, a user may be unable to specify correct paths for standard commands, and correct language processors for scripts. > Implementation: > Stream may tailr the commands by prepending the path, or the name of language processor. > Another solution is to make sure that the commands are executed in a "meaningful" environment (with good $PATH, and other variables Unix users are accustomed to count upon). > Once again, Streaming is user facing tool -- it is not a library or a hackable example that the users are to modify for their needs. So it should work out of the box. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira