[
https://issues.apache.org/jira/browse/HADOOP-19333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anuj Modi updated HADOOP-19333:
-------------------------------
Description:
Currently in AbfsRestOperationType, there are a lot of enums added and some of
them corresponds to same operation but going to differentazure storage endpoint.
It makes sense to group these Enums into following Categories:
Global enum: AbfsGlobalRestOperationType
dfs enum: AbfsDFSRestOperationType
blob enum: AbfsBlobRestOperationType
Each of these sub-enums can hold operations used for that particular service
endpoint.
For more details:
1. [https://github.com/apache/hadoop/pull/6944#discussion_r1766715478]
2. [https://github.com/apache/hadoop/pull/6944#discussion_r1788170640]
was:
Currently in AbfsRestOperationType, there are a lot of enums added and some of
them corresponds to same operation but going to differentazure storage endpoint.
It makes sense to group these Enums into following Categories:
Global enum: AbfsGlobalRestOperationType
dfs enum: AbfsDFSRestOperationType
blob enum: AbfsBlobRestOperationType
Each of these sub-enums can hold operations used for that particular service
endpoint.
> ABFS: [FnsOverBlob] Group Enums in AbfsRestOperationType into categories and
> Other Code Cleanups
> ------------------------------------------------------------------------------------------------
>
> Key: HADOOP-19333
> URL: https://issues.apache.org/jira/browse/HADOOP-19333
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.4.1
> Reporter: Anuj Modi
> Assignee: Anuj Modi
> Priority: Major
>
> Currently in AbfsRestOperationType, there are a lot of enums added and some
> of them corresponds to same operation but going to differentazure storage
> endpoint.
> It makes sense to group these Enums into following Categories:
> Global enum: AbfsGlobalRestOperationType
> dfs enum: AbfsDFSRestOperationType
> blob enum: AbfsBlobRestOperationType
> Each of these sub-enums can hold operations used for that particular service
> endpoint.
> For more details:
> 1. [https://github.com/apache/hadoop/pull/6944#discussion_r1766715478]
> 2. [https://github.com/apache/hadoop/pull/6944#discussion_r1788170640]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]