[
https://issues.apache.org/jira/browse/KYLIN-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645074#comment-17645074
]
ASF GitHub Bot commented on KYLIN-5330:
---------------------------------------
sibingzhang commented on PR #2042:
URL: https://github.com/apache/kylin/pull/2042#issuecomment-1343838984
retest this please
> 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-26-36-021.png
>
>
> There is a null pointer exception in the yarn application log file:
> !image-2022-12-05-16-26-36-021.png|width=897,height=163!
> *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)