Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-691

Improve PID handling for service not running.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.3.0, 0.4.0, 0.5.0
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      When service is not running, running chukwa * stop, will result in:

      -bash: kill: (2934111) - No such process

      or

      PID File not found.

      It would be nice to display a more user friendly message.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Added check for PID before sending kill signal.

        Show
        eyang Eric Yang added a comment - Added check for PID before sending kill signal.
        Hide
        hudson Hudson added a comment -

        Integrated in Chukwa-trunk #465 (See https://builds.apache.org/job/Chukwa-trunk/465/)
        CHUKWA-691. Improve pid file handling. (Eric Yang) (Revision 1500352)

        Result = FAILURE
        eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1500352
        Files :

        • /incubator/chukwa/trunk/CHANGES.txt
        • /incubator/chukwa/trunk/bin/chukwa
        • /incubator/chukwa/trunk/bin/chukwa-config.sh
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #465 (See https://builds.apache.org/job/Chukwa-trunk/465/ ) CHUKWA-691 . Improve pid file handling. (Eric Yang) (Revision 1500352) Result = FAILURE eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1500352 Files : /incubator/chukwa/trunk/CHANGES.txt /incubator/chukwa/trunk/bin/chukwa /incubator/chukwa/trunk/bin/chukwa-config.sh

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development