1.1. Scanning System Metrics

 View Metrics that indicate the operating status of your cluster on a customizable mashup. Each metrics widget displays status information for a single service in your HDP cluster. The Ambari dashboard displays all metrics for the HDFS, YARN, HBase, and Storm services, and cluster-wide metrics by default.

[Note]Note

Metrics data for Storm is buffered and sent as a batch to Ambari every 5 minutes. Anticipate a five-minute delay for appearance of Storm metrics after adding the Storm service.

You can add and remove individual widgets, and rearrange the mashup by dragging and dropping each widget to a new location in the mashup.

Status information appears as simple pie and bar charts, more complex charts showing usage and load, sets of links to additional data sources, and values for operating parameters such as uptime and average RPC queue wait times. Most widgets displays a single fact by default. For example, HDFS Disk Usage displays a load chart and a percentage figure. The Ambari Dashboard includes metrics for the following services:

 

Table 2.1. Ambari Service Metrics and Descriptions

Metric: Description:
HDFS 
HDFS Disk Usage

The Percentage of DFS used, which is a combination of DFS and non-DFS used.

Data Nodes Live

The number of DataNodes live, as reported from the NameNode.

NameNode Heap

The percentage of NameNode JVM Heap used.

NameNode RPC

The average RPC queue latency.

NameNode CPU WIO

The percentage of CPU Wait I/O.

NameNode Uptime

The NameNode uptime calculation.

YARN[a] 
ResourceManager Heap

The percentage of ResourceManager JVM Heap used.

ResourceManager Uptime

The ResourceManager uptime calculation.

NodeManagers Live

The number of DataNodes live, as reported from the ResourceManager.

YARN Memory

The percentage of available YARN memory (used vs. total available).

HBase 
HBase Master Heap

The percentage of NameNode JVM Heap used.

HBase Ave Load

The average load on the HBase server.

HBase Master Uptime

The HBase Master uptime calculation.

Region in Transition

The number of HBase regions in transition.

Storm[b] 
Supervisors Live

The number of Supervisors live, as reported from the Nimbus server.

MapReduce[c] 
JobTracker Heap

The percentage of JobTracker JVM Heap used.

TaskTrackers Live

The number of TaskTrackers live, as reported from the JobTracker.

[a] HDP 2.0 and 2.1 Stacks

[b] HDP 2.1 Stack

[c] HDP 1.3 Stack


 1.1.1. Drilling Into Metrics for a Service

  • To see more detailed information about a service, hover your cursor over a Metrics widget.

    More detailed information about the service displays, as shown in the following example:

  • To remove a widget from the mashup, click the white X.

  • To edit the display of information in a widget, click the pencil icon. For more information about editing a widget, see Customizing Metrics Display .

 1.1.2. Viewing Cluster-Wide Metrics

Cluster Metrics display information that represents your whole cluster. The Ambari Dashboard includes widgets that display the following cluster-wide metrics:

 

Table 2.2. Ambari Cluster-Wide Metrics and Descriptions

Metric: Description:
Memory Usage

The cluster-wide memory utilization, including memory cached, swapped, used, shared.

Network Usage

The cluster-wide network utilization, including in-and-out.

CPU Usage

Cluster-wide CPU information, including system, user and wait IO.

Cluster Load

Cluster-wide Load information, including total number of nodes. total number of CPUs, number of running processes and 1-min Load.


  • To remove a widget from the dashboard, click the white X.

  • Hover your cursor over each cluster-wide metric to magnify the chart or itemize the widget display.

  • To remove or add metric items from each cluster-wide metric widget, select the item on the widget legend.

  • To see a larger view of the chart, select the magnifying glass icon.

    Ambari displays a larger version of the widget in a pop-out window, as shown in the following example:

Use the pop-up window in the same ways that you use cluster-wide metric widgets on the dashboard.

To close the widget pop-up window, choose OK.

 1.1.3. Adding a Widget to the Dashboard

To replace a widget that has been removed from the dashboard:

  1. Select the Metrics drop-down, as shown in the following example:

  2. Choose Add+.

  3. Select a metric, such as Region in Transition.

  4. Choose Apply.

 1.1.4. Resetting the Dashboard

To reset all widgets on the dashboard to display default settings:

  1. Select the Metrics drop-down, as shown in the following example:

  2. Choose Edit.

  3. Choose Reset all widgets to default.

 1.1.5. Viewing Metrics in Ganglia

To view metrics for your cluster using the Ganglia UI:

  1. Select the Metrics drop-down:

  2. Choose Edit.

  3. Choose View Metrics in Ganglia.

 1.1.6. Customizing Metrics Display

To customize the way a service widget displays metrics information:

  1. Hover your cursor over a service widget.

  2. Select the pencil-shaped, edit icon that appears in the upper-right corner.

    The Customize Widget pop-up window displays properties that you can edit, as shown in the following example.

  3. Follow the instructions in the Customize Widget pop-up to customize widget appearance.

    In this example, you can adjust the thresholds at which the HDFS Capacity bar chart changes color, from green to orange to red.

  4. To save your changes and close the editor, choose Apply.

  5. To close the editor without saving any changes, choose Cancel.

[Note]Note

Not all widgets support editing.

 1.1.7. Viewing More Metrics for your HDP Stack

 The HDFS Links and HBase Links widgets list HDP components for which links to more metrics information, such as thread stacks, logs and native component UIs are available. For example, you can link to NameNode, Secondary NameNode, and DataNode components for HDFS, using the links shown in the following example:

Choose the More drop-down to select from the list of links available for each service. The Ambari Dashboard includes More links to metrics for the following services:

 

Table 2.3. Links to More Metrics for HDP Services

Service: Metric: Description:
HDFS   
  NameNode UI

Links to the NameNode UI.

  NameNode Logs

Links to the NameNode logs.

  NameNode JMX

Links to the NameNode JMX servlet.

  Thread Stacks

Links to the NameNode thread stack traces.

HBase  
  HBase Master UI

Links to the HBase Master UI.

  HBase Logs

Links to the HBase logs.

  ZooKeeper Info

Links to ZooKeeper information.

  HBase Master JPX

Links to the HBase Master JMX servlet.

  Debug Dump

Links to debug information.

  Thread Stacks

Links to the HBase Master thread stack traces.



loading table of contents...