[BugFix](Load) Add a secure path for MySql Load to load local file from fe node#16653
Merged
yiguolei merged 2 commits intoapache:masterfrom Feb 13, 2023
SaintBacchus:MySqlServerLoad
Merged
[BugFix](Load) Add a secure path for MySql Load to load local file from fe node#16653yiguolei merged 2 commits intoapache:masterfrom SaintBacchus:MySqlServerLoad
yiguolei merged 2 commits intoapache:masterfrom
SaintBacchus:MySqlServerLoad
Conversation
Contributor
|
TeamCity pipeline, clickbench performance test result: |
YangShaw
pushed a commit
to YangShaw/doris
that referenced
this pull request
Feb 17, 2023
…om fe node (apache#16653) MySql load can load fe server node, but it will cause secure issue that user use it to detect the fe node local file. For this reason, add a configuration named mysql_load_server_secure_path to set a secure path to load data. By default, load fe local file feature is disabled by this configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Issue Number: close #xxx
Problem summary
MySql load can load fe server node, but it will cause secure issue that user use it to detect the fe node local file.
For this reason, add a configuration named
mysql_load_server_secure_pathto set a secure path to load data.By default, load fe local file feature is disabled by this configuration.
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...