[
https://issues.apache.org/jira/browse/SPARK-28657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
hong dongdong updated SPARK-28657:
----------------------------------
Description:
When run spark on yarn, I got
```
{{java.lang.ClassCastException: org.apache.hadoop.ipc.CallerContext$Builder
cannot be cast to scala.runtime.Nothing$ }}
{{```}}
{{```Utils.classForName``` return Class[Nothing], I think it should be defind
as Class[_] to resolve this issue}}
was:When run spark on yarn, I got
> Fix currentContext Instance failed sometimes
> --------------------------------------------
>
> Key: SPARK-28657
> URL: https://issues.apache.org/jira/browse/SPARK-28657
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.0.0
> Environment:
>
> Reporter: hong dongdong
> Priority: Minor
> Attachments: warn.jpg
>
>
> When run spark on yarn, I got
> ```
> {{java.lang.ClassCastException: org.apache.hadoop.ipc.CallerContext$Builder
> cannot be cast to scala.runtime.Nothing$ }}
> {{```}}
> {{```Utils.classForName``` return Class[Nothing], I think it should be defind
> as Class[_] to resolve this issue}}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]