You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jongyoung Park (JIRA)" <ji...@apache.org> on 2014/12/18 08:29:13 UTC
[jira] [Created] (TAJO-1258) Close() derived FileAppender should
consider inited state
Jongyoung Park created TAJO-1258:
------------------------------------
Summary: Close() derived FileAppender should consider inited state
Key: TAJO-1258
URL: https://issues.apache.org/jira/browse/TAJO-1258
Project: Tajo
Issue Type: Bug
Components: storage
Affects Versions: 0.9.0
Reporter: Jongyoung Park
Assignee: Jongyoung Park
Priority: Minor
Fix For: 0.10
As I investigated, many appenders have possibility to cause NPE such as TAJO-1227.
It seems checking null for each variables is ineffective.
Fortunately, FileAppender supports a state variable named 'inited'.
If it is used commonly, things like NPE could be avoided.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)