hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2902) replace accesss of "fs.default.name" with FileSystem accessor methods
Date Tue, 25 Mar 2008 14:55:25 GMT

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

Doug Cutting updated HADOOP-2902:
---------------------------------

    Status: Patch Available  (was: Open)

> You do "hdfs://" multiple times in TestCopyFiles. Same for the string "file:///"

There were lots of those before too.  I think there are actually fewer now, just in different
places!  I don't think the situation in TestCopyFiles is made any worse.

> Are you toStringing a URI and then creating a URI in the following code from TestCopyFiles?

Yes.  The namenode variable is used frequently as a String in this file.  Changing it to a
URI would be a substantial rewrite.

> replace accesss of "fs.default.name" with FileSystem accessor methods
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-2902
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2902
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-2902.patch, HADOOP-2902.patch, HADOOP-2902.patch
>
>
> HADOOP-1967 added accessor methods to set the default filesystem.  We should start using
them.
> While doing this, we should also replace uses of "local" and "host:port" with proper
URIs, e.g., "file:///" and "hdfs://host:port/".  This will silence warnings about the use
of old-format names.

-- 
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