Unable to stop running service from UI or REST API

Description

If I start a service via the REST API it will sometimes show up in the UI as being in an inconsistent state. In the attached screenshots you can see the service has a status of running, but the start button is present instead of the stop button. From the Applications / Programs tab it shows the status of the service as stopped. The service is in fact responsive and I can invoke methods using curl or the UI. I can see the service running in the YARN resource manager, but it cannot be stop from the UI. If I use the REST API to retrieve the status of the service it shows up as STOPPED and we are not able to stop the service from the REST API.

Release Notes

None

Attachments

4

Activity

Show:

Leonid FedotovMarch 17, 2017 at 10:57 PM

It happens again on 3.5.4.
Screenshot attached.

Comment from customer:
The HelloWorld app was started, then Set provisioned clicked to 1 right after clicking Start button, app is then in Running status, however there is no Stop button. Refreshing a few time does not resolve the issue. Click the start button a few times just start new instance of the application in YARN.

Priyanka NambiarJuly 27, 2016 at 9:31 PM

hey we have tried reproducing the issue. We won't be able to fix the issue until we know how it happens. I'm closing this issue for now, please reopen if you ever understand the symptoms and steps to reproduce.

Jeff DixJune 30, 2016 at 3:12 AM

Yes, we still see this issue but I do not know how to reproduce. I think it is similar to https://issues.cask.co/browse/CDAP-6311 except the program is not failing.

Priyanka NambiarJune 29, 2016 at 1:31 AM

assigning this back to you for now, please let me know if you're still seeing this issue in the UI?

Jeff DixJune 23, 2016 at 7:12 PM

Hi Ali, this was a while back so I don't have any more details. I think I see this the most after a restart of CDAP if a service is running, but I cannot say that for sure. I will try to reproduce this again and share any results.

Won't Fix
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Priority

Created April 27, 2016 at 3:55 PM
Updated August 2, 2018 at 4:02 PM
Resolved August 2, 2018 at 4:02 PM