accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3390) Allow MiniAccumuloCluster to start Monitor.
Date Wed, 17 Dec 2014 03:36:13 GMT

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

David Medinets commented on ACCUMULO-3390:
------------------------------------------

I've found that it is extremely easy to start the Monitor thread alongside the MAC. Here is
the code:

{noformat}
MiniAccumuloConfigImpl miniAccumuloConfig = new MiniAccumuloConfigImpl(new File("/accumulo"),
"password");
miniAccumuloConfig.setProperty(Property.MONITOR_PORT, "20001");

MiniAccumuloClusterImpl accumulo = new MiniAccumuloClusterImpl(miniAccumuloConfig);
accumulo.start();
accumulo.exec(Monitor.class);
{noformat}

My compliments to the designers of the MAC! The MiniAccumuloConfig works very well.

> Allow MiniAccumuloCluster to start Monitor.
> -------------------------------------------
>
>                 Key: ACCUMULO-3390
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3390
>             Project: Accumulo
>          Issue Type: Improvement
>    Affects Versions: 1.6.1
>            Reporter: David Medinets
>            Priority: Minor
>              Labels: newbie
>
> The MiniAccumuloCluster class does not provide a way to get to the MiniAccumuloClusterImpl
object in order to start a Monitor thread. Perhaps just adding the following would be enough?
> {noformat}
> public void startMonitor() {
>     impl..exec(Monitor.class);
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message