Actual requirement is like i have devices which is accessible through specific machines only, so is it possible that to assign a task which involved communication to a specific device to a worker from which that device is accessible ?
Assume that there is spark cluster with master and workers. Workers are machines which has access to specific devices, master has no access to those devices.