[
https://issues.apache.org/jira/browse/HADOOP-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18073724#comment-18073724
]
ASF GitHub Bot commented on HADOOP-1593:
----------------------------------------
anmolanmol1234 commented on PR #8400:
URL: https://github.com/apache/hadoop/pull/8400#issuecomment-4251403274
> have a look at #7105 /
[HADOOP-19105](https://issues.apache.org/jira/browse/HADOOP-19105). Improve
resilience in vector reads. https://issues.apache.org/jira/browse/HADOOP-19105
>
> to see why I now think trying to merge ranges is a PITA.
>
> do make sure that your error handling explicitly releases any allocated
buffers before raising exceptions; the PositionedReadable interface was
extended to support this
Have tried to take care of this in the VectoredReadHandler fanOut and
directRead methods, can you please check if you see any concerns with the code
there.
> FsShell should work with paths in non-default FileSystem
> --------------------------------------------------------
>
> Key: HADOOP-1593
> URL: https://issues.apache.org/jira/browse/HADOOP-1593
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Reporter: Doug Cutting
> Assignee: Mahadev Konar
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.17.0
>
> Attachments: patch_1593.patch, patch_1593_1.patch
>
>
> If the default filesystem is, e.g., hdfs://foo:8888/, one should still be
> able to do 'bin/hadoop fs -ls hdfs://bar:9999/' or 'bin/hadoop fs -ls
> s3://cutting/foo'. Currently these generate a filesystem mismatch exception.
> This is because FsShell assumes that all paths are in the default
> FileSystem. Rather, the default filesystem should only be used for paths
> that do not specify a FileSystem. This would easily be accomplished by using
> Path#getFileSystem().
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]