I took a spin of it for the multi functionality on a custom test I built,
which resembles the usecase HBase-2611 provides: Atomically "move"
some znodes for /A to /B. The crux of the test is:

a) Create N callables which list the znodes under /A and create move
operations (Create Op and a Delete Op) for those znodes to move them into
their corresponding directories (such as /B1, /B2, ... /Bn, etc). In some
of these commands, insert a spurious command (wrong ACLs, etc) so that it
fails in between.
Manage their execution so that they all start at the same time.
b) Submit those callables in a threadpool (and open the latch to begin the
race).

In the end, only one thread should be able to do the move into its
directory.

I tested it about 10 times and it works good.

Using it in HBase-2611 involves some changes to the uploaded patch (and
testing on a real cluster), it may take some time (early next week or so).
But since the crux of 2611 is basically the above test, I am +1 (a
non-binding vote).

Thanks,
Himanshu


On Mon, Sep 17, 2012 at 11:41 AM, Mahadev Konar <maha...@hortonworks.com>wrote:

> Thanks to Rakesh R for quick responses. We have an RC out. Gregory, if
> you can give this is a try would be really great!
>
> http://people.apache.org/~mahadev/zookeeper-3.4.4-candidate-0/
>
> thanks
> mahadev
>
> On Sun, Sep 16, 2012 at 11:10 PM, Mahadev Konar <maha...@hortonworks.com>
> wrote:
> > Hi Gregory/others,
> >  Unfortunately we have one last patch to go: ZOOKEEPER-1496 which I
> > think is a critical fix for 3.4 branch. Once thats in 3.4
> > branch/trunk, Ill send out the RC out for the vote. Most likely this
> > should happen in the next day or 2.
> >
> > Thanks for waiting.
> > mahadev
> >
> >
> > On Fri, Sep 14, 2012 at 12:22 AM, Mahadev Konar <maha...@hortonworks.com>
> wrote:
> >> Hi Gregory,
> >>  There are 4-5 jiras to review. I should be able to get an RC out this
> >> weekend. Feedback on the RC would be great.
> >>
> >> thanks
> >> mahadev
> >>
> >> On Thu, Sep 13, 2012 at 1:21 PM, Gregory Chanan <gcha...@cloudera.com>
> wrote:
> >>> Hi Mahadev,
> >>>
> >>> Any status update/current ETA on the 3.4.4 release?
> >>> Several HBase folks are eagerly anticipating a 3.4 "stable" release.
>  I'm
> >>> currently working on improving an HBase compatibility issue that would
> be
> >>> well served by this release.
> >>>
> >>> Thanks,
> >>> Greg
>

Reply via email to