hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay Kumar Thota (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6819) [Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.
Date Fri, 09 Jul 2010 19:28:50 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886846#action_12886846
] 

Vinay Kumar Thota commented on HADOOP-6819:
-------------------------------------------

Cos, It was there in patch available state quite a long time.Please commit it.

> [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.


Mime
View raw message