Updated on 2022-02-22 GMT+08:00

Exporting Service Logs

Scenario

This section describes how to export logs generated by each service role from MRS Manager.

Prerequisites

  • You have obtained the access key ID (AK) and secret access key (SK) of the account.
  • A parallel file system has been created in OBS.

Procedure

  1. On MRS Manager, click System.
  2. Click Export Log under Maintenance.
  3. Set a service for Service. Set Host to the IP address of the host where the service is deployed. Select the corresponding time for Start Time and End Time.
  4. In Export To, select a path for saving logs. This parameter is available only for clusters with Kerberos authentication enabled.

    • Local PC: indicates that logs are saved to the local environment. Then go to 8.
    • OBS: indicates that logs are saved to OBS. This is the default option. Then go to 5.

  5. Set OBS Path to the path for storing service logs on OBS.

    The value must be a complete path and cannot start with a slash (/). The path can be nonexistent and will be automatically created by the system. The full path of OBS can contain a maximum of 900 bytes.

  6. In Bucket, enter the name of the created OBS file system.
  7. Set AK and SK to the access key ID and secret access key of the user.
  8. Click OK.