Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 95458 invoked from network); 3 Sep 2008 16:22:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 16:22:37 -0000 Received: (qmail 3532 invoked by uid 500); 3 Sep 2008 16:22:34 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 2923 invoked by uid 500); 3 Sep 2008 16:22:33 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 2912 invoked by uid 99); 3 Sep 2008 16:22:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 09:22:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 16:21:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FE75234C1CA for ; Wed, 3 Sep 2008 09:21:44 -0700 (PDT) Message-ID: <948409842.1220458904457.JavaMail.jira@brutus> Date: Wed, 3 Sep 2008 09:21:44 -0700 (PDT) From: "Nigel Daley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4059) Add tests that try starting the various hadoop command line scripts In-Reply-To: <896522891.1220437304268.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 [ https://issues.apache.org/jira/browse/HADOOP-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628039#action_12628039 ] Nigel Daley commented on HADOOP-4059: ------------------------------------- FYI, I think org.apache.hadoop.cli.TestCLI tests some of this. > Add tests that try starting the various hadoop command line scripts > ------------------------------------------------------------------- > > Key: HADOOP-4059 > URL: https://issues.apache.org/jira/browse/HADOOP-4059 > Project: Hadoop Core > Issue Type: Test > Components: test > Affects Versions: 0.19.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Original Estimate: 72h > Remaining Estimate: 72h > > Hadoop has lots of tests that start clusters, but I don't see any that test the command line scripts working. Which means that changes to the scripts and the code behind them may not get picked up rapidly, and regressions won't get picked up by Hudson and apportioned to the specific patches. > Propose: > * an abstract test case that can exec scripts on startup; wait for them to finish, kill them if they take too long > * test cases for every service (namenode, tasktracker, datanode, etc) > * tests that try invalid commands, -help options > * tests that start the services, assert that they are live, and shut them down -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.