accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3005) Convert the monitor into a real REST server
Date Wed, 03 Dec 2014 01:06:12 GMT


Josh Elser commented on ACCUMULO-3005:

Thanks for the information -- I'm still fumbling blindly through a forest of possibilities.

bq. I just don't know that we need multiple modules for the monitor right now to support that

What kind of module? Maven module? Assuming that's what you mean -- I think we would want
two: one that produces a jar (and is designed to run an embedded server using the normal Accumulo
classpath) and then one that makes a war (designed to be more self-contained, sans maybe Hadoop
deps?). IIRC, Maven doesn't really like creating more than one artifact per module, so I'm
not sure how to get around that one. Not to mention, I don't know what would be standard to
include in the war to, say, deploy it "easily" to a Tomcat or JBoss instance. :)

> Convert the monitor into a real REST server
> -------------------------------------------
>                 Key: ACCUMULO-3005
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: monitor
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.7.0
>         Attachments: 0001-ACCUMULO-3005-Initial-round-of-changes-for-a-proper-.patch
> The monitor works well for what it does, but it's very much so cobbled together. HTML
is hand generated. Static state is used liberally which makes testing near impossible. View
and controller logic are tightly intertwined which also adds to the testability problem.
> I've been working on porting the functionality from the existing monitor to a proper
rest service using [dropwizard|]. It's not completely
functional yet, but it has a number of improvements of the existing monitor code.
> I thought I would post what I have already and let people give some feedback if they're
interested. Help is always welcome.

This message was sent by Atlassian JIRA

View raw message