hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7575) Support fully qualified paths as part of LocalDirAllocator
Date Fri, 16 Sep 2011 16:46:14 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106584#comment-13106584
] 

jiraposter@reviews.apache.org commented on HADOOP-7575:
-------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1921/
-----------------------------------------------------------

(Updated 2011-09-16 16:45:50.793916)


Review request for Tom Graves, Jeffrey Naisbitt, Robert Evans, and Ravi Prakash.


Summary
-------

Contexts with configuration path strings using fully qualified paths (e.g. file:///tmp instead
of /tmp) mistakenly creates a directory named 'file:' and sub-directories in the current local
file system working directory.


This addresses bug HADOOP-7575.
    http://issues.apache.org/jira/browse/HADOOP-7575


Diffs (updated)
-----

  hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalDirAllocator.java
71c8235 
  hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestLocalDirAllocator.java
1e22a73 

Diff: https://reviews.apache.org/r/1921/diff


Testing
-------

unit tests included as part of the patch
manual tests that verifies qualified paths don't accidentally create a directory named file:


Thanks,

Jonathan



> Support fully qualified paths as part of LocalDirAllocator
> ----------------------------------------------------------
>
>                 Key: HADOOP-7575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7575
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>            Priority: Minor
>             Fix For: 0.23.0
>
>         Attachments: HADOOP-7575-trunk-v1.patch, HADOOP-7575-trunk-v3.patch, HADOOP-7575-trunk-v4.patch,
HADOOP-7575-trunk-v5.patch, HADOOP-7575-trunk-v8.patch, HADOOP-7575-trunk-v9.patch
>
>
> Contexts with configuration path strings using fully qualified paths (e.g. file:///tmp
instead of /tmp) mistakenly creates a directory named 'file:' and sub-directories in the current
local file system working directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message