

# Appendix E: Data Catalog Migration FAQs

This appendix answers common questions about data catalog migration.

## What are some of the limitations of using an AWS Glue Data Catalog over a generic Hive metastore?
<a name="appendix-e-glue-limitations"></a>

Database and table renames, managed tables, Hive authorizations, and Hive constraints are not supported on the AWS Glue Data Catalog. To see a list of constraints, see *Considerations when Using AWS Glue Catalog* in *Using the AWS Glue Data Catalog as the Metastore for Hive*.

## What types of security features are available for an AWS Glue Data Catalog?
<a name="appendix-e-glue-security"></a>

The AWS Glue Data Catalog provides the following security features.
+ Encryption — You can enable encryption on an AWS Glue Data Catalog. TLS is enabled by default when your cluster interacts with AWS Glue Data Catalog APIs.
+ Authentication — All interactions with AWS Glue Data Catalog APIs require AWS IAM credentials.
+ Authorization — Access to AWS Glue actions is configurable through IAM policies and AWS Glue Data Catalog IAM resource policies. The default Amazon EMR EC2 role EMR\_EC2\_DefaultRole allows the required AWS Glue actions. If you specify a custom EC2 instance profile, ensure the appropriate AWS Glue actions are allowed. For a list of available AWS Glue IAM policies, see *AWS Glue API Permissions: Actions and Resources Reference*. If you require fine-grained access control, use AWS Lake Formation.

## Can multiple Amazon EMR clusters use a single AWS Glue Data Catalog?
<a name="appendix-e-multiple-clusters"></a>

Yes. An AWS Glue Data Catalog can be used by one-to-many Amazon EMR clusters, as well as Amazon Athena and Amazon Redshift.

## Can an on-premises Hadoop cluster use AWS Glue Data Catalog?
<a name="appendix-e-on-premises-cluster"></a>

Connecting an on-premises Hadoop cluster directly to the AWS Glue Data Catalog is not a recommended long-term pattern. Instead, migrate your Hive metastore to the AWS Glue Data Catalog as part of your overall Amazon EMR migration (see [Data Catalog Migration](data-catalog-migration.md)). For hybrid environments during a phased migration, consider using a remote Hive metastore on Amazon RDS accessible from both on-premises and Amazon EMR clusters through Direct Connect. An open-source AWS Glue Data Catalog client for Apache Hive Metastore was previously available but is no longer actively maintained and is not recommended for new implementations.

## When should I use a Hive metastore on Amazon RDS over an AWS Glue Data Catalog?
<a name="appendix-e-rds-vs-glue"></a>

If you want full control of your Hive metastore and want to integrate with other open-source applications such as Apache Ranger and Apache Atlas, use a Hive metastore on Amazon RDS. If you are looking for a managed and serverless metastore, use the AWS Glue Data Catalog. Beyond being serverless, the AWS Glue Data Catalog acts as a shared catalog across the AWS analytics stack — the same tables are directly accessible from Amazon Athena, Amazon Redshift (Spectrum and Redshift-managed queries), Amazon EMR, AWS Glue ETL, and Amazon SageMaker Lakehouse, with centralized governance through AWS Lake Formation. For migrations, this cross-service interoperability lets multiple engines query one catalog without maintaining a separate metastore, which is often the deciding factor over a self-managed Hive metastore on Amazon RDS.