Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28657

Fix currentContext Instance failed sometimes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Spark Core
    • Labels:
      None
    • Environment:

       

       

      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

        Attachments

        1. warn.jpg
          170 kB
          hong dongdong

          Issue Links

            Activity

              People

              • Assignee:
                hongdongdong hong dongdong
                Reporter:
                hongdongdong hong dongdong
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: