[ 
https://issues.apache.org/jira/browse/HADOOP-17864?focusedWorklogId=769317&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769317
 ]

ASF GitHub Bot logged work on HADOOP-17864:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/May/22 21:37
            Start Date: 11/May/22 21:37
    Worklog Time Spent: 10m 
      Work Description: snvijaya commented on code in PR #3335:
URL: https://github.com/apache/hadoop/pull/3335#discussion_r870775424


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java:
##########
@@ -96,6 +97,17 @@ String getSasToken() {
     return sasToken;
   }
 
+  public ListResultSchema getListResultSchema()
+      throws AzureBlobFileSystemException {
+    if (result instanceof AbfsHttpConnection) {
+      return ((AbfsHttpConnection) this.result).getListResultSchema();
+    } else {
+      throw new AbfsRestOperationException(-1, null,

Review Comment:
   Result here is the response from store backend and List calls will only be 
supported HttpConnection. Is more of a safe guard check, though it can never 
get into else case. 
   If it does for any reason, we will want the workload to fail immediately 
highlighting the reason explicitly for easy debugging. 





Issue Time Tracking
-------------------

    Worklog Id:     (was: 769317)
    Time Spent: 2h 10m  (was: 2h)

> ABFS: Fork AbfsHttpOperation to add alternate connection
> --------------------------------------------------------
>
>                 Key: HADOOP-17864
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17864
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.4.0
>            Reporter: Sneha Vijayarajan
>            Assignee: Sneha Vijayarajan
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> This Jira is to facilitate upcoming work as part of adding an alternate 
> connection :
> [HADOOP-17853] ABFS: Enable optional store connectivity over azure specific 
> protocol for data egress - ASF JIRA (apache.org)
> The scope of the change is to make AbfsHttpOperation as abstract class and 
> create a child class AbfsHttpConnection. Future connection types will be 
> added as child of AbfsHttpOperation.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to