-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create 'fluo remove' command #991
Comments
I started to implement this doing the same thing the init -f does but without the init part. if (admin.applicationRunning()) {
System.err.println("Error - The Fluo '" + config.getApplicationName() + "' application"
+ " is already running and must be stopped before running 'fluo init'. "
+ " Aborted initialization.");
System.exit(-1);
} OR we could store the PID of the workers and oracle in a file like .[APP_NAME]woker01.pid, .[APP_NAME]worker02.pid, APP_NAME]_oracle01.pid.... and when a remove command it is called if a --force flag we could find and kill this processes too. And... If we have the PID files we could implement commands like: fluo worker -a myapp -k
fluo oracle -a myapp -k AND fluo worker -a myapp --kill
fluo oracle -a myapp --kill |
I think the first option is the best. You should check to see if the application is running and abort if it is. I was thinking the |
This issue is the same as #529 from what I can tell. |
Create 'fluo remove' command #991
Can we close this? Can we close #529? |
Closed by #999 |
After a Fluo application is initialized using
fluo init
, metadata exists for the application in Zookeeper. Currently, there is no way to remove this metadata without using the Zookeeper CLI It would be good to have afluo remove
command that removes this metadata.The text was updated successfully, but these errors were encountered: