Improve UI system error response and admin page

Description

As a user, I would like more information when I see "Unable to connect to CDAP..."

I would like to see a relevant message surfaced in the "Unable to connect" box if:

  • a service or multiple services are down

  • CDAP master is not running

  • CDAP router is not running

I'd like to be able to directly open the relevant logs (in a new tab).

If CDAP is starting/stopping/restarting, I want a different message than "Unable to connect." I want an indication that CDAP is starting/stopping/restarting. In this case, I do not want to be presented with the options to directly view logs or restart.

If I have exhausted the troubleshooting options above, I would like to see an option that will point me to contact my server administrator.

As a user, I would like the admin page to help me better diagnose system issues.

I would like the information about services to be displayed more intuitively and be able to access the logs more easily (see administration page mock).

As a user, when I open the logs from the UI, I would like a message to be displayed if no logs are available so I don't see a blank screen.

Logs that display as empty (no logs info displayed) should display the message "No logs available"

Release Notes

None

Attachments

7
  • 08 Aug 2017, 01:06 AM
  • 08 Aug 2017, 01:06 AM
  • 25 Jul 2017, 08:33 PM
  • 25 Jul 2017, 08:33 PM
  • 25 Jul 2017, 08:33 PM
  • 25 Jul 2017, 08:33 PM
  • 25 Jul 2017, 08:13 PM

Confluence content

mentioned on

Activity

Show:

Ajai Narayanan August 11, 2017 at 9:22 PM

This feature is partially implemented in the linked PR. The tradeoff we have today are,

1. If the entire backend goes down (master) there is nothing much UI can do. This is how UI operates at such conditions.

  • If /system/services end point fail, switch to querying individual service status

  • If individual service status fails then just mark everything as NOTOK.
    2. If the UI node server is down and the user lands in admin view from Old UI they will go to browser's native 404 page where they won't be seeing anything.

An improvement to this would be to have monitoring outside CDAP so that we can reliably report.

Ajai Narayanan July 28, 2017 at 10:11 PM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Affects versions

Components

Sprint

Fix versions

Priority

Created July 19, 2017 at 6:02 PM
Updated August 28, 2017 at 10:55 PM
Resolved August 11, 2017 at 9:22 PM