You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/08/08 11:16:20 UTC

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

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

ASF GitHub Bot commented on IGNITE-1487:
----------------------------------------

Github user iveselovskiy closed the pull request at:

    https://github.com/apache/ignite/pull/156


> 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
>            Assignee: Vladimir Ozerov
>             Fix For: 1.5.0.final
>
>
> 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)