Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Some processes like Collectors, demuxManager, etc have to be able to exit if they have to.
      In that case, watchdog will not restart them since the shutdown hook will have done the cleanup.

      pFile = new PidFile("Agent");
      Runtime.getRuntime().addShutdownHook(pFile);

      pFile = new PidFile("Collector");
      Runtime.getRuntime().addShutdownHook(pFile);

      Attachments

        1. chukwa-98.patch
          15 kB
          Cheng

        Activity

          People

            zhangyongjiang Cheng
            jboulon Jerome Boulon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment