ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-8066) ambari-agent shows usage hint on ambari-agent status
Date Tue, 11 Nov 2014 19:22:34 GMT

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

Andrew Onischuk resolved AMBARI-8066.
-------------------------------------
    Resolution: Fixed

Committed to trunk

> ambari-agent shows usage hint on ambari-agent status
> ----------------------------------------------------
>
>                 Key: AMBARI-8066
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8066
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> When ambari-agent is stopped, `ambari-agent status` command shows a usage hint
> as well. Looks like a bug since usage hint is usually shown when command is
> given invalid arguments. When issuing `ambari-agent status` with started
> agent, usage hint is not shown.
>     
>     
>     
>     [root@0ab rpms]# ambari-agent stop
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.6
>     Found ambari-agent PID: 1847
>     Stopping ambari-agent
>     Removing PID file at /var/run/ambari-agent/ambari-agent.pid
>     ambari-agent successfully stopped
>     [root@0ab rpms]# ambari-agent status
>     ambari-agent currently not running
>     Usage: /usr/sbin/ambari-agent {start|stop|restart|status}
>     [root@0ab rpms]# ambari-agent start
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python2.6
>     Checking for previously running Ambari Agent...
>     Starting ambari-agent
>     Verifying ambari-agent process status...
>     Ambari Agent successfully started
>     Agent PID at: /var/run/ambari-agent/ambari-agent.pid
>     Agent out at: /var/log/ambari-agent/ambari-agent.out
>     Agent log at: /var/log/ambari-agent/ambari-agent.log
>     [root@0ab rpms]# ambari-agent status
>     Found ambari-agent PID: 1905
>     ambari-agent running.
>     Agent PID at: /var/run/ambari-agent/ambari-agent.pid
>     Agent out at: /var/log/ambari-agent/ambari-agent.out
>     Agent log at: /var/log/ambari-agent/ambari-agent.log
>     [root@0ab rpms]# 
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message