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 Wed, 12 Jun 2013 04:21:22 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.2.patch

While trying to see why testcases failed, realized that there is easy way to this. In the
end each filesystem has ServerDefaults, so in viewfs we just had to pick right filesystem
and pass it down. Made a change to use homedirectory path and chose underlying filesystem.
Attaching new patch with this change. Now all viewfs tests as well as new test works.
> 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, 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

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

View raw message