Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18072 Über-JIRA: abfs phase III: Hadoop 3.4.0 features & fixes
  3. HADOOP-17682

ABFS: Support FileStatus input to OpenFileWithOptions() via OpenFileParameters

    XMLWordPrintableJSON

Details

    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

              sumangala Sumangala Patki
              sumangala Sumangala Patki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 10m
                  8h 10m