Only the spark code is executed in the cluster. Unfortunately!