"Hi Salt,
The error is due to the wrong version of the
system cdap-data-streams jar being used. The first time CDAP starts up,
it loads a bunch of system artifacts, and will use the spark version to
load a spark specific version of the cdap-data-streams artifact. If you
have changed spark versions, you will need to first delete those
artifacts, then reload them in order to pick up the changes.
curl -X DELETE <host>:<port>/v3/namespaces/system/artifacts/cdap-data-pipeline/versions/4.2.0
curl -X DELETE <host>:<port>/v3/namespaces/system/artifacts/cdap-data-streams/versions/4.2.0
curl -X POST <host>:<port>/v3/namespaces/system/artifacts
As
for your plugin, you shouldn't bundle hydrator-spark-core in it, as it
contains internal code used to run the actual pipeline. That dependency
should have test scope in your pom.
Regards,
Albert"