You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "sibing.zhang (Jira)" <ji...@apache.org> on 2022/12/05 08:26:00 UTC
[jira] [Updated] (KYLIN-5330) During the initialization process of the log thread, the SparkEnv is empty, which leads to failure
[ https://issues.apache.org/jira/browse/KYLIN-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sibing.zhang updated KYLIN-5330:
--------------------------------
Attachment: image-2022-12-05-16-25-24-632.png
> 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
> Priority: Major
> Fix For: 5.0-alpha
>
> Attachments: image-2022-12-05-16-07-08-594.png, image-2022-12-05-16-25-24-632.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)