You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/07/11 19:34:04 UTC
[jira] [Resolved] (ACCUMULO-2985) MAC doesn't stop cleanly in
1.6.1-SNAPSHOT
[ https://issues.apache.org/jira/browse/ACCUMULO-2985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved ACCUMULO-2985.
----------------------------------
Resolution: Fixed
Ensure that the ES is shutdown before {{stop()}} returns from MiniAccumuloCluster. Unit test ensures that the ES is in fact shutdown. If there is somehow pending actions (which should be impossible, afaict), they get logged at WARN.
> MAC doesn't stop cleanly in 1.6.1-SNAPSHOT
> ------------------------------------------
>
> Key: ACCUMULO-2985
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2985
> Project: Accumulo
> Issue Type: Bug
> Components: mini
> Reporter: John Vines
> Assignee: Josh Elser
> Priority: Blocker
> Fix For: 1.5.2, 1.6.1, 1.7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Using the following code to do some work-
> {code}public class TestMACWithRealInstance {
> public static void main(String args[]) throws IOException, AccumuloException, AccumuloSecurityException, TableExistsException, InterruptedException {
> MiniAccumuloConfig macConfig = new MiniAccumuloConfig(new File("/tmp/mac"), "secret");
> macConfig.setNumTservers(2);
> MiniAccumuloCluster mac = new MiniAccumuloCluster(macConfig);
> mac.start();
> mac.getConnector("root", "secret").tableOperations().create("macCreated");
> mac.stop();
> }
> }
> {code}
> It works fine against 1.6.0, but it seems broken against 01da4f4a8b14a125d3a2e29ef98dd044ab9ec75f after calling stop() it just sits in the terminal spewing messages about unable to connect to zookeeper
--
This message was sent by Atlassian JIRA
(v6.2#6252)