Create YARN Chargeback Report
Create a chargeback report to calculate compute and memory costs for YARN applications using the configured cost rates.
Navigation
- In the Pulse UI, go to Analytics.
- Select Chargeback.
The YARN Reports page opens by default if you have access to Chargeback > YARN.
Info
Access to chargeback reports is determined by the permissions configured on the Roles page. For details, see Roles.

View existing reports
Use the following filters to locate reports:
- Time Period: View reports created within the selected time range.
- Search: Search for reports using one or more filters.
- Refresh: Refresh the report data.
- Download: Export the selected report.
The Reports section displays the following information:
- Name: The name of the report. A Default badge identifies the report currently used for estimated cost calculations.
- Groups: The attributes used to group the report, such as application type, user, final status, queue, etc.
- Last Modified: The date and time the report was last modified.
- Created At: The date and time the report was created.
- Created By: The user who created the report.

- Actions: Select the Actions (⋮) menu to perform one of the following operations:
- Edit: Modify the report configuration.
- Duplicate: Create a copy of the report.
- Send as mail: Send the report by email.
- Set as default: Set the report as the default report for the selected component.
- Remove from defaults: Remove the report from the default reports. This option is available only after the report is set as the default.
- Delete: Permanently delete the report.
Select a Report
Select a report to view its chargeback summary.

The report summary displays the following information:
- Total Cost: The total resource cost for the selected time period.
- Memory Cost: The memory cost calculated using the configured memory cost per hour.
- Compute Cost: The compute cost calculated using the configured compute cost per hour.
- Applications: The total number of applications included in the report.
- Top Consumer: The group or item that incurred the highest resource cost during the selected time period.
The report breakdown displays the following information:
- Group / Item: The groups or items included in the report, based on the selected grouping criteria. Click the Group / Item to check the details in the Application Explorer page.
- Memory GB-Hr: The total memory usage, measured in gigabyte-hours, for each group or item.
- vCore-Hr: The total compute usage, measured in vCore-hours, for each group or item.
- Memory Cost: The calculated cost of memory usage for each group or item.
- Compute Cost: The calculated cost of compute usage for each group or item.
- Total Cost: The combined memory and compute costs for each group or item.
- Apps: The number of applications in each group or item.
Use Expand all or Collapse all to expand or collapse the grouped report details.
Set a Default Report
You can designate one report as the default for YARN.
Grant Permission to Set a Default Cost Report
By default, administrators have permission to set a cost report as the default report.
To grant this permission to other users, administrators must enable the Set Default Cost permission for the corresponding role.
To grant this permission:
- In the Pulse UI, go to Admin > Manage Accounts.
- To modify an existing role, click Edit for the corresponding role. The Edit Role page opens.
- To create a new role, click Create Role. The Create Role page opens.
- Scroll down and select the Set Default Cost permission.
- Click Save to apply the changes.

When you set a report as the default:

- The report is used to calculate the estimated cost for YARN applications.
- The report is identified by a Default badge next to its name in the Reports list.

- The Cost (est.) column is displayed on the Application Explorer page for the corresponding component and shows the estimated cost for each application.
Info
Costs are calculated only for queries, jobs, and applications executed after the cost settings are configured. If you change the default report on the Chargeback Report page, subsequent costs are calculated based on the settings of the new default report.

- The Cost (est.) values are calculated using the Compute Cost/Hr and Memory Cost/Hr configured in the default report.
- The Set as default option changes to Remove from defaults.
- Only one report can be set as the default for YARN and one report for Compute components (for example, Spark, Tez, etc.) per user at a time.
Info
The Cost (est.) column is available only for YARN and Compute components.
Create a Chargeback Report
You can create a chargeback report to estimate infrastructure costs based on resource usage and group the results by different application or workload attributes.
Navigation
- In the Pulse UI, go to Chargeback. The YARN page opens by default.
- Click Create Report.
- Configure the report.

Report Details
Provide the following information:
- Name – Enter a name for the report.
- Compute Cost/Hr – Enter the hourly compute cost used to calculate chargeback.
- Memory Cost/Hr – Enter the hourly memory cost used to calculate chargeback.
- Groups – Select how to group the report results.
You can group the report by attributes such as:
- Application Type
- User
- Final Status
- Queue
- Other supported application or workload attributes
The available Group By options are populated dynamically from the corresponding listing pages. For example:
- Uses the columns available on the YARN Applications (Analyze Application-Level Metrics) page.
- Uses the columns available for compute components, such as Spark (Spark Jobs), Tez (Tez Queries), MapReduce (MapReduce Queries), and other supported workloads.
Group By Permissions
The available Group By options depend on your role.
Info: You can select up to four metrics to group the results.
For administrators
The Groups drop-down list includes all metrics available on the corresponding listing pages, such as Applications Explorer, Spark Jobs, and Tez Queries. Metrics with no available data are not displayed in the drop-down list.
For non-admin users
An administrator must grant access to the required grouping fields.
To configure the permissions, see Roles.
The selected metrics become available in the Group By drop-down when users create chargeback reports for YARN.

Report scope
Choose who can access the report.
- Global: Makes the report available to all authenticated users. This is the default option.
- Private: Restricts access to the report creator. Only the creator can view or edit the report.
- Role: Makes the report available to users assigned to the selected role. After selecting Role:
- Can View: Select the role whose users can view the report from the Role drop-down list.
- Can Edit: Select the role whose users can edit the report from the Role drop-down list.

Preview and Save
- Select Preview to review the report configuration.
- Select Save.
The chargeback report is created and is available on the YARN Reports page.
Next steps
To display estimated costs for YARN applications in the Application Explorer, set the appropriate report as the default.
Pulse uses the configured Compute Cost/Hr and Memory Cost/Hr values from the default report to calculate and display the Cost (est.) values for each application.

Have a suggestion?