Support Questions

Find answers, ask questions, and share your expertise

Can't delete snapshots - snapshot read only modification disallowed

avatar
Contributor

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
Contributor

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

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