[
https://issues.apache.org/jira/browse/HADOOP-17870?focusedWorklogId=642200&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-642200
]
ASF GitHub Bot logged work on HADOOP-17870:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 26/Aug/21 08:09
Start Date: 26/Aug/21 08:09
Worklog Time Spent: 10m
Work Description: yellowflash opened a new pull request #3338:
URL: https://github.com/apache/hadoop/pull/3338
### Description of PR
This PR makes the Http Filesystem consistent with the other filesystems in
how the open behaves. It first qualifies the path before making a URI or
subsequently URL out of it.
### How was this patch tested?
Has modified the existing unit test to cover this case too.
### For code changes:
- [x] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [x] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [x] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [x] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 642200)
Remaining Estimate: 0h
Time Spent: 10m
> HTTP Filesystem dont take Path's with no scheme/authority
> ---------------------------------------------------------
>
> Key: HADOOP-17870
> URL: https://issues.apache.org/jira/browse/HADOOP-17870
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: VinothKumar Raman
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> HTTP filesystem is inconsistent with other filesystem (eg: S3AFilesystem) in
> that they don't accept Path which is relative to the URL that the filesystem
> is instantiated with.
>
> As in
> {code:java}
> FileSystem.get("http://www.example.com").open(new Path("/test")){code}
> will fail with URI not absolute. But it should infact fetch
> {{http://www.example.com/test}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]