Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB