Skip to content

Latest commit

 

History

History

emr

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Install Ray on an EMR using a bootstrap action.

if grep isMaster /mnt/var/lib/info/instance.json | grep false; then
    sudo python3 -m pip install -U ray[all]==2.0.0

    RAY_HEAD_IP=$(grep "\"masterHost\":" /emr/instance-controller/lib/info/extraInstanceData.json | cut -f2 -d: | cut -f2 -d\")
...