YARN_SUMMARY.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "href" : "http://c6401.ambari.apache.org:8080/api/v1/users/admin/activeWidgetLayouts?WidgetLayoutInfo/section_name=YARN_SUMMARY",
  3. "items" : [
  4. {
  5. "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widget_layouts/10",
  6. "WidgetLayoutInfo" : {
  7. "cluster_name" : "c1",
  8. "display_name" : "Standard YARN Dashboard",
  9. "id" : 10,
  10. "layout_name" : "admin_yarn_dashboard",
  11. "scope" : "USER",
  12. "section_name" : "YARN_SUMMARY",
  13. "user_name" : "admin",
  14. "widgets" : [
  15. {
  16. "WidgetInfo" : {
  17. "id" : 34,
  18. "metrics" : "[{\"name\":\"yarn.NodeManagerMetrics.AllocatedGB\",\"metric_path\":\"metrics/yarn/AllocatedGB\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"},{\"name\":\"proc_total\",\"metric_path\":\"metrics/process/proc_total\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"}]",
  19. "author" : "ambari",
  20. "description" : "",
  21. "scope" : "CLUSTER",
  22. "properties" : "{\"display_unit\":\"\",\"graph_type\":\"LINE\",\"time_range\":\"1\"}",
  23. "widget_name" : "NodeManager RAM Utilization",
  24. "widget_type" : "GRAPH",
  25. "time_created" : 1429906622523,
  26. "display_name" : "NodeManager RAM Utilization",
  27. "values" : "[{\"name\":\"Total Allocatable RAM Utilized across NodeManager\",\"value\":\"${yarn.NodeManagerMetrics.AllocatedGB}\"},{\"name\":\"NodeManager total processes\",\"value\":\"${proc_total}\"}]",
  28. "cluster_name" : "c1"
  29. }
  30. },
  31. {
  32. "WidgetInfo" : {
  33. "id" : 35,
  34. "metrics" : "[{\"name\":\"yarn.NodeManagerMetrics.AllocatedVCores\",\"metric_path\":\"metrics/yarn/AllocatedVCores\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"},{\"name\":\"cpu_idle\",\"metric_path\":\"metrics/cpu/cpu_idle\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"}]",
  35. "author" : "ambari",
  36. "description" : "",
  37. "scope" : "CLUSTER",
  38. "properties" : "{\"display_unit\":\"\",\"graph_type\":\"LINE\",\"time_range\":\"1\"}",
  39. "widget_name" : "NodeManager CPU Utilization",
  40. "widget_type" : "GRAPH",
  41. "time_created" : 1429906622523,
  42. "display_name" : "NodeManager CPU Utilization",
  43. "values" : "[{\"name\":\"Total Allocatable CPU Utilized across NodeManager\",\"value\":\"${yarn.NodeManagerMetrics.AllocatedVCores}\"},{\"name\":\"NodeManager CPU Idle\",\"value\":\"${cpu_idle}\"}]",
  44. "cluster_name" : "c1"
  45. }
  46. },
  47. {
  48. "WidgetInfo" : {
  49. "id" : 36,
  50. "metrics" : "[{\"name\":\"read_bytes\",\"metric_path\":\"metrics/disk/read_bytes\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"},{\"name\":\"write_bytes\",\"metric_path\":\"metrics/disk/write_bytes\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"},{\"name\":\"bytes_in\",\"metric_path\":\"metrics/network/bytes_in\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"},{\"name\":\"bytes_out\",\"metric_path\":\"metrics/network/bytes_out\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"}]",
  51. "author" : "ambari",
  52. "description" : "",
  53. "scope" : "CLUSTER",
  54. "properties" : "{\"display_unit\":\"\",\"graph_type\":\"LINE\",\"time_range\":\"1\"}",
  55. "widget_name" : "NodeManager Disk and Network Utilization",
  56. "widget_type" : "GRAPH",
  57. "time_created" : 1429906622523,
  58. "display_name" : "NodeManager Disk and Network Utilization",
  59. "values" : "[{\"name\":\"DISK IO\",\"value\":\"${read_bytes + write_bytes}\"},{\"name\":\"Network IO\",\"value\":\"${bytes_in + bytes_out}\"}]",
  60. "cluster_name" : "c1"
  61. }
  62. },
  63. {
  64. "WidgetInfo" : {
  65. "id" : 37,
  66. "metrics" : "[{\"name\":\"yarn.NodeManagerMetrics.ContainersFailed\",\"metric_path\":\"metrics/yarn/ContainersFailed\",\"service_name\":\"YARN\",\"component_name\":\"NODEMANAGER\"}]",
  67. "author" : "ambari",
  68. "description" : "",
  69. "scope" : "CLUSTER",
  70. "properties" : "{\"display_unit\":\"\",\"graph_type\":\"LINE\",\"time_range\":\"1\"}",
  71. "widget_name" : "NodeManager Container Failures",
  72. "widget_type" : "GRAPH",
  73. "time_created" : 1429906622523,
  74. "display_name" : "NodeManager Container Failures",
  75. "values" : "[{\"name\":\"NodeManager Container Failures\",\"value\":\"${yarn.NodeManagerMetrics.ContainersFailed}\"}]",
  76. "cluster_name" : "c1"
  77. }
  78. }
  79. ]
  80. }
  81. }
  82. ]
  83. }