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

Azure Functions Java Worker 1.7.1 -- Dependencies change opt in #381

Closed
amamounelsayed opened this issue Jul 2, 2020 · 9 comments
Closed
Assignees

Comments

@amamounelsayed
Copy link
Contributor

amamounelsayed commented Jul 2, 2020

This release is for shading all worker jars. This will give the option to clients to override the current behavior for how java worker jars are load it.

Background, before this release azure functions worker dependence takes precedence over the customer code dependencies in case they use the same ones. The current work is to give a way to customer dependencies to takes higher precedence by loading it first.

Only for JAVA 8
To be a backward compatible We freeze all the jars we currently have added to lib_worker_1.6.2.
We still load the worker jars first then the client jars.

If the client like to reverse this order and their jars takes presence first, they will need to add FUNCTIONS_WORKER_JAVA_LOAD_APP_LIBS True or 1. By this way it will be opt-in and load their jars first then worker jars.

JAVA 11 will use only the customer jars no need to add any application settings.

This will make java functions compatible with the latest spring and java azure sdks.

Fixes #340, Fixes #183, Fixes #373, Fixes #368, Fixes #365, Fixes #341

Releases contain the enhancement,
v3 3.0.14251 or higher
v2 2.0.14248 or higher.

Core tools,
v3 3.0.2852 or higher
v2 2.7.2855 or higher

Windows deployment done.
Linux consumption deployment done.
Linux dedicated/premium, deployment done.
Core tools, released.

Notes: with functions v4 rolling out, the default for java 8 will be exactly same as java 11. It will only load customer dependencies by default. No need to set FUNCTIONS_WORKER_JAVA_LOAD_APP_LIBS any more. Azure/Azure-Functions#1991. The pr is #454

@jongio
Copy link
Member

jongio commented Aug 18, 2020

@anirudhgarg @TsuyoshiUshio - Could you please provide an update on this? Would be great to get it addressed as we have stale related issues that are dependent on this fix. Thanks, Jon

@amamounelsayed
Copy link
Contributor Author

@jongio Thank you so much, We updated the status of the deployment. Please let us know if you have any questions.

@amamounelsayed
Copy link
Contributor Author

Releases contain the enhancement,
v3 3.0.14251 or higher
v2 2.0.14248 or higher.

Windows deployment done.
Linux consumption deployment done.
Linux dedicated/premium, still deploying.

@jongio
Copy link
Member

jongio commented Aug 19, 2020

@g2vinay - Please have a look at previous comment and see if we can resolve ours with the current deployment.

@amamounelsayed
Copy link
Contributor Author

Releases contain the enhancement,
v3 3.0.14251 or higher
v2 2.0.14248 or higher.

Windows deployment done.
Linux consumption deployment done.
Linux dedicated/premium, deployment done.

@amamounelsayed
Copy link
Contributor Author

amamounelsayed commented Aug 27, 2020

This fix is not released yet by coretools, it will be released in the next release.
If user face this issue locally this may be the reason. We will update the issue once coretools get released.

Linux and windows all skus runtime in Azure cloud has been released.

@kashyap-bhatt-by
Copy link

@amamounelsayed

This fix is not released yet by coretools, it will be released in the next release.
If user face this issue locally this may be the reason. We will update the issue once coretools get released.

Linux and windows all skus runtime in Azure cloud has been released.

How can I follow delivery of this fix? Is there some way I can watch some issue/repo/something so I get an email when this is released?

@amamounelsayed
Copy link
Contributor Author

@amamounelsayed
This fix is not released yet by coretools, it will be released in the next release.
If user face this issue locally this may be the reason. We will update the issue once coretools get released.
Linux and windows all skus runtime in Azure cloud has been released.

How can I follow delivery of this fix? Is there some way I can watch some issue/repo/something so I get an email when this is released?

Thank you so much @kashyap-bhatt-by for your message, you can keep track of the coretools releases at https://github.com/Azure/azure-functions-core-tools/releases

@amamounelsayed
Copy link
Contributor Author

Core tools have been release
v3 3.0.2852 or higher
v2 2.7.2855 or higher

https://github.com/Azure/azure-functions-core-tools/releases

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

No branches or pull requests

5 participants