hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-873) DataNode directories as URIs
Date Sat, 09 Jan 2010 00:48:54 GMT

     [ https://issues.apache.org/jira/browse/HDFS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Shvachko updated HDFS-873:
-------------------------------------

    Attachment: dataDirURI.patch

With this patch data-node directories are specified as URIs. 
- It is backward compatible, that is if config specifies a path data-node will print a warning
but will keep working with the directory.
- We support only "file:" URIs. If another scheme is specified the directory will be ignored.
- The patch includes a test to test this behavior.
- Changed hdfs-default.xml to set an example.
- MiniDFSCluster is changed to set directories as URIs in order to avoid warnings.
- TestStorageDirectories was failing on windows because the drive letter "c:" in directory
paths was capitalized in one case and not in an another, so the string comparison of the paths
was failing. Fixed it.

> DataNode directories as URIs
> ----------------------------
>
>                 Key: HDFS-873
>                 URL: https://issues.apache.org/jira/browse/HDFS-873
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.21.0
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>         Attachments: dataDirURI.patch
>
>
> Data-node directories {{dfs.datanode.data.dir}} should be specified as URIs in configurations
files making it consistent with how name-node directories are set up since HDFS-396.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message