4 Replies Latest reply: Jan 30, 2012 6:42 AM by Andrew Dinn RSS

Add distributed coordination capabilities

Andrei Savu Newbie

Hi All,

 

My name is Andrei Savu. I am currently doing research on fault injection testing for my master degree thesis. You can find more about me on LinkedIn.

 

What do you think about adding primitives for distributed coordination (as an extension of #170) to Byteman? I would love to work on implementing them.

  • 1. Re: Add distributed coordination capabilities
    Andrew Dinn Master

    Hi Andrei,

     

    Andrei Savu wrote:

     

    My name is Andrei Savu. I am currently doing research on fault injection testing for my master degree thesis. You can find more about me on LinkedIn.

     

    I see mention of Cloudsoft in your profile. Is that Duncan Johnson Watt's team up in Edinburgh?

     

    Andrei Savu wrote:

     

    What do you think about adding primitives for distributed coordination (as an extension of #170) to Byteman? I would love to work on implementing them.

     

    Well, you are in luck then because this is an open source community project. So, you are free to take the existing code and add whatever you want to it so long as you respect the existing open source license. Even better, I'll be very happy to discuss, review and support any design and implementation work you do on this forum as, perhaps, will other developers who want to see the JIRA implemented. You are also encouraged to contribute your additions back to the master repository for the project should you so wish. I'll be very happy to include them if  they do the job adequately. Thank you for offering to improve Byteman.

     

    By the way, issue 170 refers to a previous discussion about implementing distributed helper support which you probably ought to read (if you have not already done so)

     

    If you want to contribute your code then you will need to do two things before I can accept it:

     

    Firstly, you will need to license and publish your changes using the same license as the project i.e. the LGPL. You can see how to license your code by inspecting  the header of all existing project files (also look at the copyright file in the docs subdirectory). If you modify any existing files then just add yourself to the authors list and, where needed, update the copyright line to include the current year. For new files ensure you add a copyright header with your name as an author and the current year in the copyright line.

     

    The easiest way to publish your additions will be to clone the master repo at github and then push your changes up to the cloned repo. That also allows me to pull your changes into my repo or the master repo. If you don't want to use git or github then we can always discuss other ways to share the code.

     

    Secondly, you will need to sign an individual JBoss contributors agreement (or, perhaps, a corporate one if you are doing this work on behalf of Cloudsoft). Basically, this affirms that the code you have produced is your own work and is not encumbered by undeclared copyrights or by any  patents you own i.e. it ensures Red Hat (and, therefore, everyone) can continue to use the code without any legal hindrance. Note that it does not take away any of your rights to use the code. You don't need to sign this agreement in order to copy and modify Byteman but I cannot pull your contribution into the master repo without it.

  • 2. Re: Add distributed coordination capabilities
    Andrei Savu Newbie

    I see mention of Cloudsoft in your profile. Is that Duncan Johnson Watt's team up in Edinburgh?

     

    Yes.

     

    By the way, issue 170 refers to a previous discussion about implementing distributed helper support which you probably ought to read (if you have not already done so)

     

    Interesting discussion. I am thinking about something that would leverage Apache ZooKeeper for distributed synchronization.

     

    Secondly, you will need to sign an individual JBoss contributors agreement (or, perhaps, a corporate one if you are doing this work on behalf of Cloudsoft).

     

    We should be able to easily sort this out.

     

    I will go ahead and create a JIRA for this and fork the project. Thanks for the fast response!

  • 4. Re: Add distributed coordination capabilities
    Andrew Dinn Master

    Hi Andrei

    Andrei Savu wrote:

     

    This is the related JIRA https://issues.jboss.org/browse/BYTEMAN-191

     

    Excellent. Welcome to the project.