You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Jan Hentschel (JIRA)" <ji...@apache.org> on 2017/06/11 20:36:18 UTC
[jira] [Updated] (OOZIE-2938) Fix Findbugs warnings in
oozie-sharelib-hive module
[ https://issues.apache.org/jira/browse/OOZIE-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hentschel updated OOZIE-2938:
---------------------------------
Attachment: OOZIE-2938-1.patch
> Fix Findbugs warnings in oozie-sharelib-hive module
> ---------------------------------------------------
>
> Key: OOZIE-2938
> URL: https://issues.apache.org/jira/browse/OOZIE-2938
> Project: Oozie
> Issue Type: Sub-task
> Components: build
> Reporter: Jan Hentschel
> Assignee: Jan Hentschel
> Attachments: OOZIE-2938-1.patch
>
>
> Currently Findbugs complains about the following warnings in the *oozie-sharelib-hive* module:
> {code}
> [INFO] Found reliance on default encoding in org.apache.oozie.action.hadoop.HiveMain.readStringFromFile(String): new java.io.FileReader(String) [org.apache.oozie.action.hadoop.HiveMain] At HiveMain.java:[line 336]
> [INFO] org.apache.oozie.action.hadoop.HiveMain.setUpHiveSite() may fail to clean up java.io.OutputStream on checked exception [org.apache.oozie.action.hadoop.HiveMain, org.apache.oozie.action.hadoop.HiveMain] Obligation to clean up resource created at HiveMain.java:[line 184] is not dischargedPath continues at HiveMain.java:[line 185]
> [INFO] org.apache.oozie.action.hadoop.HiveMain.setUpHiveSite() may fail to close stream on exception [org.apache.oozie.action.hadoop.HiveMain] At HiveMain.java:[line 184]
> {code}
> They should be fixed to get the code more reliable.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)