Vladimir Ozerov created IGNITE-2340: ---------------------------------------
Summary: Throw sensible error from IgniteHadoopFileSystem if real file system is not IgniteHadoopIgfsSecondaryFileSystem Key: IGNITE-2340 URL: https://issues.apache.org/jira/browse/IGNITE-2340 Project: Ignite Issue Type: Task Components: hadoop Affects Versions: ignite-1.4 Reporter: Vladimir Ozerov Assignee: Vladimir Ozerov Fix For: 1.6 Consider the following scenario: 1) User configures some custom secondary file system; 2) Some paths are set to PROXY mode (e.g. default modes); 3) User instantiates IgniteHadoopFileSystem somewhere else. Result: IgniteHadoopFileSystem notices PROXY paths and tries to get FileSystem factory from handshake request, but it is null. As a result, NPE is thrown a moment later. Proposed fix: If factory is null. we must throw an exception and advise user to set IgniteHadoopIgfsSecondaryFileSystem as secondary file system.in IGFS configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)