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 6E81010A14 for ; Thu, 2 Jan 2014 22:55:51 +0000 (UTC) Received: (qmail 72603 invoked by uid 500); 2 Jan 2014 22:55:50 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 72466 invoked by uid 500); 2 Jan 2014 22:55:50 -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 72457 invoked by uid 99); 2 Jan 2014 22:55:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 22:55:50 +0000 Date: Thu, 2 Jan 2014 22:55:50 +0000 (UTC) From: "Brandon Li (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5712) ViewFS should check the existence of the mapped namespace directories in the mount table MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Brandon Li created HDFS-5712: -------------------------------- Summary: ViewFS should check the existence of the mapped namespace directories in the mount table Key: HDFS-5712 URL: https://issues.apache.org/jira/browse/HDFS-5712 Project: Hadoop HDFS Issue Type: Bug Components: federation Affects Versions: 3.0.0 Reporter: Brandon Li ViewFS doesn't validate the mount table mapping. Even the mapped directory on NameNode doesn't exist, list directories or "dfs -ls" command can still show the mapped directory. This confuses users and applications when they try to create files under the mapped directories. They will get file-not-exist error but viewfs shows the directory exists. It would be less misleading if ViewFS can validate the mount table and report found errors. -- This message was sent by Atlassian JIRA (v6.1.5#6160)