Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Can't delete snapshots - snapshot read only modification disallowed

avatar

Hello All!

I'm working as the snapshot directory owner, but

hdfs dfs -deleteSnapshot /path/.snapshot s201605-17-115857.294

returns with

deleteSnapshot: Modification on a read-only snapshot is disallowed 

Trying to change the permissions on the .snapshot directory also returns Modification...disallowed.

What can I do?

1 ACCEPTED SOLUTION

avatar
Super Guru

@R Wys

Can you please try this? just remove .snapshot directory.

hdfs dfs -deleteSnapshot /path/ s201605-17-115857.294

View solution in original post

2 REPLIES 2

avatar
Super Guru

@R Wys

Can you please try this? just remove .snapshot directory.

hdfs dfs -deleteSnapshot /path/ s201605-17-115857.294

avatar

It was as simple as removing the /.snapshot from the path?!

Thanks @Jitendra Yadav , clearly time for me to take a break...!