Hi Tim,
thanks a lot for starting the release process.
I wanted to share my testing experience with the newly released StreamPipes
version 0.93.0.
While I successfully set up a new StreamPipes instance and found everything to
be functioning as expected, I ran into an issue when attempting to update from
version 0.92.0 to 0.93.0.
I conducted these tests within a Docker environment. Next, I would like to
reproduce the error in an IDE setup. If anyone has a tip on how to easily set
up the migration scenario in an IDE, please let me know.
Description of the Problem: In version 0.92.0, I had created a machine data
simulator with a pipeline to store the data in the data lake, and everything
worked perfectly.
However, after updating to 0.93.0, I encountered a problem. The Connect view is
now broken, and I am unable to create a new adapter.
The running adapter and pipeline still seem to be functioning as expected, but
in the backend, I'm getting the following stack trace:
2023-11-09T15:49:59.813Z ERROR 1 --- [nio-8030-exec-1]
[.[.[.a.s.s.c.StreamPipesResourceConfig] : Servlet.service() for servlet
[org.apache.streampipes.service.core.StreamPipesResourceConfig] in context with
path [/streampipes-backend] threw exception
[org.lightcouch.DocumentConflictException: Conflict] with root cause
org.lightcouch.DocumentConflictException: Conflict
at org.lightcouch.CouchDbClientBase.validate(CouchDbClientBase.java:656)
at org.lightcouch.CouchDbClient$3.process(CouchDbClient.java:223)
at
org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:142)
at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:191)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at
org.lightcouch.CouchDbClientBase.executeRequest(CouchDbClientBase.java:480)
at org.lightcouch.CouchDbClientBase.put(CouchDbClientBase.java:589)
at org.lightcouch.CouchDbClientBase.save(CouchDbClientBase.java:318)
at
org.apache.streampipes.storage.couchdb.dao.PersistCommand.executeCommand(PersistCommand.java:38)
at
org.apache.streampipes.storage.couchdb.dao.PersistCommand.executeCommand(PersistCommand.java:27)
at
org.apache.streampipes.storage.couchdb.dao.DbCommand.execute(DbCommand.java:39)
at
org.apache.streampipes.storage.couchdb.dao.CrudDao.persist(CrudDao.java:40)
at
org.apache.streampipes.storage.couchdb.dao.AbstractDao.persist(AbstractDao.java:40)
at
org.apache.streampipes.storage.couchdb.impl.ExtensionsServiceStorageImpl.createElement(ExtensionsServiceStorageImpl.java:43)
at
org.apache.streampipes.storage.couchdb.impl.ExtensionsServiceStorageImpl.createElement(ExtensionsServiceStorageImpl.java:28)
at
org.apache.streampipes.manager.health.ServiceRegistrationManager.addService(ServiceRegistrationManager.java:64)
at
org.apache.streampipes.rest.impl.admin.ServiceRegistrationResource.registerService(ServiceRegistrationResource.java:62)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:756)
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:67)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:756)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
at
org.apache.streampipes.rest.impl.admin.ServiceRegistrationResource$$SpringCGLIB$$0.registerService(<generated>)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
Cheers,
Philipp
Von: Tim Bossenmaier <[email protected]>
Datum: Montag, 6. November 2023 um 11:05
An: [email protected] <[email protected]>
Betreff: Testing Release 0.93.0
Hi all,
as discussed, I have created the release branch for our upcoming version
0.93.0 [1].
In case there is anything left out that should be part of this release,
please let me know.
In this case, I'll take care of bringing these changes appropriately to the
release branch.
Please start testing and validating the release branch. For this release,
it is especially important to test the migration/update from an existing
0.92.0 instance to 0.93.0.
If you find any issues, please post them to the wiki [2] or the mailing
list.
Cheers,
Tim
[1] https://lists.apache.org/thread/ksrs3p8b2x0kt9v16covhs4fjvoly2m8
[2]
https://cwiki.apache.org/confluence/display/STREAMPIPES/0.93.0-Pre-Release-Checklist