hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya Sunil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4735) DisallowSnapshot throws IllegalStateException
Date Tue, 23 Apr 2013 21:43:16 GMT
Ramya Sunil created HDFS-4735:
---------------------------------

             Summary: 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

Mime
View raw message