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

Denis Magda updated IGNITE-2390:
--------------------------------
    Assignee: Ivan Veselovsky

> 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
>            Assignee: Ivan Veselovsky
>             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)

Reply via email to