1. As ec2-user can you confirm you can access the directory with key tabs? And that the hive key tab exists and has the correct permissions?
ls -la /etc/security/keytabs/hive*
2. Extract the hive principal from the hive key tab and confirm it matches the one you are passing into beeline:
klist -kt /etc/security/keytabs/hive*
3. Check that user hive can access the key tabs dir and try to kinit as user hive:
sudo sudo -u hive kinit -kt /etc/security/keytabs/hive* <hive principal from above>
In case this fails, what is the error seen?