shanyu zhao created SLIDER-1087:
-----------------------------------

             Summary: Slider client command "destroy" should stop and delete 
the app
                 Key: SLIDER-1087
                 URL: https://issues.apache.org/jira/browse/SLIDER-1087
             Project: Slider
          Issue Type: Bug
          Components: client
    Affects Versions: Slider 0.90.2, Slider 0.81
            Reporter: shanyu zhao


Currently these are some Slider client commands:
- build: build app definitions in HDFS
- start: start yarn app
- stop: stop yarn app
- destroy: delete app definitions from HDFS
- create: build+start

The "destroy" command is confusing, if the app is running, you have to "stop" 
it before "destroy" it. Note that the antonym of "create" is "destroy".

I propose we replace command "destroy" with "delete", and use "destroy" to stop 
and delete app.
- delete: delete app definitions from HDFS
- destroy: stop + delete 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to