Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

how to retrieve the deleted zeppelin notebooks in 0.8.0 version

Explorer

Hi Team,

Is it possible to retrieve deleted zeppelin notebooks in 0.8.0 version (HDP 3.0.1) ,if its possible please suggest how to do.

Regards,

Rajendra

1 ACCEPTED SOLUTION

Super Collaborator

@rajendra babu From hdp 2.6.3 zeppelin store notebooks under hdfs location: /user/zeppelin/notebook/ , as you have deleted notebook you can re-store it from trash.

Check if that notebook exists under trash directory or not

View solution in original post

8 REPLIES 8

Explorer

@Felix Albani Hi Felix, could you please advise us on this.

Hi @rajendra babu,

are you saving your notebooks in local storage? if that's the case, unfortunately, we cannot do anything here

you can save the notebooks other than local storage referring to this help: https://zeppelin.apache.org/docs/0.8.0/setup/storage/storage.html#notebook-storage-in-zeppelinhub

This will help you recover the notebooks if you are using GIT, MongoDB or zeppelinhub.

It is recommended to have 2 notebook repo so that you have at least another copy of your note.

@scharan any views on this ?

Explorer

Thank you @Akhil S Naik for supporting.

Super Collaborator

@rajendra babu From hdp 2.6.3 zeppelin store notebooks under hdfs location: /user/zeppelin/notebook/ , as you have deleted notebook you can re-store it from trash.

Check if that notebook exists under trash directory or not

Explorer

Hi @scharan,

Great Job!

Its working fine for me, may i know how much time trash is holds the deleted notebooks.

Super Collaborator
@rajendra

check fs.trash.interval time in hdfs , files deleted completely after the trash interval time. you can restore before trash.interval time

Explorer

@scharan i have checked fs.trash.interval is 360 minutes so can we increase this time interval if yes what was the range.

Explorer

@scharan I have deleted my notebook on 03-01-19 at 18:00 with respect to my cluster configuration fs.trash.interval is 360minutes i.e., 6hours even though after 15hours Trash still holds my deleted notebooks.

Any help on this.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.