Why Are Logs Not Written to the OBS Bucket After a DLI Flink Job Fails to Be Submitted for Running?
Mode for storing generated job logs when a DLI Flink job fails to be submitted or executed. The options are as follows:
- If the submission fails, a submission log is generated only in the submit-client directory.
- You can view the logs generated within 1 minute when the job fails to be executed on the management console.
Choose Job Management > Flink Jobs, click the target job name to go to the job details page, and click Run Log to view real-time logs.
- If the running fails and exceeds 1 minute (the log dump period is 1 minute), run logs are generated in the application_xx directory.
- Built-in dependencies (or set the package dependency scope to "provided")
- Log configuration files (example, log4j.properties/logback.xml)
- JAR file for log output implementation (example, log4j).
On this basis, the taskmanager.log file rolls as the log file size and time change.
Feedback
Was this page helpful?
Provide feedbackThank 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