Open
Conversation
Contributor
itsankit-google
left a comment
There was a problem hiding this comment.
I see some warnings in the unit tests build:
5/07/09 05:45:17 WARN ErrorDetails: Unable to instantiate errorDetailsProvider class 'io.cdap.plugin.http.common.HttpErrorDetailsProvider'.
java.lang.ClassCastException: io.cdap.plugin.http.common.HttpErrorDetailsProvider cannot be cast to io.cdap.cdap.etl.api.exception.ErrorDetailsProvider
at io.cdap.cdap.etl.common.ErrorDetails.getErrorDetailsProvider(ErrorDetails.java:52)
at io.cdap.cdap.etl.spark.io.StageTrackingOutputFormat.getOutputCommitter(StageTrackingOutputFormat.java:86)
at org.apache.spark.internal.io.HadoopMapReduceCommitProtocol.setupCommitter(HadoopMapReduceCommitProtocol.scala:116)
at org.apache.spark.internal.io.HadoopMapReduceCommitProtocol.setupTask(HadoopMapReduceCommitProtocol.scala:269)
at org.apache.spark.internal.io.SparkHadoopWriter$.executeTask(SparkHadoopWriter.scala:123)
at org.apache.spark.internal.io.SparkHadoopWriter$.$anonfun$write$1(SparkHadoopWriter.scala:88)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
25/07/09 05:45:17 WARN ErrorDetails: Unable to instantiate errorDetailsProvider class 'io.cdap.plugin.http.common.HttpErrorDetailsProvider'.
java.lang.ClassCastException: io.cdap.plugin.http.common.HttpErrorDetailsProvider cannot be cast to io.cdap.cdap.etl.api.exception.ErrorDetailsProvider
at io.cdap.cdap.etl.common.ErrorDetails.getErrorDetailsProvider(ErrorDetails.java:52)
at io.cdap.cdap.etl.spark.io.StageTrackingOutputFormat.getRecordWriter(StageTrackingOutputFormat.java:54)
at org.apache.spark.internal.io.HadoopMapReduceWriteConfigUtil.initWriter(SparkHadoopWriter.scala:360)
at org.apache.spark.internal.io.SparkHadoopWriter$.executeTask(SparkHadoopWriter.scala:126)
at org.apache.spark.internal.io.SparkHadoopWriter$.$anonfun$write$1(SparkHadoopWriter.scala:88)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
25/07/09 05:45:17 WARN ErrorDetails: Unable to instantiate errorDetailsProvider class 'io.cdap.plugin.http.common.HttpErrorDetailsProvider'.
java.lang.ClassCastException: io.cdap.plugin.http.common.HttpErrorDetailsProvider cannot be cast to io.cdap.cdap.etl.api.exception.ErrorDetailsProvider
at io.cdap.cdap.etl.common.ErrorDetails.getErrorDetailsProvider(ErrorDetails.java:52)
at io.cdap.cdap.etl.spark.io.StageTrackingOutputFormat.getOutputCommitter(StageTrackingOutputFormat.java:86)
at org.apache.spark.internal.io.HadoopMapReduceCommitProtocol.setupCommitter(HadoopMapReduceCommitProtocol.scala:116)
at org.apache.spark.internal.io.HadoopMapReduceCommitProtocol.setupTask(HadoopMapReduceCommitProtocol.scala:269)
at org.apache.spark.internal.io.SparkHadoopWriter$.executeTask(SparkHadoopWriter.scala:123)
at org.apache.spark.internal.io.SparkHadoopWriter$.$anonfun$write$1(SparkHadoopWriter.scala:88)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
25/07/09 05:45:17 WARN ErrorDetails: Unable to instantiate errorDetailsProvider class 'io.cdap.plugin.http.common.HttpErrorDetailsProvider'.
java.lang.ClassCastException: io.cdap.plugin.http.common.HttpErrorDetailsProvider cannot be cast to io.cdap.cdap.etl.api.exception.ErrorDetailsProvider
at io.cdap.cdap.etl.common.ErrorDetails.getErrorDetailsProvider(ErrorDetails.java:52)
at io.cdap.cdap.etl.spark.io.StageTrackingOutputFormat.getRecordWriter(StageTrackingOutputFormat.java:54)
at org.apache.spark.internal.io.HadoopMapReduceWriteConfigUtil.initWriter(SparkHadoopWriter.scala:360)
at org.apache.spark.internal.io.SparkHadoopWriter$.executeTask(SparkHadoopWriter.scala:126)
at org.apache.spark.internal.io.SparkHadoopWriter$.$anonfun$write$1(SparkHadoopWriter.scala:88)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:136)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Are these expected?
itsankit-google
requested changes
Jul 9, 2025
Contributor
itsankit-google
left a comment
There was a problem hiding this comment.
Results :
Tests in error:
HttpStreamingSourceETLTest>HttpSourceETLTest.testIncrementAnIndexXml:166->getPipelineResults:75->waitForRecords:115 » ConditionTimeout
Tests run: 87, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:24 min (Wall Clock)
[INFO] Finished at: 2025-07-09T05:51:22Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project http-plugins: There are test failures.
Please fix build failures
3878da4 to
aed88b0
Compare
aed88b0 to
53cd51a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CDAP OSS migration