hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik Kambatla <kkamb...@cs.purdue.edu>
Subject FileUtil.copyMerge()
Date Mon, 11 Oct 2010 05:25:11 GMT
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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message