Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # dev >> FileUtil.copyMerge()

Copy link to this message
Hi guys,

[Not very sure if this is the right place for this]

This is regarding the issue

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?