Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6930

SCM , OM and RECON should not print ERROR and exit with code 1 on successful shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      aswinshakil and I noticed that we SCM is shutdown normally it prints out the ERROR log:

      2022-06-21 20:37:52,246 ERROR org.apache.hadoop.hdds.scm.server.StorageContainerManager: Terminating with exit status 1: scm statemachine is closed by ratis, terminate SCM
      

      1. This can be misleading as it shouldn't print ERROR if SCM is being shut down normally;
      2. And the exit code should be 0 if shutdown is successful. >0 values conventionally indicates errors.

      Attachments

        Issue Links

          Activity

            People

              nakumar Navin Kumar
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: