Any hint?
2016-08-31 20:40 GMT+02:00 Pierre Villard :
> Hi,
>
> I am using Spark 1.5.2 and I am submitting a job (jar file) using
> spark-submit command in a yarn cluster mode. I'd like the command to return
> a custom return code.
>
> In the run method, if I do:
> s
Hi,
I am using Spark 1.5.2 and I am submitting a job (jar file) using
spark-submit command in a yarn cluster mode. I'd like the command to return
a custom return code.
In the run method, if I do:
sys.exit(myCode)
the command will always return 0.
The only way to have something not equal to