hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9631) ViewFs should use underlying FileSystem's server side defaults
Date Tue, 18 Jun 2013 23:56:20 GMT

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

Lohit Vijayarenu updated HADOOP-9631:
-------------------------------------

    Attachment: HADOOP-9631.trunk.3.patch

Another try at this patch. Problem I was facing was passing down getServerDefaults() call
from InternalViewOfDir class. So, in ViewFs::getServerDeaults() did a match of mountpoints
and if there exists a matching mountpoint return the filesystem, else return LocalConfig as
earlier. This was needed so that we can handle case of FileNotFound, invalid dir/file creation
and such. 
                
> 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
>         Attachments: HADOOP-9631.trunk.1.patch, HADOOP-9631.trunk.2.patch, HADOOP-9631.trunk.3.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message