Why the spark program run once submitted will be over??????? Each performs a calculation is going to write a program?? Or write a script to submit application?? Web applications, for one, I write a servlet, then you can run into the tomcat inside, each browser to submit a request, my servlet code is executed once, spark is no function like this??????????? The great spirit show just a little
CodePudding user response:
Where master, post not sink!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
CodePudding user response:
In web services to create a sparkcontext instance, then you can request is submitted to spark a
CodePudding user response:
Spark is divided into the real-time and off-line, if it is offline, you submit it to run once finished stopped, of course, if it is a real-time, data as long as you feed him, he began to calculate, you have to combined with the specific requirements
CodePudding user response:
Spark can start ThrifServer as JDBC Server to run continuously, response to a query (a job)