accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2128) Provide resource cleanup via static utility rather than Instance.close
Date Fri, 03 Jan 2014 03:48:50 GMT


Keith Turner commented on ACCUMULO-2128:

I created a non-reflection version of the utility.  Its in the following branch on github
which is based off 1.4.5-SNAPSHOT.   [~jaredwinick] I need to add your {{waitForZooKeeperClientThreads()}}
method in the CleanUp class I created.  I would like to get this in place before I proceed
with pushing to 1.4 and merging forward.   Can you create a patch that adds that method to
o.a.a.core.util.CleanUp in the following branch and attach it here?  That way the code will
be attributed to you and we can use it in Accumulo.

> Provide resource cleanup via static utility rather than Instance.close
> ----------------------------------------------------------------------
>                 Key: ACCUMULO-2128
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: Sean Busbey
>            Assignee: Keith Turner
>            Priority: Blocker
>             Fix For: 1.4.5, 1.5.1, 1.6.0
> After [discussion about the current state of our code base and the need to properly clean
up global resources|],
consensus is that we need to provide a work around for now that doesn't rely on API changes.
> Later, when we refactor the client api we'll include proper lifecycle management, for
now we just need a global utility for unloading.
> This ticket needs to revert all commits from the Instance close work: ACCUMULO-1379,
> Also ACCUMULO-1923 can be closed as wontfix with a link here.
> Then we need a version of the solution outlined in ACCUMULO-2113 that does not rely on
reflection, if possible.

This message was sent by Atlassian JIRA

View raw message