Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17736 Über-JIRA: abfs phase II: Hadoop 3.4 features & fixes
  3. HADOOP-17682

ABFS: Support FileStatus input to OpenFileWithOptions() via OpenFileParameters

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs/azure
    • Target Version/s:

      Description

      ABFS open methods require certain information (contentLength, eTag, etc) to  to create an InputStream for the file at the given path. This information is retrieved via a GetFileStatus request to backend.

      However, client applications may often have access to the FileStatus prior to invoking the open API. Providing this FileStatus to the driver through the OpenFileParameters argument of openFileWithOptions() can help avoid the call to Store for FileStatus.

      This PR adds handling for the FileStatus instance (if any) provided via the OpenFileParameters argument.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sumangala Sumangala Patki
                Reporter:
                sumangala Sumangala Patki
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m