StrucetStream 读取kafka数据到mysql 里面报的错
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 9.0 failed 1 times, most recent failure: Lost task 2.0 in stage 9.0 (TID 810, localhost, executor driver): java.lang.NullPointerException
at com.czxy.Struct2_hw20200416.structStreaming_kafka_mysql$intoMysql.process(structStreaming_kafka_mysql.scala:73)
at com.czxy.Struct2_hw20200416.structStream