-
Notifications
You must be signed in to change notification settings - Fork 25
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
Getting error in "refreshIngestionResources" - Could not initialize class com.azure.core.http.policy.HttpPolicyProviders #129
Comments
What version are you testing with. How are you installing the connector ? Do you use the confluent hub store to install the connector ? . Can you check if you have used the uber jar in case you are uploading to the plugin path in the Connect runtime ? |
@ag-ramachandran Any analysis from your end for the issue? I will be working on deploying a local KConnect to test this out. When I previously tried, I got the same logs/errors and the task failed in Kconnect as well. I will try further and get back by this week, but do we have an update for the confluent usage? |
@Srivathsan97 , local tests failed to replicate the issue you face. Was waiting on the confirmation tests you were to try. I will have a look at it later tghis week as well |
@Srivathsan97 , Just looked at ingestion telemetry to see if 4.1.2 seems to have an issue Saw about 30 distinct hosts in the last 2 hours using this version too, so I will have a look at this only tomorrow or so when I can try a full replication |
@ag-ramachandran : Additionally, please find the config I used: Also, following are additional stack traces: " Hope this helps. Regards |
Thanks for the detail 2 points @Srivathsan97 a) Are you using some other azure connectors as well in the Kafka Connect instance ( to clear any issues on classpath) b) Were you able to try with Uber jars. It will take a couple of days for me to set up the right infra for me to test a similar set up. Will keep this ticket updated in case of a replication |
@ag-ramachandran : I have tried using the Uber jars in KConnect in Confluent Platform and data moved into the table in Kusto.
Also, raised a ticket with the confluent to look into the same. |
Sure @Srivathsan97 , email is on the profile in case you want to have a working session to look at the issue |
@ag-ramachandran : The data flow via local KConnect runtime, using Confluent Platform, is now working and we can see the data flow for both the tables. But in confluent cloud, we still don't have a solution and the confluent team are looking into it. |
Hello @Srivathsan97 , we can have a look on Monday if it works for you. My email is in the GH profile - ramacg at my org, in case you want to discuss on call. I work IST |
We are testing the usage of the Kusto connector to connect Confluent with Kusto.
We downloaded the module and uploaded the plugin/module into Confluent for using it.
After filling in the necessary details, we were able to create the connector. The connector is "RUNNING," but it couldn't connect to the Kusto due to the error shown on the screenshots below.
(FYI: The Screenshots were taken from Confluent Cloud UI)
Error:
`_Error in refreshIngestionResources: Could not initialize class com.azure.core.http.policy.HttpPolicyProviders
Could not initialize class com.azure.core.http.policy.HttpPolicyProviders
Hide stacktrace
com.microsoft.azure.kusto.ingest.exceptions.IngestionClientException: Could not initialize class com.azure.core.http.policy.HttpPolicyProviders
at com.microsoft.azure.kusto.ingest.ResourceManager$RefreshIngestionResourcesTask.refreshIngestionResources(ResourceManager.java:174)
at com.microsoft.azure.kusto.ingest.ResourceManager$RefreshIngestionResourcesTask.lambda$run$0(ResourceManager.java:136)
at com.microsoft.azure.kusto.data.instrumentation.MonitoredActivity.invoke(MonitoredActivity.java:33)
at com.microsoft.azure.kusto.data.instrumentation.MonitoredActivity.invoke(MonitoredActivity.java:26)
at com.microsoft.azure.kusto.ingest.ResourceManager$RefreshIngestionResourcesTask.run(ResourceManager.java:135)
at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
at java.base/java.util.TimerThread.run(Timer.java:516)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.azure.core.http.policy.HttpPolicyProviders
at com.azure.storage.blob.implementation.util.BuilderHelper.buildPipeline(BuilderHelper.java:103)
at com.azure.storage.blob.BlobContainerClientBuilder.buildAsyncClient(BlobContainerClientBuilder.java:163)
at com.azure.storage.blob.BlobContainerClientBuilder.buildClient(BlobContainerClientBuilder.java:124)
at com.microsoft.azure.kusto.ingest.resources.ContainerWithSas.(ContainerWithSas.java:24)
at com.microsoft.azure.kusto.ingest.ResourceManager$RefreshIngestionResourcesTask.addIngestionResource(ResourceManager.java:185)
at com.microsoft.azure.kusto.ingest.ResourceManager$RefreshIngestionResourcesTask.refreshIngestionResources(ResourceManager.java:161)
... 6 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.util.ServiceConfigurationError: com.azure.core.http.policy.AfterRetryPolicyProvider: io.opentelemetry.javaagent.instrumentation.azurecore.v1_19.shaded.com.azure.core.tracing.opentelemetry.OpenTelemetryHttpPolicy not a subtype [in thread "Timer-12"]
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
at java.base/java.lang.Iterable.forEach(Iterable.java:74)
at com.azure.core.http.policy.HttpPolicyProviders.(HttpPolicyProviders.java:61)
... 12 more_`
I saw that there were changes made to the parent modules in the following repo: Azure/azure-kusto-java@d73eeb3
Could that have caused any issue here?
Can anyone please work on this as it is hindering out testing?
The text was updated successfully, but these errors were encountered: