Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 12658 invoked from network); 11 Jun 2010 21:15:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Jun 2010 21:15:42 -0000 Received: (qmail 9772 invoked by uid 500); 11 Jun 2010 21:15:42 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 9691 invoked by uid 500); 11 Jun 2010 21:15:41 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 9683 invoked by uid 99); 11 Jun 2010 21:15:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 21:15:41 +0000 X-ASF-Spam-Status: No, hits=-1515.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 21:15:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5BLFKga017816 for ; Fri, 11 Jun 2010 21:15:21 GMT Message-ID: <33181040.52441276290920644.JavaMail.jira@thor> Date: Fri, 11 Jun 2010 17:15:20 -0400 (EDT) From: "Hadoop QA (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully. In-Reply-To: <25211660.39321276233134711.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877967#action_12877967 ] Hadoop QA commented on HADOOP-6819: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12446839/HADOOP-6819.patch against trunk revision 953863. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 javadoc. The javadoc tool appears to have generated 1 warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/581/console This message is automatically generated. > [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully. > --------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-6819 > URL: https://issues.apache.org/jira/browse/HADOOP-6819 > Project: Hadoop Common > Issue Type: Bug > Components: test > Affects Versions: 0.21.0 > Reporter: Vinay Kumar Thota > Assignee: Vinay Kumar Thota > Attachments: 6819-ydist-security.patch, HADOOP-6819.patch > > > I have found an corner case issue while executing the shell command for getting the new exceptions in the logs. The problem could see whenever the log files are empty and trying to get the new exceptions count, it returns the output is 0 ,however it returns the exitcode is 1 instead of 0. grep -vc in the command is not giving the expected exitcode because its not handling the multiple in options. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.