Use spark.executor.extraJavaOptions https://spark.apache.org/docs/latest/configuration.html#runtime-environment
On Thu, Oct 15, 2020 at 1:22 PM Akshat Bordia <[email protected]> wrote: > Hi, > > We are trying to debug an issue with Spark and need to connect a remote > debugger to the executors thread. The general options with spark-submit ( > =-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005) > seems to allow only debugging driver thread. Does anyone have any insight > on how we can attach a remote debugger to executor threads? Appreciate any > pointers. > > Thanks, > Akshat > > -- > Regards, > Akshat Bordia > Email id : [email protected] >
