Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

how to retrieve the deleted zeppelin notebooks in 0.8.0 version

SOLVED Go to solution

how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

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

Accepted Solutions

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

Rising Star

@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

8 REPLIES 8

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

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

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

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 ?

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

Thank you @Akhil S Naik for supporting.

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

Rising Star

@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

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

Hi @scharan,

Great Job!

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

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

Rising Star
@rajendra

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

Highlighted

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

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

Re: how to retrieve the deleted zeppelin notebooks in 0.8.0 version

New Contributor

@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.