You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/02/27 10:07:05 UTC

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

Vladimir Ozerov created IGNITE-371:
--------------------------------------

             Summary: 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


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)