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