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

ViewFileSystem#rename should support be supported within same nameservice with different mountpoints

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1, 2.8.3
    • viewfs
    • None
    • Reviewed

    Description

      Scenario:

      Mount Point NameService Value
      /tmp hacluster /tmp
      /user hacluster /user

      Move file from /tmp to /user
      It will fail by throwing the following error

      Caused by: java.io.IOException: Renames across Mount points not supported
              at org.apache.hadoop.fs.viewfs.ViewFileSystem.rename(ViewFileSystem.java:500)
              at org.apache.hadoop.hive.ql.metadata.Hive.moveFile(Hive.java:2692)
              ... 22 more
      

      Attachments

        1. HADOOP-14455.patch
          11 kB
          Brahma Reddy Battula
        2. HADOOP-14455-002.patch
          11 kB
          Brahma Reddy Battula
        3. HADOOP-14455-003.patch
          26 kB
          Brahma Reddy Battula
        4. HADOOP-14455-004.patch
          27 kB
          Brahma Reddy Battula
        5. HADOOP-14455-005.patch
          27 kB
          Brahma Reddy Battula
        6. HADOOP-14455-006.patch
          27 kB
          Brahma Reddy Battula
        7. HADOOP-14455-007.patch
          27 kB
          Brahma Reddy Battula
        8. HADOOP-14455-brach-2-007.patch
          27 kB
          Brahma Reddy Battula
        9. HADOOP-14455-branch-2-007.patch
          27 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            brahmareddy Brahma Reddy Battula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: