Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6819

[Herriot] Shell command for getting the new exceptions in the logs returning exitcode 1 after executing successfully.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      herriot

      Description

      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.

        Attachments

        1. HADOOP-6819.patch
          0.7 kB
          Vinay Kumar Thota
        2. 6819-ydist-security.patch
          0.7 kB
          Vinay Kumar Thota

          Issue Links

            Activity

              People

              • Assignee:
                vinaythota Vinay Kumar Thota
                Reporter:
                vinaythota Vinay Kumar Thota
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: