accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey J. Nolet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1391) Create a MACConfig object to make tweaking the MAC easier
Date Wed, 08 May 2013 14:15:17 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651922#comment-13651922
] 

Corey J. Nolet commented on ACCUMULO-1391:
------------------------------------------

I was wondering if it was different. On that same note... it would be really neat to nicer
builder-style methods (like mac.getConnector()), etc to make the API much easier to work with.
                
> Create a MACConfig object to make tweaking the MAC easier
> ---------------------------------------------------------
>
>                 Key: ACCUMULO-1391
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1391
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> I would like to configure MiniAccumuloCluster with a configuration class.  Something
like:
> {noformat}
>   MACConfig cfg = new MACConfig();
>   cfg.tservers(1);
>   cfg.tracers(1);
>   cfg.config(TSERV_MAXMEM, "1G");
>   MiniAccumuloCluster mac = cfg.create();
>   Connector c = mac.getConnector();
>   c.createtable("foo");
>   mac.getTServers().get(0).stop();
>   mac.createTServer();
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message