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

Vladimir Ozerov closed IGNITE-771.
----------------------------------

> IgniteHadoopFileSystem: avoid secondary filesystem creation if the default 
> mode is not PROXY
> --------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-771
>                 URL: https://issues.apache.org/jira/browse/IGNITE-771
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: sprint-4
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>             Fix For: 1.6
>
>
> See org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem#initialize() .
> Here we determining if to init secondary Fs here: 
> If the default mode is e.g. DUAL_ASYNC (default), and there are no paths with 
> other modes, the initSecondary should be false.
> But it appears that this is not the case, and 2ndary Fs is created.
> Need to investigate why.
> {code}
>             if (!initSecondary && paths.pathModes() != null && 
> !paths.pathModes().isEmpty()) {
>                 for (T2<IgfsPath, IgfsMode> pathMode : paths.pathModes()) {
>                     IgfsMode mode = pathMode.getValue();
>                     if (mode == PROXY) {
>                         initSecondary = true;
>                         break;
>                     }
>                 }
>             }
>             if (initSecondary) {
>                  .....
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to