-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Enhancement](Backup) support show create repository #17299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement](Backup) support show create repository #17299
Conversation
72a7a1e to
2e66aea
Compare
|
run buildall |
|
Need to use |
2e66aea to
1f237d4
Compare
Done |
morningman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
TeamCity pipeline, clickbench performance test result: |
support show create repository stmt.
support show create repository stmt.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
support show create repository stmt.
SQL example: show create repository for repo_name
Result:
MySQL [(none)]> show create repository for doris_backup_backup_cluster_bt1;
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| RepoName | CreateStmt |
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| doris_backup_backup_cluster_bt1 | create read only repository doris_backup_backup_cluster_bt1 with broker broker_name on location "hdfs://ns1017/user/jd_ad/ads_report/narwal_backup/backup_cluster" properties ("password" = "XXXX","dfs.client.failover.proxy.provider" = "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider","dfs.ha.namenodes.ns1017" = "nn1,nn2","dfs.namenode.rpc-address.ns1017.nn2" = "XXXXXX:8020","dfs.nameservices" = "ns1017","dfs.namenode.rpc-address.ns1017.nn1" = "XXXXX:8020","username" = "XXXX") |
+---------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...