Its part of 0.9.2 release. -Harsha
On Mon, Oct 6, 2014, at 03:22 PM, Raphael Hsieh wrote: 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 [1]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 <[2][email protected]> wrote: You could use storm’s rest [3]API. That is what the ui uses. Alternatively you can use storm’s nimbus [4]client or storm command line. Thanks Parth On Oct 6, 2014, at 2:27 PM, Raphael Hsieh <[5][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 References 1. http://nimbus-ui-host:8080/api/v1/cluster/configuration 2. mailto:[email protected] 3. https://github.com/apache/storm/blob/master/STORM-UI-REST-API.md 4. https://github.com/apache/storm/blob/master/storm-core/src/jvm/backtype/storm/generated/Nimbus.java#L295 5. mailto:[email protected]
