[
https://issues.apache.org/jira/browse/HADOOP-19139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851605#comment-17851605
]
ASF GitHub Bot commented on HADOOP-19139:
-----------------------------------------
saxenapranav commented on PR #6699:
URL: https://github.com/apache/hadoop/pull/6699#issuecomment-2145041377
> @saxenapranav can you wait until there's a version of #6789 which adds
something to hadoop common to build an enumset from a comma separated list of
options? this will allow for easy extension -just add a new enum and a probe,
and be consistent.
>
> I'll export it in a static method in a new class in org.apache.hadoop.util
and call from Configuration, so it'll be easy for you to pick up too.
>
> Ideally we should try for common Enum names too: I'll let you start there
and copy them in my work
Hi @steveloughran , thanks for the suggestion! If I understand correctly,
what we want to do is that we have a common config (from flag enum), that can
tell filesystem about the head optimization. Sounds really good.
This PR is really important as it reduces a redundant network call in
AbfsInputStream's lifecycle.
The referred PR I believe is in draft mode, requesting you to kindly advise
if we should move ahead with this PR and then adapt the flags as a later PR, or
if we wait for the referred PR.
Thanks.
> [ABFS]: No GetPathStatus call for opening AbfsInputStream
> ---------------------------------------------------------
>
> Key: HADOOP-19139
> URL: https://issues.apache.org/jira/browse/HADOOP-19139
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Reporter: Pranav Saxena
> Assignee: Pranav Saxena
> Priority: Major
> Labels: pull-request-available
>
> Read API gives contentLen and etag of the path. This information would be
> used in future calls on that inputStream. Prior information of eTag is of not
> much importance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]