Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation Of StreamingLens Without Changing in Existing Code. #73

Closed
rpatid10 opened this issue Sep 14, 2021 · 1 comment
Closed

Comments

@rpatid10
Copy link

Hi, I am Trying to Implement sparklens for streaming Application. I am able to do the same for spark Batch Application by adding below additional line in my batch application spark submit command.

--jars /home/sparklens-0.1.2-s_2.11.jar
--conf spark.extraListeners=com.qubole.sparklens.QuboleJobListener
--conf spark.sparklens.reporting.disabled=true

Without Changing anything in code.

now I am trying to do the same with my streaming Applications also and using --jars /path/to/spark-streaminglens_2.11-0.5.3.jar
this jar in spark-submit command. Can someone kindly suggest if is there any way to run the same without changing anything in code.

//all Imports

object StreamApp {

def main(args: Array[String]): Unit = {

//SparkSession With sparklens Properties
val spark = SparkSession
.builder()
.appName("SparkLence_With_Spark_Submit")
.getOrCreate()

  // code for streaming Application

  }
  }
@rpatid10
Copy link
Author

Closing as Added #74 with More details here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant