You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/09/14 13:35:46 UTC
[jira] [Updated] (IGNITE-771) IgniteHadoopFileSystem: avoid
secondary filesystem creation if the default mode is not PROXY
[ https://issues.apache.org/jira/browse/IGNITE-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-771:
-----------------------------------
Fix Version/s: ignite-1.5
> 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: ignite-1.5
>
>
> 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)