I found _sqlContext is null , how to resolve it ?
2019-11-25
lk_spark
发件人:"lk_spark"
发送时间:2019-11-25 16:00
主题:how spark structrued stream write to kudu
收件人:"user.spark"
抄送:
hi,all:
I'm using spark 2.4.4 to readstream data from kafka and want to write to
hi,all:
I'm using spark 2.4.4 to readstream data from kafka and want to write to
kudu 1.7.0 , my code like below :
val kuduContext = new KuduContext("master:7051", spark.sparkContext)
val console = cnew.select("*").as[CstoreNew]
.writeStream
.option("checkpointLocatio