Help Center/ MapReduce Service/ User Guide/ MRS Cluster O&M/ Viewing Logs of an MRS Cluster/ Collecting MRS Cluster Service Stack Information
Updated on 2024-09-23 GMT+08:00

Collecting MRS Cluster Service Stack Information

On Manager, administrators can collect stack information of a specified role or instance and download it to a local directory to meet service needs.

The following information can be collected:

  1. jstack information.
  2. jmap -histo information.
  3. jmap -dump information.
  4. Thr jstack and jmap-histo information can be collected continuously for comparison.

    The operations described in this section only apply to MRS 3.x or later.

Collecting Stack Information

  1. Log in to FusionInsight Manager.
  2. Choose Cluster > Services > Name of the service whose stack information is to be collected.
  3. On the displayed page, Choose More > Collect Stack Information.

    • To collect stack information of multiple instances, go to the instance list, select the desired instances in the instance list and choose More > Collect Stack Information.
    • To collect stack information of a single instance, click the desired instance and choose More > Collect Stack Information.

  4. In the displayed dialog box, select the desired role and content, configure advanced options (retain the default settings if there is no special requirement), and click OK.

    Figure 1 Collecting stack information

  5. After the collection is successful, click Download.

Downloading Stack Information

  1. Click Cluster, click the name of the desired cluster, click Services, and click the target service. Choose More > Download Stack Information in the upper right corner.
  2. Select the desired role and content and click Download to download the stack information to the local PC.

    Figure 2 Downloading stack information

Clearing Stack Information

  1. Click Cluster, click the name of the desired cluster, click Services, and click the target service.
  2. Choose More > Clear Stack Information in the upper right corner.
  3. Select the desired role and content and configure File Directory. Click OK.

    Figure 3 Clearing stack information