Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 951D8200C2A for ; Wed, 1 Mar 2017 20:02:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 93BE1160B70; Wed, 1 Mar 2017 19:02:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9E12160B56 for ; Wed, 1 Mar 2017 20:02:53 +0100 (CET) Received: (qmail 49773 invoked by uid 500); 1 Mar 2017 19:02:52 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 49762 invoked by uid 99); 1 Mar 2017 19:02:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2017 19:02:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 26854C05AA for ; Wed, 1 Mar 2017 19:02:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id nWWo9gVKl-xp for ; Wed, 1 Mar 2017 19:02:51 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C8FF25F1EE for ; Wed, 1 Mar 2017 19:02:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 97610E04FE for ; Wed, 1 Mar 2017 19:02:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4D3312415C for ; Wed, 1 Mar 2017 19:02:45 +0000 (UTC) Date: Wed, 1 Mar 2017 19:02:45 +0000 (UTC) From: "Erik Krogen (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-14136) Default FS For ViewFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Mar 2017 19:02:54 -0000 Erik Krogen created HADOOP-14136: ------------------------------------ Summary: Default FS For ViewFS Key: HADOOP-14136 URL: https://issues.apache.org/jira/browse/HADOOP-14136 Project: Hadoop Common Issue Type: Improvement Components: viewfs Reporter: Erik Krogen It would be useful if ViewFS had the ability to designate one FileSystem as a "primary"/"default" to fall back to in the case that an entry in the mount table is not found. Consider the situation when you have a mount table that looks like: {code} /data -> hdfs://nn1/data /logs -> hdfs://nn1/logs /user -> hdfs://nn1/user /remote -> hdfs://nn2/remote {code} {{nn1}} here is being used as the primary, with a specific directory 'remote' being offloaded to another namenode. This works, but if we want to add another top-level directory to {{nn1}}, we have to update all of our client-side mount tables. Merge links (HADOOP-8298) could be used to achieve this but they do not seem to be coming soon; this special case of a default FS is much simpler - try to resolve through the VFS mount table, if not found, then resolve to the defaultFS. There is a good discussion of this at https://issues.apache.org/jira/browse/HADOOP-13055?focusedCommentId=15733822&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15733822 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org