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 "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2009/04/16 03:34:14 UTC
[jira] Updated: (HADOOP-5688) HftpFileSystem.getChecksum(..) does
not work for the paths with scheme and authority
[ https://issues.apache.org/jira/browse/HADOOP-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HADOOP-5688:
-------------------------------------------
Component/s: (was: fs)
dfs
The problem is that HftpFileSystem does not construct the url correctly if the path contents scheme and authority information. For example
{code}
Path p = new Path("hftp://localhost:2750/filechecksum/foo");
FileSystem hftpfs = p.getFileSystem(conf);
FileChecksum cs = hftpfs.getFileChecksum(p);
/*
The url constructed above will be
http://localhost:2750/fileChecksumhftp://localhost:2750/filechecksum/foo?ugi=...
The correct url is
http://localhost:2750/fileChecksum/foo?ugi=...
*/
{code}
> HftpFileSystem.getChecksum(..) does not work for the paths with scheme and authority
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-5688
> URL: https://issues.apache.org/jira/browse/HADOOP-5688
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> If a path with scheme and authority information (e.g. hftp://hostname:50070/foo.txt) is passed to HftpFileSystem.getChecksum(..), it won't return the correct file checksum.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.