is the rest API new within the past couple months?
for some reason when I send a GET request to the paths given in the
examples, I get a 404.
just to be clear, am I using the api correctly?

If I send a GET request to
http://nimbus-ui-host:8080/api/v1/cluster/configuration (via ajax or some
other method) I should have returned to me a json blob containing
{"dev.zookeeper.path": "/tmp/dev-storm-zookeeper",
"topology.tick.tuple.freq.secs": null,
"topology.builtin.metrics.bucket.size.secs": 60,
... }

is that correct ?

On Mon, Oct 6, 2014 at 2:38 PM, Parth Brahmbhatt <
[email protected]> wrote:

> You could use storm’s rest API
> <https://github.com/apache/storm/blob/master/STORM-UI-REST-API.md>. That
> is what the ui uses. Alternatively you can use storm’s nimbus client
> <https://github.com/apache/storm/blob/master/storm-core/src/jvm/backtype/storm/generated/Nimbus.java#L295>
>  or
> storm command line.
>
> Thanks
> Parth
> On Oct 6, 2014, at 2:27 PM, Raphael Hsieh <[email protected]> wrote:
>
> Worst case scenario, I could create a cron job that queries the UI and
> parses the tables to make sure everything is the same value, then if it's
> not, spoof a button click for the rebalance button.
>
>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.




-- 
Raphael Hsieh

Reply via email to