AWS Glue | AWS Glue Data Catalog Flashcards

1
Q

What data sources does AWS Glue support?

AWS Glue Data Catalog

AWS Glue | Analytics

A

AWS Glue natively supports data stored in Amazon Aurora, Amazon RDS for MySQL, Amazon RDS for Oracle, Amazon RDS for PostgreSQL, Amazon RDS for SQL Server, Amazon Redshift, and Amazon S3, as well as MySQL, Oracle, Microsoft SQL Server, and PostgreSQL databases in your Virtual Private Cloud (Amazon VPC) running on Amazon EC2. The metadata stored in the AWS Glue Data Catalog can be readily accessed from Amazon Athena, Amazon EMR, and Amazon Redshift Spectrum. You can also write custom Scala or Python code and import custom libraries and Jar files into your Glue ETL jobs to access data sources not natively supported by AWS Glue. For more details on importing custom libraries, refer to our documentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the AWS Glue Data Catalog?

AWS Glue Data Catalog

AWS Glue | Analytics

A

The AWS Glue Data Catalog is a central repository to store structural and operational metadata for all your data assets. For a given data set, you can store its table definition, physical location, add business relevant attributes, as well as track how this data has changed over time.

The AWS Glue Data Catalog is Apache Hive Metastore compatible and is a drop-in replacement for the Apache Hive Metastore for Big Data applications running on Amazon EMR. For more information on setting up your EMR cluster to use AWS Glue Data Catalog as an Apache Hive Metastore, click here.

The AWS Glue Data Catalog also provides out-of-box integration with Amazon Athena, Amazon EMR, and Amazon Redshift Spectrum. Once you add your table definitions to the Glue Data Catalog, they are available for ETL and also readily available for querying in Amazon Athena, Amazon EMR, and Amazon Redshift Spectrum so that you can have a common view of your data between these services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do I get my metadata into the AWS Glue Data Catalog?

AWS Glue Data Catalog

AWS Glue | Analytics

A

AWS Glue provides a number of ways to populate metadata into the AWS Glue Data Catalog. Glue crawlers scan various data stores you own to automatically infer schemas and partition structure and populate the Glue Data Catalog with corresponding table definitions and statistics. You can also schedule crawlers to run periodically so that your metadata is always up-to-date and in-sync with the underlying data. Alternately, you can add and update table details manually by using the AWS Glue Console or by calling the API. You can also run Hive DDL statements via the Amazon Athena Console or a Hive client on an Amazon EMR cluster. Finally, if you already have a persistent Apache Hive Metastore, you can perform a bulk import of that metadata into the AWS Glue Data Catalog by using our import script.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are AWS Glue crawlers?

AWS Glue Data Catalog

AWS Glue | Analytics

A

An AWS Glue crawler connects to a data store, progresses through a prioritized list of classifiers to extract the schema of your data and other statistics, and then populates the Glue Data Catalog with this metadata. Crawlers can run periodically to detect the availability of new data as well as changes to existing data, including table definition changes. Crawlers automatically add new tables, new partitions to existing table, and new versions of table definitions. You can customize Glue crawlers to classify your own file types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do I import data from my existing Apache Hive Metastore to the AWS Glue Data Catalog?

AWS Glue Data Catalog

AWS Glue | Analytics

A

You simply run an ETL job that reads from your Apache Hive Metastore, exports the data to an intermediate format in Amazon S3, and then imports that data into the AWS Glue Data Catalog.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Do I need to maintain my Apache Hive Metastore if I am storing my metadata in the AWS Glue Data Catalog?

AWS Glue Data Catalog

AWS Glue | Analytics

A

No. AWS Glue Data Catalog is Apache Hive Metastore compatible. You can point to the Glue Data Catalog endpoint and use it as an Apache Hive Metastore replacement. For more information on how to configure your cluster to use AWS Glue Data Catalog as an Apache Hive Metastore, please read our documentation here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly