Error message: Caught an exception while executing custom service command: <type 'exceptions.OSError'>: [Errno 13] Permission denied: '/var/lib/ambari-agent/cred/conf/hive/hive-site.jceks'; [Errno 13] Permission denied: '/var/lib/ambari-agent/cred/conf/hive/hive-site.jceks'
The file exists and setting it to 777 does not solve the problem.
The service that fails to start is "MySQL Server". I can start and restart the msqld on the commandline.
Stumbled upon the exact same issue during a fresh Hive Install on Ambari
I circumvented it by dropping the jceks security
I edited the hive-site.xml file
/etc/hive/2.x.x.x-xxx/0/conf.server/hive-site.xmlRemoved :
Added :
And voilà.