Skip to content
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

Support specifying fe protocol #494

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlada-dudr
Copy link

Proposed changes

Issue Number: close #493

Problem Summary:

Cannot use http FE

Checklist(Required)

  1. Does it affect the original behavior: No
  2. Has unit tests been added: No Need
  3. Has document been added or modified: No
  4. Does it need to update dependencies: No
  5. Are there any changes that cannot be rolled back: No

Further comments

Remove all hardwired http:// from urls and added conditional http:// prefixing if no scheme was declared

@vlada-dudr vlada-dudr changed the title support specifying fe protocol [WIP] support specifying fe protocol Sep 25, 2024
@@ -96,7 +96,9 @@ public BatchStageLoad(
this.password = dorisOptions.getPassword();
this.loadProps = executionOptions.getStreamLoadProp();
this.labelGenerator = labelGenerator;
this.hostPort = dorisOptions.getFenodes();
Copy link
Author

@vlada-dudr vlada-dudr Sep 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seems particularly odd - isn't fenodes comma separated string? I did this. thoug, as it is later being prepended to UPLOAD_URL_PATTERN

@vlada-dudr
Copy link
Author

Ok, this is bit more massive, than I expected. Let me know, if you want me to change something. I also ask for some testing, my Doris knowledge is pretty limited, so I likely missed something

@vlada-dudr vlada-dudr changed the title [WIP] support specifying fe protocol Support specifying fe protocol Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] It is not possible to connect to FE via HTTPS
1 participant