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/03/05 09:54:38 UTC

[jira] [Commented] (IGNITE-371) IgfsHadoopFileSystemWrapper.usedSpaceSize() doesn't work.

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

Ivan Veselovsky commented on IGNITE-371:
----------------------------------------

Fix available with the patch "a" attached.

> IgfsHadoopFileSystemWrapper.usedSpaceSize() doesn't work.
> ---------------------------------------------------------
>
>                 Key: IGNITE-371
>                 URL: https://issues.apache.org/jira/browse/IGNITE-371
>             Project: Ignite
>          Issue Type: Task
>          Components: hadoop
>    Affects Versions: sprint-1
>            Reporter: Vladimir Ozerov
>            Assignee: Ivan Veselovsky
>            Priority: Critical
>             Fix For: sprint-2
>
>         Attachments: IGNITE-371--a.patch
>
>
> The reason for this is invalid URI passed to FileSystem.getContentSummary() method. This URI is absolute and do not have "/" at the end. As a result, DFSUtil.isValidName() methods returns false for such URI and call fails.
> Probably either relative root URI ("/") should be passed here, or we must use more reliable methods from FileSystem API.
> Unit tests must be created for this case.



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