Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B5A718365 for ; Thu, 24 Sep 2015 19:22:08 +0000 (UTC) Received: (qmail 75466 invoked by uid 500); 24 Sep 2015 19:22:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 75375 invoked by uid 500); 24 Sep 2015 19:22:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 75111 invoked by uid 99); 24 Sep 2015 19:22:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 19:22:04 +0000 Date: Thu, 24 Sep 2015 19:22:04 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-9138) TestDatanodeStartupFixesLegacyStorageIDs fails on Windows due to failure to unpack old image tarball that contains hard links MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HDFS-9138: -------------------------------- Status: Patch Available (was: Open) > TestDatanodeStartupFixesLegacyStorageIDs fails on Windows due to failure to unpack old image tarball that contains hard links > ----------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-9138 > URL: https://issues.apache.org/jira/browse/HDFS-9138 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Minor > Attachments: HDFS-9138.001.patch > > > {{TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22via26FixesStorageIDs}} uses a checked-in DataNode data directory that contains hard links. The hard links cannot be handled correctly by the commons-compress library used in the Windows implementation of {{FileUtil#unTar}}. The result is that the unpacked block files have 0 length, the block files reported to the NameNode are invalid, and therefore the mini-cluster never gets enough good blocks reported to leave safe mode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)