Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8077

Erasure coding: fix bug in EC zone and symlinks

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7285
    • None
    • None
    • Reviewed

    Description

      EC zone manager tries to get XAttr of an inode to determine the EC policy, which doesn't work with symlinks. This patch has a simple fix to get rid of test failures.

      Ideally we should also add logic to disallow creating symlinks in several EC-related scenarios. But since symlinks are disabled in branch-2 and will likely be disabled in trunk, this step is skipped now.

      The patch also fixes a small test error around getBlockReplication

      Attachments

        1. HDFS-8077.002.patch
          17 kB
          Jing Zhao
        2. HDFS-8077.001.patch
          15 kB
          Jing Zhao
        3. HDFS-8077-000.patch
          2 kB
          Zhe Zhang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jingzhao Jing Zhao
            zhz Zhe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment