Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
New Member

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