ReactorMetadataEventBus closed when saving entities in Kylo

Description

After Kylo v0.8.0 snapshot does its upgrade it fails to save anything with this error:

java.lang.IllegalArgumentException: This Dispatcher has been shut down.
at reactor.core.support.Assert.isTrue(Assert.java:61)
at reactor.core.dispatch.AbstractLifecycleDispatcher.dispatch(AbstractLifecycleDispatcher.java:111)
at reactor.bus.EventBus.notify(EventBus.java:368)
at com.thinkbiganalytics.metadata.event.reactor.ReactorMetadataEventService.notify(ReactorMetadataEventService.java:75)

Activity

Show:
Scott Reisdorf
April 13, 2017, 4:21 AM

The issue is with the ReactorConfiguration class that creates the Reactor beans.
The Upgrade application creates new bean instances during each upgrade before it finally launches the final kylo-services app.

This Bean is stale during the second launch of kylo-services since it was already initialized in the upgrade app

A fix is to do something like this:

Done

Assignee

Scott Reisdorf

Reporter

Scott Reisdorf

Labels

None

Reviewer

None

Sprint

None

Fix versions

Priority

Medium