I created an AWS EMR cluster with Kerberos enabled, and I am able to authenticate Hadoop with my Kerberos keytab using the Java hadoop.conf authentication method. However, I cannot access Livy as I keep running into this error:
HTTP ERROR: 401 Problem accessing /. Reason: Authentication required
I cannot find a way online to authenticate Livy in my code, the only relevant module is requests_kerberos but it requires an existing valid TGT. I am looking for a way to be able to pass in a keytab or principal name+password to authenticate Livy.
If this is not possible, how can I disable Kerberos for Livy without affecting other components like Hadoop?