You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Ioan Eugen Stan (Created) (JIRA)" <se...@james.apache.org> on 2012/03/01 12:47:59 UTC

[jira] [Created] (JAMES-1388) Implement distribuited mailbox locking using zookeeper

Implement distribuited mailbox locking using zookeeper
------------------------------------------------------

                 Key: JAMES-1388
                 URL: https://issues.apache.org/jira/browse/JAMES-1388
             Project: JAMES Server
          Issue Type: Sub-task
          Components: James Core, MailStore & MailRepository
    Affects Versions: Trunk
            Reporter: Ioan Eugen Stan
             Fix For: Trunk


We can implement a mailbox locking functionality using zookepper. This fits well with hbase mailbox since zookeeper is a must for running an HBase/hadoop cluster. 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Commented] (JAMES-1388) Implement distribuited mailbox locking using zookeeper

Posted by "Eric Charles (Commented) (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219983#comment-13219983 ] 

Eric Charles commented on JAMES-1388:
-------------------------------------

Hi Ioan,

The mailbox locker are pluggable with MailboxPathLocker.

In case of the hbase mailbox, there should be no requirement to use the zookeeper locking mecanism, cause we could simply use the provided HBase RowLock.
All these lockers should be injected via spring, so abstraction will be welcome to allow to compose the mailbox of your choice (for example hbase with hbaserowlock or hbase with zookeeper lock, or hadoop with zookeeper lock,...)

                
> Implement distribuited mailbox locking using zookeeper
> ------------------------------------------------------
>
>                 Key: JAMES-1388
>                 URL: https://issues.apache.org/jira/browse/JAMES-1388
>             Project: JAMES Server
>          Issue Type: Sub-task
>          Components: James Core, MailStore & MailRepository
>    Affects Versions: Trunk
>            Reporter: Ioan Eugen Stan
>             Fix For: Trunk
>
>
> We can implement a mailbox locking functionality using zookepper. This fits well with hbase mailbox since zookeeper is a must for running an HBase/hadoop cluster. 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Commented] (JAMES-1388) Implement distribuited mailbox locking using zookeeper

Posted by "Ioan Eugen Stan (Commented) (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220051#comment-13220051 ] 

Ioan Eugen Stan commented on JAMES-1388:
----------------------------------------

Thanks for the insight. I agree with you. 

I favor a Zookeeper locking because it is more general (does not depend on HBase) and can be used with other mailstore implementations in the case or running more instances of James. 

                
> Implement distribuited mailbox locking using zookeeper
> ------------------------------------------------------
>
>                 Key: JAMES-1388
>                 URL: https://issues.apache.org/jira/browse/JAMES-1388
>             Project: JAMES Server
>          Issue Type: Sub-task
>          Components: James Core, MailStore & MailRepository
>    Affects Versions: Trunk
>            Reporter: Ioan Eugen Stan
>             Fix For: Trunk
>
>
> We can implement a mailbox locking functionality using zookepper. This fits well with hbase mailbox since zookeeper is a must for running an HBase/hadoop cluster. 

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org