You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/04/20 11:47:58 UTC
[jira] [Created] (IGNITE-771) IgniteHadoopFileSystem: avoid
secondary filesystem creation if the default mode is not PROXY
Ivan Veselovsky created IGNITE-771:
--------------------------------------
Summary: 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
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)