You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Bruno Mahé (JIRA)" <ji...@apache.org> on 2012/06/11 23:55:42 UTC

[jira] [Created] (BIGTOP-624) running start on a service already running should return success

Bruno Mahé created BIGTOP-624:
---------------------------------

             Summary: running start on a service already running should return success
                 Key: BIGTOP-624
                 URL: https://issues.apache.org/jira/browse/BIGTOP-624
             Project: Bigtop
          Issue Type: Bug
          Components: General
    Affects Versions: 0.4.0
            Reporter: Bruno Mahé


I am opening specifically this ticket for Apache Oozie but generally speaking, running start on a service already running should return success.
See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
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

       

[jira] [Commented] (BIGTOP-624) running start on a service already running should return success

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293141#comment-13293141 ] 

Johnny Zhang commented on BIGTOP-624:
-------------------------------------

@Bruno, could you please paste the error code in the log?

I think it has to do with class org.apache.bigtop.itest.posix.Service, need to modify the function start(), which check the status of service before doing the 'service $svc_name start', if it is already started, just return success directly.
                
> running start on a service already running should return success
> ----------------------------------------------------------------
>
>                 Key: BIGTOP-624
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-624
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.4.0
>            Reporter: Bruno Mahé
>
> I am opening specifically this ticket for Apache Oozie but generally speaking, running start on a service already running should return success.
> See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
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

       

[jira] [Commented] (BIGTOP-624) running start on a service already running should return success

Posted by "Bruno Mahé (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293148#comment-13293148 ] 

Bruno Mahé commented on BIGTOP-624:
-----------------------------------

This has nothing to do with tests. This was run by hand on a VM.
The issue is with our init scripts directly. If a service is running, calling "service <SERVICE_NAME> start" should exit with success.
                
> running start on a service already running should return success
> ----------------------------------------------------------------
>
>                 Key: BIGTOP-624
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-624
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.4.0
>            Reporter: Bruno Mahé
>
> I am opening specifically this ticket for Apache Oozie but generally speaking, running start on a service already running should return success.
> See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
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

       

[jira] [Commented] (BIGTOP-624) running start on a service already running should return success

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293125#comment-13293125 ] 

Johnny Zhang commented on BIGTOP-624:
-------------------------------------

@Bruno, does it return "can not start service Oozie" right now?
                
> running start on a service already running should return success
> ----------------------------------------------------------------
>
>                 Key: BIGTOP-624
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-624
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.4.0
>            Reporter: Bruno Mahé
>
> I am opening specifically this ticket for Apache Oozie but generally speaking, running start on a service already running should return success.
> See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
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

       

[jira] [Commented] (BIGTOP-624) running start on a service already running should return success

Posted by "Bruno Mahé (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293127#comment-13293127 ] 

Bruno Mahé commented on BIGTOP-624:
-----------------------------------

No, it returns an error code but still correctly says something along the lines of "Oozie already running"
                
> running start on a service already running should return success
> ----------------------------------------------------------------
>
>                 Key: BIGTOP-624
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-624
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.4.0
>            Reporter: Bruno Mahé
>
> I am opening specifically this ticket for Apache Oozie but generally speaking, running start on a service already running should return success.
> See http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

--
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