You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiang Li (Jira)" <ji...@apache.org> on 2024/08/12 09:26:00 UTC

[jira] [Comment Edited] (HADOOP-19240) Enhance FileSystem.Cache to honor a user defined field

    [ https://issues.apache.org/jira/browse/HADOOP-19240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872825#comment-17872825 ] 

Xiang Li edited comment on HADOOP-19240 at 8/12/24 9:25 AM:
------------------------------------------------------------

Found https://issues.apache.org/jira/browse/HADOOP-6545 which takes UGI into consideration when calculating hash code and equals of Cache Key in FileSystem


was (Author: water):
Found https://issues.apache.org/jira/browse/HADOOP-6545 which takes UGI into consideration when calculating hash code and equals of the key

> Enhance FileSystem.Cache to honor a user defined field
> ------------------------------------------------------
>
>                 Key: HADOOP-19240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19240
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 3.3.4
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Major
>
> Add a new field in FileSystem.Cache.Key to affect hashCode() and equals(). This field could be specified when constructing a Key
>  * For new users, they are able to control the hash code generation with respect to this field (could be a security string/token/object...), which may contain access (read/write/list...) and/or expiration time ...
>  * For old users, this field defaults to null and is not honored in hashCode() and equals()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org