Skip to main content

Home

Queue Analysis Report

Queue analysis report provides a complete overview of resources utilized by a specific queue. You can generate the report for a single queue, multiple queues, and custom regex, which considers only a particular queue that matches the regex. It is relevant to users who want additional min/max, memory/vcores metrics in the analysis.

  1. Click Generate Reports > New button.

  2. In the New Report dialog box, enter the following details.

    Items

    Description

    General

    Name

    Name of the report.

    Environment

    Select your platform. The reports corresponding to the selected platform are only listed in the Report type. If you select the All option, all the reports are listed.

    Report type

    Type of report. Select Interesting App reports.

    Schedule

    Select the checkbox to schedule the report. From the EXAMPLE dropdown, you can select an option (daily, hourly, 12 hourly weekly, or monthly) to schedule the report run.

    Retention

    The number of days to retain the report files. All the reports are stored in the unity-one/src/assets/reports/jobs directory. After completion of the retention period, the report files are automatically purged.

    Parameters

    Look Back

    The period range in days when applications can be selected for report generation. There is a notification displayed above this option that informs about the duration when data is available for the report.

    Use Exact Date-Time

    Check this option and select the from and to dates to schedule the report for the exact time range specified. The only anomaly with this option is that the same report will be scheduled to be generated repeatedly.

    Queues

    Queue regex. The regex usage is as follows:

    • root.* considers every queue

    • root.data.* considers all the queues that start with root.data

    • If * is not provided, for example, root.data then the analysis is available for only root.data

    • If you want to generate for only a specific number of queues, you can give comma-separated queues, for example, root.data, root.science

    Cluster

    Select a cluster.

    Resource scheduler address

    URL to YARN resource scheduler. For example: http://sd11.unraveldata.com:8088

    To get the URL, do the following:

    1. Open RM and click Yarn.

    2. In the web UI drop down, select Resource manager web ui.

    Resource Scheduler Config File Path

    Specify the path to the queue-config.json file in case Unity One app is unable to reach the YARN resource scheduler

    Notifications

    Email to

    Email ID to send the notification when the report is generated. You can specify multiple email IDs with comma separation. You can also select the Attach Files to Email checkbox to receive the reports as an attachment.

    Advance Options

    Profile Memory

    Select this option if you want to generate logs that help to troubleshoot scenarios where the report takes excessive time to generate or fails to generate.

    Caution

    The option will increase the report run time excessively.

  3. Click OK. The generated reports will be listed under Reports on the App UI.

  4. Select the generated report and then click Run. After the report is successfully run, the details of the report runs are listed in the Run box on the right.

  5. Click the following:

    • HTML files link to view the report details.

    • Input parameters link to view the parameters you chose to run the report.

    • Log file link to view the logs of the report.

The following reports are part of the Queue Analysis report:

  • Memory Tabular report and graph

    This report contains the average memory values across the metrics and also a hyperlink to view the queue analysis metrics graph.

    unity-queue-anal-memory.png
    unity-queue-anal-memory1.png
  • Vcore Tabular report and graph

    This report contains the average vcores values across the metrics and a hyperlink to view the queue analysis metrics graph.

    unity-queue-anal-vcore.png
    unity-queue-anal-vcore1.png
Viewing metrics and insights
  1. Open the report and click any app link from the Signature column.

    The Metrics tab displays the trend charts for the Duration, IO, MemorySeconds, and CPU metrics. The dots plotted on the trend charts are the app runs. The app info is provided in the right panel.

  2. You can select any of the following features to view the metric trends:

    • status

    • cluster id

    • cluster UID

  3. Click any dot on any of the Metric trend charts. This becomes the app target run. The details of the app target run appear in the App Run info panel on the right.

  4. In the App Run info panel, click the ID link. This is the ID link of the app target run. The Metric tab is shown with the app target run you have chosen in a different color. The details of the app target run are displayed in the App Target Run panel on the right. Click the View in Unravel link to view the app's details in Unravel.

    targetapprun-highlighted.png
  5. Select any dot (other than the dot for the app target run) on any of the Metric trend charts. This becomes the app baseline run. This is highlighted in a different color. The details of the app target run are displayed in the App Baseline Run panel on the right. Click the View in Unravel link to view the app's details in Unravel.

    baseapprun-highlighted.png
  6. In the App Baseline Run panel, click Compare.

    1. Select an app from the App Type options:

      • Hive on Tez

      • Spark

      • Impala

    2. From the Cluster, select a cluster.

    3. Specify the app runs that you want to compare.

      • Baseline App Run: Specify the ID of the baseline app.

      • Target App Run: Specify the ID of the target app with which you want to compare the baseline app.

    4. Click Compare. The following app details are given for the baseline and target app run:

      • App details

      • Cluster resource usage when these apps were running

      • App statistics comparison details

      • App config comparison details

      • Query string comparison details

      • Query plan comparison details

      unity-app-app-comparator-results.png
  7. In the App Baseline Run panel, click Refresh Insights. The insights are provided in the following sections.

    • Baseline comparison

      The results of the comparison are displayed.

    • Concurrent heavy hitter apps

      This section will show up only when the information is available.

      Select this option to view the top five applications in a specific category.

      1. Click the Concurrent heavy hitter apps option.

      2. Select any option from the Top-5 Applications option.

        troubleshooting-tuning-concurrent-heavy-hitter.png

        The corresponding details are displayed.

        troubleshooting-tuning-concurrent-heavy-hitter1.png