> On March 29, 2018, 9:32 a.m., Fero Szabo wrote: > > src/java/org/apache/sqoop/manager/OracleManager.java > > Lines 334-336 (patched) > > <https://reviews.apache.org/r/66353/diff/1/?file=1989923#file1989923line334> > > > > You probably missed some spaces here :)
oops, the patch itself doesn't apply. (with git apply) Only with patch -p0... What command did you use to generate it? - Fero ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66353/#review200179 ----------------------------------------------------------- On March 29, 2018, 9:10 a.m., Laszlo Bodor wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/66353/ > ----------------------------------------------------------- > > (Updated March 29, 2018, 9:10 a.m.) > > > Review request for Sqoop. > > > Bugs: SQOOP-3306 > https://issues.apache.org/jira/browse/SQOOP-3306 > > > Repository: sqoop-trunk > > > Description > ------- > > A fortify scan showed 2 possible resource leaks. > > 1: The function getRecordWriter() in DBOutputFormat.java sometimes fails to > release a database resource allocated by getConnection() on line 117. > In the file DBOutputFormat.java similar issues were on line numbers 117 > > 2: The function makeConnection() in OracleManager.java sometimes fails to > release a database resource allocated by getConnection() on line 321. > In the file OracleManager.java similar issues were on line numbers 321 > > > Diffs > ----- > > src/java/org/apache/sqoop/manager/OracleManager.java 929b5061 > src/java/org/apache/sqoop/mapreduce/db/DBOutputFormat.java 730ff286 > > > Diff: https://reviews.apache.org/r/66353/diff/1/ > > > Testing > ------- > > ant test > > > Thanks, > > Laszlo Bodor > >