Description
Currently Findbugs complains about the following warnings in the oozie-sharelib-hive module:
[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]
They should be fixed to get the code more reliable.
Attachments
Attachments
Issue Links
- links to