10. If the AWS account is not using AWS Glue Data Catalog, then what is the error that we get when trying to use it as a metastore?

Here is the exception that you get when the data catalog is not AWS Glue Data Catalog.

Caused by: org.apache.hadoop.hive.metastore.api.MetaException: Unable to verify existence of default
database: com.amazonaws.services.glue.model.AccessDeniedException: Please migrate your Catalog to enable access to
this database (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 93049281-2f20-11e9-9bee-e91940257f04)

You must upgrade the AWS account to use the AWS Glue Data Catalog.