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)