Skip to content

Commit

Permalink
Document new AWS Glue configs in Hive connector
Browse files Browse the repository at this point in the history
Document the new configurations introduced as part of
#1465 and a few other configs
introduced over time.

Co-authored-by: Piotr Findeisen <piotr.findeisen@gmail.com>
  • Loading branch information
hashhar and findepi committed Jun 24, 2020
1 parent 9730985 commit b13103e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion presto-docs/src/main/sphinx/connector/hive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,23 @@ Property Name Description
running in EC2, or when the catalog is in a different region.
Example: ``us-east-1``

``hive.metastore.glue.endpoint-url`` Glue API endpoint URL (optional).
Example: ``https://glue.us-east-1.amazonaws.com``

``hive.metastore.glue.pin-client-to-current-region`` Pin Glue requests to the same region as the EC2 instance
where Presto is running, defaults to ``false``.

``hive.metastore.glue.max-connections`` Max number of concurrent connections to Glue,
defaults to ``5``.

``hive.metastore.glue.default-warehouse-dir`` Hive Glue metastore default warehouse directory
``hive.metastore.glue.default-warehouse-dir`` Default warehouse directory for schemas created without an
explicit ``location`` property.

``hive.metastore.glue.catalogid`` Glue Catalog ID (optional).

``hive.metastore.glue.aws-credentials-provider`` Fully qualified name of the Java class to use for obtaining
AWS credentials. Can be used to supply a custom credentials
provider.

``hive.metastore.glue.aws-access-key`` AWS access key to use to connect to the Glue Catalog. If
specified along with ``hive.metastore.glue.aws-secret-key``,
Expand All @@ -348,6 +358,12 @@ Property Name Description

``hive.metastore.glue.external-id`` External ID for the IAM role trust policy when connecting
to the Glue Catalog.

``hive.metastore.glue.partitions-segments`` Number of segments for partitioned Glue tables, defaults
to ``5``.

``hive.metastore.glue.get-partition-threads`` Number of threads for parallel partition fetches from Glue,
defaults to ``20``.
==================================================== ============================================================

.. _hive-s3:
Expand Down

0 comments on commit b13103e

Please sign in to comment.