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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • test
    • None
    • Reviewed
    • 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. 6819-ydist-security.patch
          0.7 kB
          Vinay Kumar Thota
        2. HADOOP-6819.patch
          0.7 kB
          Vinay Kumar Thota

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: