You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinay Kumar Thota (JIRA)" <ji...@apache.org> on 2010/06/11 07:16:15 UTC

[jira] Updated: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

     [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinay Kumar Thota updated HADOOP-6819:
--------------------------------------

    Attachment: 6819-ydist-security.patch

Patch for yahoo security dist branch.

> [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
>            Reporter: Vinay Kumar Thota
>            Assignee: Vinay Kumar Thota
>         Attachments: 6819-ydist-security.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.