41565/prevent-immediate-shutdown-streaming-context-after-shutdown
In technical terms, you want to gracefully shut down the Streaming Context. Use the below command to do this:
val sc = new SparkContext(new SparkConf()) ./bin/spark-submit <all your existing options> --spark.streaming.stopGracefullyOnShutdown=true
> In order to reduce the processing ...READ MORE
How many spark context objects you should ...READ MORE
Hi@ritu, Spark DStream (Discretized Stream) is the basic ...READ MORE
Hi@ritu, Fault tolerance is the property that enables ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
Save it to a text file: line.saveAsTextFile("alicia.txt") Print contains ...READ MORE
I can list some but there can ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.