You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Akshat Bordia <ak...@gmail.com> on 2020/10/15 18:15:04 UTC
Attaching Remote Debugger to Executor Threads
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 : akshat.bordia31@gmail.com
Re: Attaching Remote Debugger to Executor Threads
Posted by Jeff Evans <je...@gmail.com>.
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 <ak...@gmail.com>
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 : akshat.bordia31@gmail.com
>