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

[SPARK-32691][3.0] Bump commons-crypto to v1.1.0 #31078

Closed

Conversation

huangtianhua
Copy link
Contributor

The package commons-crypto-1.0.0 doesn't support
aarch64 platform, change to use v1.1.0.

What changes were proposed in this pull request?

Update the package commons-crypto to v1.1.0 to support aarch64 platform

NOTE: This backport comes from #30275

Why are the changes needed?

The package commons-crypto-1.0.0 available in the Maven repository
doesn't support aarch64 platform. It costs long time in
CryptoRandomFactory.getCryptoRandom(properties).nextBytes(iv) when NettyBlockRpcSever
receive block data from client, if the time more than the default value 120s, IOException raised and client
will retry replicate the block data to other executors. But in fact the replication is complete,
it makes the replication number incorrect.
This makes DistributedSuite tests pass.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you for backporting, @huangtianhua .
In fact, I have been waiting for this. :)

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Could you update spark-deps-hadoop-2.7-hive-1.2 file too?
Please regenerate to update the all dependency manifest files.

@dongjoon-hyun
Copy link
Member

Gentle ping, @huangtianhua .

@huangtianhua
Copy link
Contributor Author

@dongjoon-hyun , thanks and will propose a new one :)

The package commons-crypto-1.0.0 doesn't support
aarch64 platform, change to use v1.1.0.
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you for updating, @huangtianhua .
Merged to branch-3.0.

dongjoon-hyun pushed a commit that referenced this pull request Jan 12, 2021
The package commons-crypto-1.0.0 doesn't support
aarch64 platform, change to use v1.1.0.

### What changes were proposed in this pull request?
Update the package commons-crypto to v1.1.0 to support aarch64 platform
- https://issues.apache.org/jira/browse/CRYPTO-139

NOTE: This backport comes from #30275

### Why are the changes needed?
The package commons-crypto-1.0.0 available in the Maven repository
doesn't support aarch64 platform. It costs long time in
CryptoRandomFactory.getCryptoRandom(properties).nextBytes(iv) when NettyBlockRpcSever
receive block data from client,  if the time more than the default value 120s, IOException raised and client
will retry replicate the block data to other executors. But in fact the replication is complete,
it makes the replication number incorrect.
This makes DistributedSuite tests pass.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Pass the CIs.

Closes #31078 from huangtianhua/origin/branch-3.0.

Authored-by: huangtianhua <huangtianhua223@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
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.

3 participants