Closed rpatid10 closed 2 years ago
@abhishekd0907 Kindly suggest.
Can you share your Spark driver logs?
You need to add below line to activate it
val streamingLens = new StreamingLens(sparkSession, options)
Can you share your Spark driver logs?
You need to add below line to activate it
val streamingLens = new StreamingLens(sparkSession, options)
Yes I have added this line @abhishekd0907 val streamingLens = new SparkStreamingLens(spark, options)
@abhishekd0907 Thanks a lot . It worked and I am able to see the logs. 21/09/29 17:38:42 INFO QueryInsightsManager: | StreamingLens Inisights | BatchId: 344 Analysis Time: 00s 000ms Expected Micro Batch SLA: 120s 000ms Batch Running Time: 00s 000ms Critical Time: 00s 000ms Streaming Query State: NONEWBATCHES |
---|
Hi,
I am trying to Implement StreamingLens In My existing Streaming Application. My application Is working fine and its loading data from one kafka topic to anothe kafka topic. But in ambari I am not able to see StreamingLens Reports, when I did this for batch application using sparklence i could see the logs generated by sparklense with all the resources information but same report I am not able to see for streaming application can someone suggest if I need to do additional code or where should I check the reports which should generate by StreamingLens.
My Sample code