Description
When Knox streams a large response, like download a 2G file through webhdfs. The output stream handle will leak if there is an exception when copy the large file. This fix move outputStream.close() to the finally block.
When Knox streams a large response, like download a 2G file through webhdfs. The output stream handle will leak if there is an exception when copy the large file. This fix move outputStream.close() to the finally block.