I am trying to execute a python file using batch job on livy
Url: http://<server-host>:8998/batches
body:
{
"file": "hdfs://localhost:9000/sample.py"
}
i want to execute this file within python virtualenv which is already created on server. I am new to livy, can someone please help me with this?