[
https://issues.apache.org/jira/browse/AMBARI-10293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388926#comment-14388926
]
Hadoop QA commented on AMBARI-10293:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12708446/AMBARI-10293.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/2193//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/2193//console
This message is automatically generated.
> Implement Actions Dropdown menu for the widgets on service summary page
> -----------------------------------------------------------------------
>
> Key: AMBARI-10293
> URL: https://issues.apache.org/jira/browse/AMBARI-10293
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Andrii Tkach
> Assignee: Andrii Tkach
> Fix For: 2.1.0
>
> Attachments: AMBARI-10293.patch
>
>
> Please use/create mock data to achieve this task.
> *API to get list of available widgets:*
> GET
> /api/v1/users/admin/widget_layouts/default_hbase_layout?excludedFromWidgetLayout=true
> {code}
> {
> "href":
> "http://c6401.ambari.apache.org:8080/api/v1/users/admin/widget_layouts/default_hbase_layout?
> excludedFromWidgetLayout=true",
> "items": [
> {
> "layout_name": "default_hbase_layout",
> "section_name": "HBASE_SUMMARY",
> "cluster_name": "c1",
> "widgetLayoutInfo": [
> {
> "widget_name": "RS_READS_WRITES",
> "WidgetInfo": {
> "widget_name": "RS_READS_WRITES",
> "display_name": "RegionServer Reads and Writes",
> "description": "This widget shows all the read requests and write
> requests on all regions for a RegionServer",
> "widget_type": "GRAPH",
> "metrics": [
> {
> "name": "regionserver.Server.Get_num_ops",
> "widget_id": "metrics/hbase/regionserver/Server/Get_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "regionserver.Server.Scan_num_ops",
> "widget_id": "metrics/hbase/regionserver/Server/Scan_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "regionserver.Server.Append_num_ops",
> "widget_id":
> "metrics/hbase/regionserver/Server/Append_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "regionserver.Server.Delete_num_ops",
> "widget_id":
> "metrics/hbase/regionserver/Server/Delete_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "regionserver.Server.Increment_num_ops",
> "widget_id":
> "metrics/hbase/regionserver/Server/Increment_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "regionserver.Server.Mutate_num_ops",
> "widget_id":
> "metrics/hbase/regionserver/Server/Mutate_num_ops",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> }
> ],
> "values": [
> {
> "name": "Read Requests",
> "value": "${regionserver.Server.Get_num_ops +
> regionserver.Server.Scan_num_ops}"
> },
> {
> "name": "Write Requests",
> "value": "${regionserver.Server.Append_num_ops +
> regionserver.Server.Delete_num_ops +
> regionserver.Server.Increment_num_ops +
> regionserver.Server.Mutate_num_ops}"
> }
> ],
> "properties": {
> "display_unit": "Requests",
> "graph_type": "LINE",
> "time_range": "1 week"
> }
> }
> },
> {
> "widget_name": "RS_READS_WRITES",
> "WidgetInfo": {
> "widget_name": "ACTIVE_HANDLER",
> "display_name": "Active Handlers vs Calls in General Queue",
> "widget_type": "GRAPH",
> "metrics": [
> {
> "name": "ipc.IPC.numOpenConnections",
> "widget_id": "metrics/hbase/ipc/IPC/numOpenConnections",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> },
> {
> "name": "ipc.IPC.numCallsInGeneralQueue",
> "widget_id": "metrics/hbase/ipc/IPC/numOpenConnections",
> "category": "",
> "service_name": "HBASE",
> "component_name": "HBASE_REGIONSERVER"
> }
> ],
> "values": [
> {
> "name": "Active Handlers",
> "value": "${ipc.IPC.numActiveHandler}"
> },
> {
> "name": "Calls in General Queue",
> "value": "${ipc.IPC.numCallsInGeneralQueue}"
> }
> ],
> "properties": {
> "graph_type": "LINE",
> "time_range": "1 hour"
> }
> }
> }]
> }]
> }
> {code}
> *API to delete a widget from list of available widgets:*
> DELETE /api/v1/users/jaimin/widgets/$\{widget_name\}
> NOTE: Stack defined widgets are not deletable. warn if the user tries to
> delete stack defined widgets
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)