You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Ramya Sunil (JIRA)" <ji...@apache.org> on 2012/05/31 02:10:23 UTC

[jira] [Updated] (AMBARI-462) when hive is being stopped, it stops the hive nagios checks

     [ https://issues.apache.org/jira/browse/AMBARI-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramya Sunil updated AMBARI-462:
-------------------------------

    Attachment: AMBARI-462.patch
    
> when hive is being stopped, it stops the hive nagios checks
> -----------------------------------------------------------
>
>                 Key: AMBARI-462
>                 URL: https://issues.apache.org/jira/browse/AMBARI-462
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: ambari-186
>            Reporter: Ramya Sunil
>            Assignee: Ramya Sunil
>         Attachments: AMBARI-462.patch
>
>
> From Arpit:
> hive nagios checks are being killed when hive process is being stopped.
> {noformat}
> [root@ip-10-4-158-203 ~]# ps aux | grep hive
> nagios   18353  0.0  0.0   8724  1036 ?        S    17:36   0:00 bash /usr/lib64/nagios/plugins/check_hive_metastore_status.sh ip-10-4-158-203.ec2.internal 9083
> {noformat}
> I suggest when we kill hive we check for the process running as hive and kill that. for example
> {noformat}
> ps aux | awk '{print \\\$1,\\\$2}' | grep $hiveuser | awk '{print \\\$2}' | xargs kill
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira