Skip to content

[INLONG-9859][Agent] Increase installation package download capability and local MD5 computing power#9901

Merged
dockerzhang merged 3 commits intoapache:masterfrom
justinwwhuang:b9859
Mar 31, 2024
Merged

[INLONG-9859][Agent] Increase installation package download capability and local MD5 computing power#9901
dockerzhang merged 3 commits intoapache:masterfrom
justinwwhuang:b9859

Conversation

@justinwwhuang
Copy link
Copy Markdown
Contributor

[INLONG-9859][Agent] Increase installation package download capability and local MD5 computing power

Motivation

Increase installation package download capability and local MD5 computing power

Modifications

Increase installation package download capability and local MD5 computing power

Verifying this change

(Please pick either of the following options)

  • This change is a trivial rework/code cleanup without any test coverage.

  • This change is already covered by existing tests, such as:
    (please describe tests)

  • This change added tests and can be verified as follows:

    (example:)

    • Added integration tests for end-to-end deployment with large payloads (10MB)
    • Extended integration test for recovery after broker failure

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation

@justinwwhuang justinwwhuang added this to the 1.12.0 milestone Mar 29, 2024
@justinwwhuang justinwwhuang self-assigned this Mar 29, 2024
justinwwhuang and others added 2 commits March 29, 2024 19:34
…gent/installer/ModuleManager.java

Co-authored-by: AloysZhang <lofterzhang@gmail.com>
Copy link
Copy Markdown
Contributor

@aloyszhang aloyszhang left a comment

Choose a reason for hiding this comment

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

LGTM

byte[] buffer = new byte[DOWNLOAD_PACKAGE_READ_BUFF_SIZE];
int len = 0;
try (FileInputStream fileInputStream = new FileInputStream(path)) {
MessageDigest md = MessageDigest.getInstance("MD5");

Check failure

Code scanning / CodeQL

Use of a broken or risky cryptographic algorithm

Cryptographic algorithm [MD5](1) is weak and should not be used.
@dockerzhang dockerzhang merged commit 1debef7 into apache:master Mar 31, 2024
@justinwwhuang justinwwhuang deleted the b9859 branch April 1, 2024 02:04
castorqin pushed a commit to castorqin/inlong that referenced this pull request Apr 2, 2024
…y and local MD5 computing power (apache#9901)

Co-authored-by: AloysZhang <lofterzhang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improve][Agent] Increase installation package download capability and local MD5 computing power

4 participants