Hi akhil , sorry i may not conveying the question properly . Actually we are looking to Launch a spark job from a long running workflow manager, which invokes spark client via SparkSubmit. Unfortunately the client upon successful completion of the application exits with a System.exit(0) or System.exit(NON_ZERO) when there is a failure. Question is, Is there an alternate api though which a spark application can be launched which can return a exit status back to the caller as opposed to initiating JVM halt.
On Wed, Jun 3, 2015 at 12:58 PM, Akhil Das <ak...@sigmoidanalytics.com> wrote: > Run it as a standalone application. Create an sbt project and do sbt run? > > Thanks > Best Regards > > On Wed, Jun 3, 2015 at 11:36 AM, pavan kumar Kolamuri < > pavan.kolam...@gmail.com> wrote: > >> Hi guys , i am new to spark . I am using sparksubmit to submit spark >> jobs. But for my use case i don't want it to be exit with System.exit . Is >> there any other spark client which is api friendly other than SparkSubmit >> which shouldn't exit with system.exit. Please correct me if i am missing >> something. >> >> Thanks in advance >> >> >> >> >> -- >> Regards >> Pavan Kumar Kolamuri >> >> > -- Regards Pavan Kumar Kolamuri