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

Plamen Jeliazkov updated HADOOP-10641:
--------------------------------------

    Attachment: HADOOP-10641.patch

Attaching new patch.

Here's the major updates.

# Added ZK implementation interfaces to make Agreement handling clearer.
# ZKCoordinationEngine takes a collection of ZKAgreementHandlers. It is the job 
of the Handlers to type cast the Agreements. The pre-requisite to the type cast 
is that ZKAgreementHandler.handles(Agreement) must return true for that very 
Agreement. 
# ZKCoordinationEngine executes each Agreement amongst all the 
ZKAgreementHandlers. Look at ZKCoordinationEngine.executeAllHandlers().
# SampleHandler sets the GlobalSequenceNumber of the SampleProposal before 
executing it.

> Introduce Coordination Engine interface
> ---------------------------------------
>
>                 Key: HADOOP-10641
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10641
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 3.0.0
>            Reporter: Konstantin Shvachko
>            Assignee: Plamen Jeliazkov
>         Attachments: HADOOP-10641.patch, HADOOP-10641.patch, 
> HADOOP-10641.patch, HADOOP-10641.patch, HADOOP-10641.patch, 
> NNThroughputBenchmark Results.pdf, ce-tla.zip, hadoop-coordination.patch, 
> zkbench.pdf
>
>
> Coordination Engine (CE) is a system, which allows to agree on a sequence of 
> events in a distributed system. In order to be reliable CE should be 
> distributed by itself.
> Coordination Engine can be based on different algorithms (paxos, raft, 2PC, 
> zab) and have different implementations, depending on use cases, reliability, 
> availability, and performance requirements.
> CE should have a common API, so that it could serve as a pluggable component 
> in different projects. The immediate beneficiaries are HDFS (HDFS-6469) and 
> HBase (HBASE-10909).
> First implementation is proposed to be based on ZooKeeper.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to