Support Questions

Find answers, ask questions, and share your expertise

How to run python from a separate server remotely without transfering .py scripts to the hdfs server

avatar
New Contributor

Is there a way that i can remotely run my scripts via an linux command or via curl instead of copying and submitting Spark on the server ?

1 ACCEPTED SOLUTION

avatar
Super Guru

@Henry Leung,

You can use ssh to run the script in remote machine.

ssh username@hostname.com "python script.py"

.

Aditya

View solution in original post

1 REPLY 1

avatar
Super Guru

@Henry Leung,

You can use ssh to run the script in remote machine.

ssh username@hostname.com "python script.py"

.

Aditya