My experience is that to save to S3, you don't need to press that button at 
all. Just executing any paragraph seems to be enough, doesn't matter which 
interpreter. I often run a markdown paragraph if I want to save spark code that 
I am not ready to execute.
That button is more of a workbook reload

From: Partridge, Lucas (GE Aviation)<mailto:lucas.partri...@ge.com>
Sent: Friday, 28 July 2017 12:17 AM
To: users@zeppelin.apache.org<mailto:users@zeppelin.apache.org>
Subject: FW: "Reload notes from storage" button overwrites recent edits

Bump: “is this a known issue in Zeppelin; or is there a recommended way of 
syncing with S3 so that only the notebooks of the user who hits that button get 
refreshed?”

Has no one else encountered this problem of notebook refreshing overwriting 
other users’ edits?

Dropbox, Box, Steam, etc handle syncing of files between devices and cloud 
storage without the need for a refresh button at all, but I guess it would be a 
big job to replicate this behaviour in Zeppelin.

From: Partridge, Lucas (GE Aviation)
Sent: 25 July 2017 10:10
To: users@zeppelin.apache.org
Subject: EXT: "Reload notes from storage" button overwrites recent edits

When a user clicks on this button on the Zeppelin homepage:
[Screen Clipping]
…which notebooks are reloaded from storage: all the notebooks, or only the 
notebooks that belong to the user who clicked the refresh button?

Unfortunately in our setup, where all the notebooks are backed up on S3, it 
appears to be all the notebooks. This means that if any user on the multi-user 
system hits that button, then any notebook edits made since the last backup to 
S3 made by any user will be overwritten by the old copies.  This is immensely 
frustrating for the users who lose their edits! So, is this a known issue in 
Zeppelin; or is there a recommended way of syncing with S3 so that only the 
notebooks of the user who hits that button get refreshed?

BTW when the sync with S3 or wherever occurs, aren’t the timestamps of the 
individual files compared first to determine which ways the files should be 
copied? If the S3 copy is newer then the local notebook should be overwritten 
(assuming times are in sync between the zeppelin host and S3). If the local 
copy is newer than that should be used to overwrite the copy in S3.  If this 
process were followed then it wouldn’t matter if everyone’s notebooks were 
updated when someone hits that button. This assumes Zeppelin can tell if 
someone is actively editing a paragraph that hasn’t even been executed yet 
though.

Reply via email to