[ https://issues.apache.org/jira/browse/IGNITE-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957235#comment-14957235 ]
ASF GitHub Bot commented on IGNITE-1487: ---------------------------------------- GitHub user iveselovskiy opened a pull request: https://github.com/apache/ignite/pull/156 IGNITE-1487: exceptions on normal execution path avoided. You can merge this pull request into a Git repository by running: $ git pull https://github.com/iveselovskiy/ignite ignite-1487 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/156.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #156 ---- commit 6de913a0dea70fe86a3e8aea3fc5549395527e81 Author: iveselovskiy <iveselovs...@gridgain.com> Date: 2015-10-14T16:35:05Z IGNITE-1487: exceptions on normal execution path avoided. ---- > 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: Ivan Veselovsky > Fix For: 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)