wsjz commented on code in PR #18005:
URL: https://github.com/apache/doris/pull/18005#discussion_r1154370150


##########
docs/zh-CN/docs/lakehouse/multi-catalog/hive.md:
##########
@@ -114,23 +116,85 @@ CREATE CATALOG hive PROPERTIES (
 );
 ```
 
-hive元数据存储在Glue,数据存储在S3,示例如下:
+### Hive On S3
+
+数据存储在S3,示例如下:
 
 ```sql
 CREATE CATALOG hive PROPERTIES (
     "type"="hms",
     "hive.metastore.type" = "glue",
-    "aws.region" = "us-east-1",
-    "aws.glue.access-key" = "ak",
-    "aws.glue.secret-key" = "sk",
-    "AWS_ENDPOINT" = "s3.us-east-1.amazonaws.com",
-    "AWS_REGION" = "us-east-1",
-    "AWS_ACCESS_KEY" = "ak",
-    "AWS_SECRET_KEY" = "sk",
+    "s3.endpoint" = "s3.us-east-1.amazonaws.com",
+    "s3.access-key" = "ak",
+    "s3.secret-key" = "sk"
     "use_path_style" = "true"
 );
 ```
 
+可选属性:
+
+* s3.connection.maximum: s3最大连接数,默认50
+* s3.connection.request.timeout:s3请求超时时间,默认3000ms
+* s3.connection.timeout: s3连接超时时间,默认1000ms
+
+### Hive On OSS
+
+数据存储在OSS,示例如下:
+
+```sql
+CREATE CATALOG hive PROPERTIES (
+    "type"="hms",
+    "hive.metastore.uris" = "thrift://172.21.0.44:7004",
+    "oss.endpoint" = "oss.oss-cn-beijing.aliyuncs.com",
+    "oss.access-key" = "ak",
+    "oss.secret-key" = "sk"
+);
+```
+
+### Hive On OBS
+
+数据存储在OBS,示例如下:
+
+```sql
+CREATE CATALOG hive PROPERTIES (
+    "type"="hms",
+    "hive.metastore.uris" = "thrift://172.21.0.44:7004",
+    "obs.endpoint" = "obs.cn-north-4.myhuaweicloud.com",
+    "obs.access-key" = "ak",
+    "obs.secret-key" = "sk"
+);
+```
+
+### Hive On COS
+
+数据存储在COS,示例如下:
+
+```sql
+CREATE CATALOG hive PROPERTIES (
+    "type"="hms",
+    "hive.metastore.uris" = "thrift://172.21.0.44:7004",
+    "cos.endpoint" = "cos.ap-beijing.myqcloud.com",
+    "cos.access-key" = "ak",
+    "cos.secret-key" = "sk"
+);
+```
+
+### Hive With Glue
+
+元数据存储在Glue,示例如下:
+
+```sql
+CREATE CATALOG hive PROPERTIES (
+    "type"="hms",
+    "hive.metastore.type" = "glue",
+    "glue.endpoint" = "https://glue.us-east-1.amazonaws.com";,
+    "glue.access-key" = "ak",
+    "glue.secret-key" = "sk"

Review Comment:
   https://github.com/apache/doris/pull/18287



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to