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 CA13010B97 for ; Mon, 7 Oct 2013 18:39:54 +0000 (UTC) Received: (qmail 24385 invoked by uid 500); 7 Oct 2013 18:39:47 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 24298 invoked by uid 500); 7 Oct 2013 18:39:46 -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 24249 invoked by uid 99); 7 Oct 2013 18:39:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Oct 2013 18:39:44 +0000 Date: Mon, 7 Oct 2013 18:39:44 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5313) NameNode hangs during startup trying to apply OP_ADD_PATH_BASED_CACHE_DIRECTIVE. 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-5313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788417#comment-13788417 ] Colin Patrick McCabe commented on HDFS-5313: -------------------------------------------- This code path is changing in HDFS-5096 to fix this and other issues, so we should probably dupe this JIRA to that one. > NameNode hangs during startup trying to apply OP_ADD_PATH_BASED_CACHE_DIRECTIVE. > -------------------------------------------------------------------------------- > > Key: HDFS-5313 > URL: https://issues.apache.org/jira/browse/HDFS-5313 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: HDFS-4949 > Reporter: Chris Nauroth > > During namenode startup, if the edits contain a {{OP_ADD_PATH_BASED_CACHE_DIRECTIVE}} for an existing file, then the process hangs while trying to apply the op. This is because of a call to {{FSDirectory#setCacheReplication}}, which calls {{FSDirectory#waitForReady}}, but of course nothing is ever going to mark the directory ready, because it's still in the process of loading. -- This message was sent by Atlassian JIRA (v6.1#6144)