cluster management#298
Conversation
There was a problem hiding this comment.
Encoding statement, copyright...
|
Pretty cool. It would be nice if we could pass in the number of engines to I get a little bit of weird output with |
|
Any reason not to add This is probably more flexible than the Makefile already though (except for dump), so most of the above is gravy. |
|
@bgrant okay I think I got all that. There are no unittests for this so you might want to fetch it and try it out again. |
|
Oops, I unkowingly included a Py3 feature. The future is now! |
There was a problem hiding this comment.
"This has a few leaks" -- what do you mean?
There was a problem hiding this comment.
It leaks keys, I'll make it more specific.
|
For simplicity, let's merge the |
There was a problem hiding this comment.
Cool. It would be nice if it said something like, "for details on a subcommand, try dacluster <subcommand> --help.
|
Another "would be nice". It would be nice if it printed out a nicer error for bad subcommands. |
|
@cowlicks For now, I think encapsulating all of this in one module makes sense. Everything is related to managing the clusters and engine namespaces, so they're related. We have no usecase for separating out the |
|
@kwmsmith done. |
|
@cowlicks this is nice -- the only downside is that I don't have tab completion with the makefile anymore, though, but I think I can live with that... |
This moves the entry point of cluster management from the
Makefiletodacluster. When distarray is installed it should be available. Working commands arestart,stop,clearandpurge.For example you can now run:
from anywhere, not just in the
Makefiledirectory.