You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2009/01/15 19:11:01 UTC

[jira] Created: (HADOOP-5053) Collector does not shutdown properly

Collector does not shutdown properly
------------------------------------

                 Key: HADOOP-5053
                 URL: https://issues.apache.org/jira/browse/HADOOP-5053
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/chukwa
         Environment: Redhat 5.1, Java 6
            Reporter: Eric Yang
            Assignee: Eric Yang


Using "ps ax" to determine process status is more reliable than jps, and chukwa has changed to use ps ax as part of shutdown.  However, the shell script does not handle the case where there are blank space in front of pid number, though running "jettyCollector.sh stop" does not shutdown the collector process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5053) Collector does not shutdown properly

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated HADOOP-5053:
------------------------------

      Resolution: Duplicate
    Release Note:   (was: What is new in HADOOP-5053:

- Improved shutdown handling in jettyCollector.sh.)
          Status: Resolved  (was: Patch Available)

This is a duplicate of HADOOP-4894.

> Collector does not shutdown properly
> ------------------------------------
>
>                 Key: HADOOP-5053
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5053
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5053.patch
>
>
> Using "ps ax" to determine process status is more reliable than jps, and chukwa has changed to use ps ax as part of shutdown.  However, the shell script does not handle the case where there are blank space in front of pid number, though running "jettyCollector.sh stop" does not shutdown the collector process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5053) Collector does not shutdown properly

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated HADOOP-5053:
------------------------------

    Release Note: 
What is new in HADOOP-5053:

- Improved shutdown handling in jettyCollector.sh.
          Status: Patch Available  (was: Open)

> Collector does not shutdown properly
> ------------------------------------
>
>                 Key: HADOOP-5053
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5053
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5053.patch
>
>
> Using "ps ax" to determine process status is more reliable than jps, and chukwa has changed to use ps ax as part of shutdown.  However, the shell script does not handle the case where there are blank space in front of pid number, though running "jettyCollector.sh stop" does not shutdown the collector process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-5053) Collector does not shutdown properly

Posted by "Eric Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Yang updated HADOOP-5053:
------------------------------

    Attachment: HADOOP-5053.patch

Stripped out blank space from pid number to make sure cut utility is getting expected field.

> Collector does not shutdown properly
> ------------------------------------
>
>                 Key: HADOOP-5053
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5053
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5053.patch
>
>
> Using "ps ax" to determine process status is more reliable than jps, and chukwa has changed to use ps ax as part of shutdown.  However, the shell script does not handle the case where there are blank space in front of pid number, though running "jettyCollector.sh stop" does not shutdown the collector process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-5053) Collector does not shutdown properly

Posted by "Mac Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664367#action_12664367 ] 

Mac Yang commented on HADOOP-5053:
----------------------------------

+1

At some point it would be nice to rename the JPS variable though.

> Collector does not shutdown properly
> ------------------------------------
>
>                 Key: HADOOP-5053
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5053
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: Redhat 5.1, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-5053.patch
>
>
> Using "ps ax" to determine process status is more reliable than jps, and chukwa has changed to use ps ax as part of shutdown.  However, the shell script does not handle the case where there are blank space in front of pid number, though running "jettyCollector.sh stop" does not shutdown the collector process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.