[ 
https://issues.apache.org/jira/browse/HADOOP-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erik Krogen updated HADOOP-9631:
--------------------------------
    Attachment: HADOOP-9631.006.patch

Forgot a try/catch... My mistake. 

One note - to maintain backwards compatibility, if you call 
{{ViewFs#getServerDefaults()}} (with no argument) or call it on one of the 
internal directories, you just get the {{LocalConfigKeys.getServerDefaults()}} 
(maintaining existing behavior). This is in contrast to {{ViewFileSystem}}'s 
behavior in which either of these calls results in a 
{{NotInMountpointException}}.

> ViewFs should use underlying FileSystem's server side defaults
> --------------------------------------------------------------
>
>                 Key: HADOOP-9631
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9631
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, viewfs
>    Affects Versions: 2.0.4-alpha
>            Reporter: Lohit Vijayarenu
>            Assignee: Erik Krogen
>              Labels: BB2015-05-TBR
>         Attachments: HADOOP-9631.005.patch, HADOOP-9631.006.patch, 
> HADOOP-9631.trunk.1.patch, HADOOP-9631.trunk.2.patch, 
> HADOOP-9631.trunk.3.patch, HADOOP-9631.trunk.4.patch, TestFileContext.java
>
>
> On a cluster with ViewFS as default FileSystem, creating files using 
> FileContext will always result with replication factor of 1, instead of 
> underlying filesystem default (like HDFS)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to