Granting Access Permissions to O&M Personnel
The O&M personnel access authorization function controls whether operations and maintenance (O&M) personnel can access your endpoint job execution data, including job logs and the execution UIs.
- Job log: Records the entire job lifecycle, including exception details, error records, and processing data. Logs serve as essential diagnostic data for root cause analysis.
- Spark UI/Flink UI: Provides visual monitoring of job execution, including task details, executor resource allocation, and SQL execution plans. This interface is critical for diagnosing task failures.
Job logs and Spark UI/Flink UI provide detailed job execution information and may contain service processing data. To ensure data security, O&M personnel cannot access this information by default.
Enable O&M access authorization to allow O&M personnel to access job logs and the Spark UI/Flink UI in the following situations:
- You need to locate the root cause of a job exception (failure, suspension, or error).
- Job performance is abnormal, and you need to analyze bottlenecks using logs and the execution page.
- You have submitted a service ticket, and O&M personnel need to view logs to help troubleshoot.
After authorization is enabled, O&M personnel have read-only access for the validity period you set. Authorization automatically expires when the period ends.
Notes and Constraints
Only Spark and Flink endpoints support O&M personnel access authorization.
Precautions
- Set an appropriate authorization period. Once the period ends, authorization expires and O&M personnel can no longer access logs. Set the validity period based on your estimated troubleshooting duration to prevent authorization from expiring mid-process. If troubleshooting requires more time, you can enable authorization again.
- The default validity period is 1 day, and the maximum is 1 year.
- Authorization applies at the endpoint level and only controls access to job logs, Spark UI, and Flink UI. It does not differentiate log types, nor does it affect job submission or normal execution.
- Only users with endpoint management permissions can enable or disable O&M authorization. By default, O&M authorization is disabled for endpoints.
Enabling O&M Authorization
- Log in to the AI DataLake console.
- In the upper left corner of the page, select the target workspace.
- In the left navigation pane, choose Engine Endpoints.
Select Spark (batch processing engine) or Flink (stream processing engine).
- You can access the O&M authorization page and enable authorization in either of the following ways:
- From the endpoint list: In the Operation column of the target endpoint, choose More > O&M Authorization. In the O&M Authorization dialog box, turn on Grant Permissions to O&M Personnel, select an expiration time, and click OK.
- From the endpoint overview page: On the endpoint list, click the target endpoint name. In the upper right corner of the overview page, click O&M Authorization. In the O&M Authorization dialog box, turn on Grant Permissions to O&M Personnel, select an expiration time, and click OK.
Disabling O&M Authorization
- Log in to the AI DataLake console.
- In the upper left corner of the page, select the target workspace.
- In the left navigation pane, choose Engine Endpoints.
Select Spark (batch processing engine) or Flink (stream processing engine).
- You can access the O&M authorization page and disable authorization in either of the following ways:
- From the endpoint list: In the Operation column of the target endpoint, choose More > O&M Authorization. In the O&M Authorization dialog box, turn off Grant Permissions to O&M Personnel.
- From the endpoint overview page: On the endpoint list, click the target endpoint name. In the upper right corner of the overview page, click O&M Authorization. In the O&M Authorization dialog box, turn off Grant Permissions to O&M Personnel and click OK.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot