You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Karthik Kambatla <kk...@cs.purdue.edu> on 2010/10/11 07:25:11 UTC
FileUtil.copyMerge()
Hi guys,
[Not very sure if this is the right place for this]
This is regarding the issue
https://issues.apache.org/jira/browse/HADOOP-2120
common/src/java/org/apache/hadoop/fs/FileUtil.java has a bug in
FileUtil.copyMerge(). The method takes a directory, and returns false if
the input is a directory. The condition misses a negation.
if (srcFS.getFileStatus(srcDir).isDirectory())
return false;
if (!srcFS.getFileStatus(srcDir).isDirectory())
return false;
Can you please do the needful. Also, how should one go about acquiring a
membership on JIRA?
Thanks
Karthik