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

Chunjun Xiao updated BIGTOP-1500:
---------------------------------
    Description: 
Generally, when we stop some service already stopped, we will get an error 
return, as nfsd/httpd does.
{quote}
[root@svm7 /etc/init.d] # service nfs stop
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
[root@svm7 /etc/init.d] # service nfs stop
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS quotas:                                  [FAILED]
[root@svm7 /etc/init.d] #
{quote}

While when we stop hue (and many other hadoop components), which has already 
been stopped, it will return success.
{quote}
[root@svm7 /etc/init.d] # service hue stop
[root@svm7 /etc/init.d] #                                  [  OK  ]
[root@svm7 /etc/init.d] # service hue stop
[root@svm7 /etc/init.d] #                                  [  OK  ]
{quote}

Should the hadoop services comply with the convention?

  was:
Generally, when we stop some service already stopped, we will get an error 
return, as nfsd/httpd does.
{quote}
[root@svm7 /etc/init.d] # service nfs stop
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
[root@svm7 /etc/init.d] # service nfs stop
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS quotas:                                  [FAILED]
[root@svm7 /etc/init.d] #
{quote}

While we stop hue (and many other hadoop components), which has already been 
stopped, it will return success.
{quote}
[root@svm7 /etc/init.d] # service hue stop
[root@svm7 /etc/init.d] #                                  [  OK  ]
[root@svm7 /etc/init.d] # service hue stop
[root@svm7 /etc/init.d] #                                  [  OK  ]
{quote}

Should the hadoop services comply with the convention?


> Stop already stopped hue service returns ok instead of failed
> -------------------------------------------------------------
>
>                 Key: BIGTOP-1500
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1500
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.8.0
>            Reporter: Chunjun Xiao
>            Priority: Trivial
>
> Generally, when we stop some service already stopped, we will get an error 
> return, as nfsd/httpd does.
> {quote}
> [root@svm7 /etc/init.d] # service nfs stop
> Shutting down NFS daemon:                                  [  OK  ]
> Shutting down NFS mountd:                                  [  OK  ]
> Shutting down NFS quotas:                                  [  OK  ]
> [root@svm7 /etc/init.d] # service nfs stop
> Shutting down NFS daemon:                                  [FAILED]
> Shutting down NFS mountd:                                  [FAILED]
> Shutting down NFS quotas:                                  [FAILED]
> [root@svm7 /etc/init.d] #
> {quote}
> While when we stop hue (and many other hadoop components), which has already 
> been stopped, it will return success.
> {quote}
> [root@svm7 /etc/init.d] # service hue stop
> [root@svm7 /etc/init.d] #                                  [  OK  ]
> [root@svm7 /etc/init.d] # service hue stop
> [root@svm7 /etc/init.d] #                                  [  OK  ]
> {quote}
> Should the hadoop services comply with the convention?



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

Reply via email to