[ 
https://issues.apache.org/jira/browse/FLINK-9560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512182#comment-16512182
 ] 

ASF GitHub Bot commented on FLINK-9560:
---------------------------------------

Github user pnowojski commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6149#discussion_r195345480
  
    --- Diff: 
flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/util/HadoopUtils.java
 ---
    @@ -122,4 +125,28 @@ public static boolean hasHDFSDelegationToken() throws 
Exception {
                }
                return false;
        }
    +
    +   /**
    +    * Parse configuration and load the limited FS wrapper.
    +    */
    +   public static FileSystem limitIfConfigured(FileSystem fs, String 
scheme, org.apache.flink.configuration.Configuration config) {
    --- End diff --
    
    ```
    public static FileSystem limitIfConfigured(
            FileSystem fs,
            String scheme,
            Optional<org.apache.flink.configuration.Configuration> config) {
        if (!config.isPresent()) {
            return fs;
        }
        ....
    ```


> RateLimiting for FileSystem
> ---------------------------
>
>                 Key: FLINK-9560
>                 URL: https://issues.apache.org/jira/browse/FLINK-9560
>             Project: Flink
>          Issue Type: Improvement
>          Components: FileSystem
>    Affects Versions: 1.5.0
>            Reporter: Etienne CARRIERE
>            Priority: Major
>
> *Pain*: On our system, we see that during checkpoint , all the bandwidth is 
> take to send the checkpoint to object storage (s3 in our case)
> *Proposal* : After the creation of some limitation on Filesystem (mostly 
> number of connections with the  tickets FLINK-8125/FLINK-8198/FLINK-9468), I 
> propose to add ratelimiting "per Filesystem" .
> *Proposal of implementation* : Modify LimitedConnectionsFileSystem to add a 
> ratelimiter on both Input and OutputStream.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to