[ 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 {code:java} // java.lang.ClassCastException: org.apache.hadoop.ipc.CallerContext$Builder cannot be cast to scala.runtime.Nothing$ {code} !warn.jpg! {{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 {code:java} // java.lang.ClassCastException: org.apache.hadoop.ipc.CallerContext$Builder cannot be cast to scala.runtime.Nothing$ {code} {{Utils.classForName return Class[Nothing], I think it should be defind as Class[_] to resolve this issue}} > 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 > {code:java} > // java.lang.ClassCastException: org.apache.hadoop.ipc.CallerContext$Builder > cannot be cast to scala.runtime.Nothing$ > {code} > !warn.jpg! > {{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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org