[feature](Vault) Support alter hdfs storage vault and alter vault's name#38685
[feature](Vault) Support alter hdfs storage vault and alter vault's name#38685gavinchou merged 4 commits intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
9eabcc4 to
1bbc772
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
3 similar comments
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 42019 ms |
TPC-DS: Total hot run time: 169321 ms |
ClickBench: Total hot run time: 30.31 s |
| public static final String HDFS_PREFIX = "hdfs:"; | ||
| public static final String HDFS_FILE_PREFIX = "hdfs://"; | ||
|
|
||
| public static final HashSet<String> ALTER_CHECK_PROPERTIES = new HashSet<>(Arrays.asList( |
There was a problem hiding this comment.
for hdfs, only name and passwd can be altered
There was a problem hiding this comment.
What if the users tried to add more properties?
There was a problem hiding this comment.
forbid
comment why forbid
pass path format case ok resolve comment add ut
2b6553a to
b68cba9
Compare
|
run buildall |
TPC-H: Total hot run time: 39858 ms |
TPC-DS: Total hot run time: 201616 ms |
ClickBench: Total hot run time: 30.34 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
TPC-H: Total hot run time: 39919 ms |
TPC-DS: Total hot run time: 189400 ms |
ClickBench: Total hot run time: 31.01 s |
|
PR approved by at least one committer and no changes requested. |
…ame (apache#38685) Previously only s3 vault can be altered. This pr adds support of hdfs storage vault. And this pr also supports to alter vault's name. usage example ``` ALTER STORAGE VAULT alter_s3_vault PROPERTIES ( "type"="S3", "s3.access_key" = "new_ak", -- change ak "s3.secrete_key" = "new_ak", -- change sk ); ALTER STORAGE VAULT alter_hdfs_vault PROPERTIES ( "type"="hdfs", "VAULT_NAME" = "alter_hdfs_vault_new_name", -- change vault name "hadoop.username" = "hdfs" -- change user name ); ```
…ame (#38685) Previously only s3 vault can be altered. This pr adds support of hdfs storage vault. And this pr also supports to alter vault's name. usage example ``` ALTER STORAGE VAULT alter_s3_vault PROPERTIES ( "type"="S3", "s3.access_key" = "new_ak", -- change ak "s3.secrete_key" = "new_ak", -- change sk ); ALTER STORAGE VAULT alter_hdfs_vault PROPERTIES ( "type"="hdfs", "VAULT_NAME" = "alter_hdfs_vault_new_name", -- change vault name "hadoop.username" = "hdfs" -- change user name ); ```
Previously only s3 vault can be altered. This pr adds support of hdfs storage vault. And this pr also supports to alter vault's name.
usage example