Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E76D418FE0 for ; Tue, 15 Mar 2016 08:21:31 +0000 (UTC) Received: (qmail 702 invoked by uid 500); 15 Mar 2016 08:15:39 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 97518 invoked by uid 500); 15 Mar 2016 08:15:38 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 93572 invoked by uid 99); 15 Mar 2016 08:15:36 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2016 08:15:36 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 569672C1F62 for ; Tue, 15 Mar 2016 08:15:36 +0000 (UTC) Date: Tue, 15 Mar 2016 08:15:36 +0000 (UTC) From: "dragon (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-10011) CLONE - Erasure coding: fix bug in EC zone and symlinks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 dragon created HDFS-10011: ----------------------------- Summary: CLONE - Erasure coding: fix bug in EC zone and symlinks Key: HDFS-10011 URL: https://issues.apache.org/jira/browse/HDFS-10011 Project: Hadoop HDFS Issue Type: Sub-task Reporter: dragon Assignee: Jing Zhao Fix For: HDFS-7285 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}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)