Terraform Failure :Terminated with errorsOn the master instance application provisioning failed

hello Team, I am getting the below error :Terminated with errorsOn the master instance , application provisioning failed while running terraform for launching an emr.This is happening only when, I am defining emr version as 5.11, while if i lower down the configuration like 5.5 or if increase the version like 5.27 , the code is working.
But if i run the code for 5.11 below is the error:-rror: ooziedb.sh create -run returned 1 instead of one of [0]
Error: /Stage[main]/Hadoop_oozie::Server/Exec[Oozie DB init]/returns: change from notrun to 0 failed: ooziedb.sh create -run returned 1 instead of one of [0]
Warning: /Stage[main]/Hadoop_oozie::Server/Service[oozie]: Skipping because of failed dependencies
2020-03-12 17:36:01,375 ERROR main: Encountered a problem while provisioning.
Request you to help me