renameTo(src, dst) does not restore src name in case of quota failure.
----------------------------------------------------------------------
Key: HADOOP-3995
URL: https://issues.apache.org/jira/browse/HADOOP-3995
Project: Hadoop Core
Issue Type: Bug
Affects Versions: 0.18.0
Reporter: Raghu Angadi
Assignee: Raghu Angadi
How to reproduce :
set up quota such that 'hadoop -mv src dst' results in a 'quota excceeded'
exception.
* Now try : {{hadoop -mv src dst/src}}
** This fails as expected and 'src' exists after this as expected
* Now try : {{hadoop -mv src dst/diffname}}
** This fails as expected
** buf 'src' does not exist after this, you will find 'diffname' directory
in its place
I think fix should go into 0.18.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.