[ https://issues.apache.org/jira/browse/OOZIE-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048907#comment-16048907 ]
Peter Cseh commented on OOZIE-2938: ----------------------------------- +1 Committed to master! > 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 > Fix For: 5.0.0 > > 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.4.14#64029)