Details
Description
Thanks to Eli, He noticed that there is no test for FileContext#Copy operation.
On further investigation with the help of Sanjay we found that there is bug in FileContext#checkDest.
FileStatus dstFs = getFileStatus(dst); try { if (dstFs.isDir()) { if (null == srcNa
FileStatus dstFs = getFileStatus(dst); should be in try...catch block.
try { FileStatus dstFs = getFileStatus(dst); if (dstFs.isDir()) { if (null == srcNa