From 0d155116f57e4f0ab03c439ffdb0ecef6a35cd4f Mon Sep 17 00:00:00 2001 From: Karol Sobczak Date: Thu, 2 May 2019 18:42:08 +0200 Subject: [PATCH] Improve Hive assume role config properties description --- .../plugin/hive/metastore/glue/GlueHiveMetastoreConfig.java | 2 +- .../src/main/java/io/prestosql/plugin/hive/s3/HiveS3Config.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/glue/GlueHiveMetastoreConfig.java b/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/glue/GlueHiveMetastoreConfig.java index 329ec6f3729d..140b514b7e20 100644 --- a/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/glue/GlueHiveMetastoreConfig.java +++ b/presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/glue/GlueHiveMetastoreConfig.java @@ -87,7 +87,7 @@ public Optional getIamRole() } @Config("hive.metastore.glue.iam-role") - @ConfigDescription("IAM role to assume when connecting to the Hive Glue metastore") + @ConfigDescription("ARN of an IAM role to assume when connecting to the Hive Glue metastore") public GlueHiveMetastoreConfig setIamRole(String iamRole) { this.iamRole = Optional.ofNullable(iamRole); diff --git a/presto-hive/src/main/java/io/prestosql/plugin/hive/s3/HiveS3Config.java b/presto-hive/src/main/java/io/prestosql/plugin/hive/s3/HiveS3Config.java index eef53b2b1d0a..12f7e5ac51d3 100644 --- a/presto-hive/src/main/java/io/prestosql/plugin/hive/s3/HiveS3Config.java +++ b/presto-hive/src/main/java/io/prestosql/plugin/hive/s3/HiveS3Config.java @@ -140,6 +140,7 @@ public String getS3IamRole() } @Config("hive.s3.iam-role") + @ConfigDescription("ARN of an IAM role to assume when connecting to the S3") public HiveS3Config setS3IamRole(String s3IamRole) { this.s3IamRole = s3IamRole;