[
https://issues.apache.org/jira/browse/HDFS-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramya Sunil updated HDFS-4735:
------------------------------
Component/s: (was: datanode)
(was: namenode)
> DisallowSnapshot throws IllegalStateException
> ---------------------------------------------
>
> Key: HDFS-4735
> URL: https://issues.apache.org/jira/browse/HDFS-4735
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Ramya Sunil
> Fix For: Snapshot (HDFS-2802)
>
>
> After a long running stress test for snapshots, disallow snapshot throws
> IllegalStateException
> -bash-4.1$ hadoop dfs -rmr -skipTrash /user/foo/hdfs-snapshots
> rmr: cannot remove /user/foo/hdfs-snapshots: No such file or directory.
> -bash-4.1$ /usr/lib/hadoop/bin/hadoop dfs -mkdir
> /user/foo/hdfs-snapshots/test2
> -bash-4.1$ /usr/lib/hadoop/bin/hadoop dfsadmin -allowSnapshot
> /user/foo/hdfs-snapshots/test2
> Allowing snaphot on /user/foo/hdfs-snapshots/test2 succeeded
> -bash-4.1$ /usr/lib/hadoop/bin/hadoop dfsadmin -disallowSnapshot
> /user/foo/hdfs-snapshots/test2
> disallowSnapshot: java.io.IOException: java.lang.IllegalStateException: this
> is already an INodeDirectoryWithSnapshot, this=test2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira