You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/01/15 08:55:40 UTC
[jira] [Created] (IGNITE-2390) IGFS path modes are not honored
Denis Magda created IGNITE-2390:
-----------------------------------
Summary: IGFS path modes are not honored
Key: IGNITE-2390
URL: https://issues.apache.org/jira/browse/IGNITE-2390
Project: Ignite
Issue Type: Bug
Components: IGFS
Affects Versions: 1.5
Reporter: Denis Magda
Fix For: 1.6
The following configuration is used with some specific path modes.
<!-- Set default mode. -->
<property name="defaultMode" value="DUAL_ASYNC" />
<!-- Configure '/tmp' and all child paths to work in PRIMARY mode. -->
<property name="pathModes">
<map>
<entry key="/tmp/.*" value="PRIMARY"/>
<entry key="/user/splunk/.*" value="PRIMARY"/>
</map>
</property>
<property name="initializeDefaultPathModes" value="false" />
On running a simple MR job an output dir is set under /tmp
e.g.
/tmp/denis2
as such I would expect this to be in memory only, and no changes seen on the secondary file system as path is set to PRIMARY.
On checking HDFS I find that these files are created by Ignite on the secondary file system.
Found that document here:
http://apacheignite.gridgain.org/docs/modes
is incorrect, the paths are not regex patterns as this document implies, but simply the code checks if path string starts with.
Have removed /.* from the above config and seems to be resolved.
The configuration must be fixed or the code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)