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

Fix currentContext Instance failed sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Spark Core
    • None
    •  

       

    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

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

              Dates

                Created:
                Updated:
                Resolved: