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

Andras Bokor resolved HADOOP-7031.
----------------------------------
    Resolution: Won't Fix

There was no activity or at least new watcher on this issue in the last 7 years 
so closing for now.

> Make DelegateToFileSystem constructor public to allow implementations from 
> other packages for testing
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7031
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7031
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Krishna Ramachandran
>            Priority: Major
>
> Mapreduce tests use ileSystem APIs to implement a TestFileSystem to simulate 
> various error and failure conditions. This is no longer possible with the new 
> FileContext APIs
> for example we would like to extend DelegateToFileSystem in unit testing 
> framework 
>   public static class TestFileSystem extends DelegateToFileSystem {
>     public TestFileSystem(Configuration conf) throws IOException, 
> URISyntaxException {
>       super(URI.create("faildel:///"), new FakeFileSystem(conf), conf, 
> "faildel",
>           false);
>     }
>   }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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