ramkrish86 opened a new pull request, #21508:
URL: https://github.com/apache/flink/pull/21508

   
   ## What is the purpose of the change
   
   Supports ABFS as Streaming file sink
   
   
   ## Brief change log
   
   - Allows sink to write to ABFS
   - Allows to recover from ABFS
   - There is no truncate API in ABFS hadoop driver. But for cases where we 
want to recover a job from an older persisted offset, we need to truncate. For 
which we rewrite the file.
   
   
   ## Verifying this change
   
   
   This change added tests and can be verified as follows:
     - Verified the basics in a Kubernetes based session cluster with 1 JM and 
4 TMs. 
     - Was able to write to ABFS and also recover from it. 
     - **Pls note this is an initial PR, we are still doing some extensive 
testing. This is for initial feedback**
     -  Used the existing test cases in **HadoopRecoverableWriterTest** and 
extended the same to verify the functionality but with ABFS.
     - New test case name AzureBlobRecoverableWriterTest
     - Existing Hadoop serializers are used. Nothing changed in this format.
     - `[INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.flink.fs.azurefs.AzureBlobRecoverableWriterTest
   [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
72.345 s - in org.apache.flink.fs.azurefs.AzureBlobRecoverableWriterTest
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0`
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (No)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes) - Recovery is 
also handled here.
     - The S3 file system connector: (No)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (not documented)
   -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to