You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/04/05 01:54:15 UTC

[jira] [Resolved] (HDFS-4647) llegalStateException renaming file under snapshottable directory

     [ https://issues.apache.org/jira/browse/HDFS-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE resolved HDFS-4647.
------------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

I have committed this.  Thanks, Arpit!

Thanks also Jing for reviewing the patch.
                
> llegalStateException renaming file under snapshottable directory
> ----------------------------------------------------------------
>
>                 Key: HDFS-4647
>                 URL: https://issues.apache.org/jira/browse/HDFS-4647
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: Snapshot (HDFS-2802)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: HDFS-4647.2.patch, HDFS-4647.patch, HDFS-4647.patch
>
>
> To repro:
> hadoop fs -mkdir /1
> hdfs dfsadmin -allowSnapsot /1
> hadoop fs -createSnapshot /1 snap1
> hadoop fs -put f1 /1
> Final command throws:
> put: java.lang.IllegalStateException

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