You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2016/09/05 08:48:20 UTC

[jira] [Comment Edited] (IGNITE-3163) IGFS: Add working directory notion.

    [ https://issues.apache.org/jira/browse/IGNITE-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15464466#comment-15464466 ] 

Taras Ledkov edited comment on IGNITE-3163 at 9/5/16 8:48 AM:
--------------------------------------------------------------

I don't catch in general. Should user provide *workDirectory* in URI format? In this case change the type of parameter of the method {{LocalIgfsSecondaryFileSystem.setWorkDirectory}} to *URI* looks beauty. But URI cannot be relative.

May be working directory parameter should pass URIs, absolute paths and relative paths?


was (Author: tledkov-gridgain):
I don't catch in general. Should user provide *workDirectory* in URI format? In this case change the type of parameter of the method {{LocalIgfsSecondaryFileSystem.setWorkDirectory}} to *URI* looks beauty. But URI cannot be relative.

May be we should support URIs, absolute paths and relative paths?

> IGFS: Add working directory notion.
> -----------------------------------
>
>                 Key: IGNITE-3163
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3163
>             Project: Ignite
>          Issue Type: Task
>          Components: IGFS
>    Affects Versions: 1.5.0.final
>            Reporter: Vladimir Ozerov
>            Assignee: Taras Ledkov
>            Priority: Critical
>              Labels: important
>             Fix For: 1.8
>
>
> Currently when user configure secondary file system, it provides URI. We do not use path of this URI and rely only on authority component.  For this reason "file:///" and "file:///path/" setting will be processed in the same 
> We need to respect path component as well and append it so that use can use relative paths easily.



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