Xun Liu created ZEPPELIN-4208: --------------------------------- Summary: Cluster synchronize InterpreterSetting Key: ZEPPELIN-4208 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4208 Project: Zeppelin Issue Type: Sub-task Components: zeppelin-zengine Reporter: Xun Liu Assignee: Xun Liu Fix For: 0.9.0
In cluster mode, The user creates, modifies, and deletes the InterpreterSetting on any of the zeppelin servers. All need to be notified to all the zeppelin servers in the cluster to synchronize the update of InterpreterSetting. Failure to do so will result in the user not being able to continue while switching to another server. 1. Listen for note update events Listen for the NEW_INTERPRETER_SETTING、DEL_INTERPRETER_SETTING、UPDATE_INTERPRETER_SETTING ... event of the InterpreterSetting in the InterpreterSettingManager#onMessage() function. 2. Broadcast note update event The note is refreshed by notifying the event to all zeppelin servers in the cluster via messagingService. -- This message was sent by Atlassian JIRA (v7.6.3#76005)