Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3995

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.18.0
    • 0.18.1
    • None
    • None
    • Reviewed
    • 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

      Attachments

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

        Activity

          People

            rangadi Raghu Angadi
            rangadi Raghu Angadi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: