-
Notifications
You must be signed in to change notification settings - Fork 45
Time out when i access Azure Data Lake Gen2 in Azure Function with ADLS java sdk V12 #113
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
Comments
I have the same issue ..
Same as you, running this code from my local PC works fine !! |
I've ported this GitHub issue to the azure/azure-sdk-for-java repo where the |
Please can you follow this issue steps and check if the issue still exists |
Internal Trackingdevdivcsef 371565 |
@gjjtip Please let us know if you still face this issue. Thank you so much! |
i can confirm that this issue still exists. |
@s3vhub Did you try to add the application setting FUNCTIONS_WORKER_JAVA_LOAD_APP_LIBS True or 1? |
yes i tried this today by setting the value to 1 and it threw a lot if errors as if the jars werent loading. It also happens with the azure blob storage sdk that i tried with. |
please elaborate as to what more info you will need? |
Thank you @s3vhub we will need these information, this will be helpful.
For the runtime version, in the UI you will see it 3.x.x, in the over view section. Is it linux/windows? And if it is dedicated/premium or consumption. |
|
This setting basically, as mentioned in issue Azure/azure-functions-java-worker#381 If you can share region, with invocation Id, and partial app name we can check how much information we can gather. |
so for azure blob storage sdk i have added app service plan for the function app |
Thank you @s3vhub, please if you can retry the same working app with 1 again? As both should work https://github.com/Azure/azure-functions-java-worker/blob/dev/src/main/java/com/microsoft/azure/functions/worker/Util.java#L5 Please let us know once you confirm the datalake. Thank you so much for your support! |
sorry for the delay.will check and update |
I am seeing this issue with Java 11 as well. I have tried setting FUNCTIONS_WORKER_JAVA_LOAD_APP_LIBS to true / 1. OS = Linux Maven dependency for
|
The java sdk link: https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.0.0-preview.6/index.html
Based on my own troubleshooting, the code always hangs on the line :
fileSystemClient.listPaths().forEach( path -> context.getLogger().info(path.getName()));
No any responses here. I tested above code outside Azure function, let's say the Main method,everything works. So i think the code is fine. Anyone met the same issue as same as me. Is there any restrictions in the Azure Function to access ADLS gen2 with java sdk? Please help.
The text was updated successfully, but these errors were encountered: