accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (ACCUMULO-1391) Create a MACConfig object to make tweaking the MAC easier
Date Fri, 25 Apr 2014 17:49:20 GMT

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

Christopher Tubbs reopened ACCUMULO-1391:
-----------------------------------------


> 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
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message