[ https://issues.apache.org/jira/browse/IGNITE-3544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov resolved IGNITE-3544. ------------------------------------- Resolution: Won't Fix > IGFS: Review info() semantics - should it return null or throw exception if > file doesn't exist? > ----------------------------------------------------------------------------------------------- > > Key: IGNITE-3544 > URL: https://issues.apache.org/jira/browse/IGNITE-3544 > Project: Ignite > Issue Type: Sub-task > Components: IGFS > Affects Versions: 1.6 > Reporter: Vladimir Ozerov > Fix For: 2.1 > > > 1) Throw exception: clean and simple semantics, but if Hadoop/Spark/etc. > products return null in this case, we could end up with hot path where > exception is thrown. This would render bad performance. > 2) Return null: always good perf, but additional null-checks will be required. > Alternatively: > - Have a method with exception semantics on public API, but use method with > null semantics for {{IgniteHadoopFileSystem}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346)