You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jiaqi Li (Jira)" <ji...@apache.org> on 2019/09/25 06:42:00 UTC

[jira] [Closed] (SPARK-29230) Fix NullPointerException in the test class ProcfsMetricsGetterSuite

     [ https://issues.apache.org/jira/browse/SPARK-29230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiaqi Li closed SPARK-29230.
----------------------------

Work completed!

> Fix NullPointerException in the test class ProcfsMetricsGetterSuite
> -------------------------------------------------------------------
>
>                 Key: SPARK-29230
>                 URL: https://issues.apache.org/jira/browse/SPARK-29230
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, Tests
>    Affects Versions: 3.0.0
>            Reporter: Jiaqi Li
>            Assignee: Jiaqi Li
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> When I use `ProcfsMetricsGetterSuite` testing, always throw out `java.lang.NullPointerException`. 
> I think there is a problem with locating `new ProcfsMetricsGetter`, which will lead to `SparkEnv` not being initialized in time. 
> This leads to `java.lang.NullPointerException` when the method is executed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org