Hail 0.2 on glue

I am facing below error when trying to import hail on glue (spark3, python2, glue version 1.0). Any help is much appreciated:

21/06/29 21:47:11 ERROR ApplicationMaster: User application exited with status 1

import sys, os
from pyspark import SparkContext, SparkConf
from awsglue.transforms import *
from awsglue.utils import getResolvedOptions
from awsglue.context import GlueContext
from awsglue.job import Job
from hail import *
#import hail as hl

conf = SparkConf()
conf.set(‘spark.app.name’, u’Running Hail on Glue’)
conf.set(‘spark.sql.files.maxPartitionBytes’, ‘1099511627776’)
conf.set(‘spark.sql.files.openCostInBytes’, ‘1099511627776’)
conf.set(‘spark.kryo.registrator’, ‘is.hail.kryo.HailKryoRegistrator’)
conf.set(‘spark.serializer’, ‘org.apache.spark.serializer.KryoSerializer’)

sc = SparkContext(conf=conf)
sc._jsc.hadoopConfiguration().set(“mapred.output.committer.class”, “org.apache.hadoop.mapred.FileOutputCommitter”)
sc.getConf().getAll()

glueContext = GlueContext(sc)
spark = glueContext.spark_session
job = Job(glueContext)
#job.init(args[‘JOB_NAME’], args)
hc = HailContext(sc)
#hl.init(sc)

print(“Hello World!!!”)

when I change the import statements as shown below I see this error:

Py4JError: An error occurred while calling z:is.hail.HailContext.apply. Trace:

#from hail import *
import hail as hl

#hc = HailContext(sc)
hl.init(sc)

also want to add that when using python 3 I see this error:

ModuleNotFoundError: No module named ‘SocketServer’

What version of Hail are you using? There’s no mention of “SocketServer” anywhere in the code base right now.

I am using hail 2.0

What’s the full version? pip show hail?