Hadoop Common
  1. Hadoop Common
  2. HADOOP-3995

renameTo(src, dst) does not restore src name in case of quota failure.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      In case of quota failure on HDFS, rename does not restore source filename.
      Show
      In case of quota failure on HDFS, rename does not restore source filename.

      Description

      How to reproduce :

      set up quota such that 'hadoop -mv src dst' results in a 'quota excceeded' exception.

      • 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

      1. HADOOP-3995-trunk.patch
        2 kB
        Raghu Angadi
      2. HADOOP-3995-018.patch
        2 kB
        Raghu Angadi
      3. HADOOP-3995-018.patch
        2 kB
        Raghu Angadi

        Activity

          People

          • Assignee:
            Raghu Angadi
            Reporter:
            Raghu Angadi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development