Skip to content
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

Startup fails with more then one partition #23

Closed
menski opened this issue Oct 29, 2018 · 0 comments · Fixed by #27
Closed

Startup fails with more then one partition #23

menski opened this issue Oct 29, 2018 · 0 comments · Fixed by #27
Labels

Comments

@menski
Copy link
Contributor

menski commented Oct 29, 2018

If I start the exporter with more then one partition configured one exporter fails because the h2 file already exists. The exporter should allow to be used with more then one partition and just handle that the file already exists.

21:06:55.567 [0.0.0.0:26501-zb-actors-1] ERROR io.zeebe.util.actor - Actor failed in phase 'STARTED'. Continue with next job.
java.lang.RuntimeException: java.nio.file.FileSystemAlreadyExistsException
	at io.zeebe.monitor.SimpleMonitorExporter.createTables(SimpleMonitorExporter.java:150) ~[zeebe-simple-monitor-exporter-0.7.0.jar:0.7.0]
	at io.zeebe.monitor.SimpleMonitorExporter.open(SimpleMonitorExporter.java:125) ~[zeebe-simple-monitor-exporter-0.7.0.jar:0.7.0]
	at io.zeebe.broker.exporter.stream.ExporterStreamProcessor.onRecovered(ExporterStreamProcessor.java:120) ~[zeebe-broker-core-0.12.0.jar:0.12.0]
	at io.zeebe.logstreams.processor.StreamProcessorController.onRecovered(StreamProcessorController.java:272) ~[zb-logstreams-0.12.0.jar:0.12.0]
	at io.zeebe.logstreams.processor.StreamProcessorController.onActorStarted(StreamProcessorController.java:144) ~[zb-logstreams-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorJob.invoke(ActorJob.java:87) ~[zb-util-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorJob.execute(ActorJob.java:53) [zb-util-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorTask.execute(ActorTask.java:187) [zb-util-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorThread.executeCurrentTask(ActorThread.java:154) [zb-util-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorThread.doWork(ActorThread.java:135) [zb-util-0.12.0.jar:0.12.0]
	at io.zeebe.util.sched.ActorThread.run(ActorThread.java:112) [zb-util-0.12.0.jar:0.12.0]
Caused by: java.nio.file.FileSystemAlreadyExistsException
	at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:113) ~[zipfs.jar:1.8.0_192]
	at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326) ~[?:1.8.0_192]
	at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276) ~[?:1.8.0_192]
	at io.zeebe.monitor.SimpleMonitorExporter.createTables(SimpleMonitorExporter.java:141) ~[zeebe-simple-monitor-exporter-0.7.0.jar:0.7.0]
	... 10 more
@menski menski added the bug label Oct 29, 2018
@saig0 saig0 closed this as completed in #27 Nov 12, 2018
nitram509 pushed a commit to nitram509/zeebe-simple-monitor that referenced this issue Nov 18, 2023
…revert-bootstrap-from-5.3.0-to-4.6.2

chore(deps): revert bootstrap from  5.3.0 to 4.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant