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 "Hairong Kuang (JIRA)" <ji...@apache.org> on 2007/05/21 22:34:16 UTC
[jira] Updated: (HADOOP-1386) The constructor of Path should not
take an empty string as a parameter
[ https://issues.apache.org/jira/browse/HADOOP-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hairong Kuang updated HADOOP-1386:
----------------------------------
Attachment: path.patch
This patch disallows the construction of a Path from an empty string. Instead, one has to explicitly specify "." to represent the current directory.
> The constructor of Path should not take an empty string as a parameter
> ----------------------------------------------------------------------
>
> Key: HADOOP-1386
> URL: https://issues.apache.org/jira/browse/HADOOP-1386
> Project: Hadoop
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.12.3
> Reporter: Hairong Kuang
> Priority: Blocker
> Fix For: 0.13.0
>
> Attachments: path.patch
>
>
> DFSShell should pass a user's home directory instead of an empty string for any operations on a user's home directory.
> This bug caused an accidental deletion of a user's directory with valuable data on our dfs cluster. Therefore, I marke it as a blocker to release 0.13
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.