I have a Spark Session create by spark-shell and another spark session created by my code.(imported via jar passed to the spark-shell)
Is there a way to compare the session id of the two Spark Sessions?
I know we can get applicationId via spark.SparkContext.applicationId.
Are sessionid and applicationId the same? I thought applicationId is associated to a spark job.(A unique identifier for a job)
Is there any way I can get Spark Session id?