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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/21 19:08:39 UTC
[jira] [Resolved] (HADOOP-4815) S3FileSystem.renameRecursive(..)
does not work correctly if src contains Java regular expression special
characters
[ https://issues.apache.org/jira/browse/HADOOP-4815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-4815.
--------------------------------------
Resolution: Incomplete
S3 implementation was replaced. Closing as stale.
> S3FileSystem.renameRecursive(..) does not work correctly if src contains Java regular expression special characters
> -------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-4815
> URL: https://issues.apache.org/jira/browse/HADOOP-4815
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Reporter: Tsz Wo Nicholas Sze
>
> In S3FileSystem, the variable srcPath is not supposed to be a regular expression but is used as a regular expression in the line below.
> {code}
> Path newDst = new Path(oldSrcPath.replaceFirst(srcPath, dstPath));
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)