sibing.zhang created KYLIN-5330:
-----------------------------------
Summary: During the initialization process of the log thread, the
SparkEnv is empty, which leads to failure
Key: KYLIN-5330
URL: https://issues.apache.org/jira/browse/KYLIN-5330
Project: Kylin
Issue Type: Bug
Affects Versions: 5.0-alpha
Reporter: sibing.zhang
Fix For: 5.0-alpha
Attachments: image-2022-12-05-16-07-08-594.png
There is a null pointer exception in the yarn application log file.
!image-2022-12-05-16-07-08-594.png!
*root cause:*
When SparkEnv has not been initialized, the log thread executes the
SparkEnv.get operation first, causing NPE problems.
*fix design:*
When SparkEnv.get is executed, it will cause a null pointer exception. If
SparkEnv cannot be obtained, the new org.apache.hadoop.conf.Configuration
object will be ** used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)