Chukwa
  1. Chukwa
  2. CHUKWA-468

Shutdown Chukwa creates core.[pid] files

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.2, 0.2.0, 0.3.0, 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Scripts
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 1.6

      Description

      Chukwa scripts are using kill -TERM for shutdown chukwa processes. This creates a lot of unwanted core.[pid] file in the CHUKWA_HOME directory. Ideally, we should use kill -1 to shutdown Chukwa processes.

        Activity

        Hide
        Eric Yang added a comment -

        Change kill -TERM to kill -1.

        Show
        Eric Yang added a comment - Change kill -TERM to kill -1.
        Hide
        Ari Rabkin added a comment -

        +1 to commit to 0.4 branch and also trunk.

        Show
        Ari Rabkin added a comment - +1 to commit to 0.4 branch and also trunk.
        Hide
        Hudson added a comment -

        Integrated in Chukwa-trunk #334 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/334/)
        . Use SIGHUP instead of SIGTERM for shutdown. (Eric Yang)
        CHUKWA-467. Disabled war file extraction to /tmp. (Eric Yang)
        . Use SIGHUP instead of SIGTERM for shutdown. (Eric Yang)

        Show
        Hudson added a comment - Integrated in Chukwa-trunk #334 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/334/ ) . Use SIGHUP instead of SIGTERM for shutdown. (Eric Yang) CHUKWA-467 . Disabled war file extraction to /tmp. (Eric Yang) . Use SIGHUP instead of SIGTERM for shutdown. (Eric Yang)
        Hide
        Ari Rabkin added a comment -

        Should we close this issue?

        Show
        Ari Rabkin added a comment - Should we close this issue?
        Hide
        Eric Yang added a comment -

        This has been committed. Thanks Ari.

        Show
        Eric Yang added a comment - This has been committed. Thanks Ari.

          People

          • Assignee:
            Eric Yang
            Reporter:
            Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development