You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/09/15 09:47:45 UTC

[jira] [Created] (IGNITE-1487) Exception is always thrown on normal code path when connecting to IGFS from file system.

Vladimir Ozerov created IGNITE-1487:
---------------------------------------

             Summary: Exception is always thrown on normal code path when connecting to IGFS from file system.
                 Key: IGNITE-1487
                 URL: https://issues.apache.org/jira/browse/IGNITE-1487
             Project: Ignite
          Issue Type: Task
          Components: hadoop
    Affects Versions: 1.1.4
            Reporter: Vladimir Ozerov
             Fix For: ignite-1.5


See HadoopIgfsWrapper.delegate(). It first tries to get default Ignite instance. As it doesn't exist in the most cases, an exception is thrown. We catch and ignore it. As a result, we throw exception on normal and pretty hot code path.

Proposed fix: check for grid existence using IgnitionEx.state().



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