Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 53261 invoked from network); 25 May 2007 19:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2007 19:51:40 -0000 Received: (qmail 68191 invoked by uid 500); 25 May 2007 19:51:44 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 68163 invoked by uid 500); 25 May 2007 19:51:44 -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 67543 invoked by uid 99); 25 May 2007 19:51:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 12:51:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 12:51:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B6F1714069 for ; Fri, 25 May 2007 12:51:16 -0700 (PDT) Message-ID: <10697301.1180122676437.JavaMail.jira@brutus> Date: Fri, 25 May 2007 12:51:16 -0700 (PDT) From: "Enis Soztutar (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-1436) Redesign Tool and ToolBase API and releted functionality MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Redesign Tool and ToolBase API and releted functionality -------------------------------------------------------- Key: HADOOP-1436 URL: https://issues.apache.org/jira/browse/HADOOP-1436 Project: Hadoop Issue Type: Improvement Components: util Affects Versions: 0.14.0 Reporter: Enis Soztutar Fix For: 0.14.0 With the discussion from HADOOP-1425, we need better abstraction and better tool runner utilities. 1. Classes do not need to extend ToolBase 2. functions for parsing general HadoopCommands (-fs, -conf, -jt) should be public 3. We need a ToolRunner, or similar functionality 4. Also we need each class (implementing Tool) to be runnable (main method) 5. CLI objects can be passed to run method of the Tool class (arguable) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.