[
https://issues.apache.org/jira/browse/AMBARI-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206991#comment-14206991
]
Hudson commented on AMBARI-8066:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #913 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/913/])
AMBARI-8066. ambari-agent shows usage hint on ambari-agent status (aonishuk)
(aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7eabb749f2fafb2226df837a1b1b2a2cc5716f31)
* ambari-agent/conf/unix/ambari-agent
> 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)