I am trying to Implement StreamingLense In Spark Application.I Have added below 2 lines in existing code as suggested here. https://github.com/qubole/streaminglens
1. class StreamingLens_POC(spark: SparkSession, options: RequestBuilder){}
2. val streamingLens = new StreamingLens_POC(spark, options)
// Added New Block For StreamingLense
class StreamingLens_POC(spark: SparkSession, options: RequestBuilder)
// Existing Code which was working fine without any issue.
object StreamingLens_POC {
def main(args: Array[String]): Unit = {
val applicationName = args(0)
val spark = SparkSession
.builder()
.appName(applicationName)
//.config("spark.master", "local") //Addition code to execute in local
.getOrCreate()
println("Spark Streaming Lens POC Program Started")
val streamingLens = new StreamingLens_POC(spark, options) // added this new line for StreamingLense
//..... existing code Code....
..
..
..
..
}
After that When I am trying to execute this application on server using below spark submit Command.
I am trying to Implement StreamingLense In Spark Application.I Have added below 2 lines in existing code as suggested here. https://github.com/qubole/streaminglens
After that When I am trying to execute this application on server using below spark submit Command.
But Its Giving Below Error.
Can someone Kindly Suggest. If I need to do any addition Task here.