flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7600) shorten delay of KinesisProducerConfiguration.setCredentialsRefreshDelay() to avoid updateCredentials Exception
Date Wed, 20 Sep 2017 18:20:00 GMT

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

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

Github user bowenli86 commented on the issue:

    https://github.com/apache/flink/pull/4657
  
    @tzulitai Thank you, Gordon!


> shorten delay of KinesisProducerConfiguration.setCredentialsRefreshDelay() to avoid updateCredentials
Exception
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-7600
>                 URL: https://issues.apache.org/jira/browse/FLINK-7600
>             Project: Flink
>          Issue Type: Bug
>          Components: Kinesis Connector
>    Affects Versions: 1.3.2
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>            Priority: Minor
>             Fix For: 1.4.0, 1.3.3
>
>
> we saw the following warning in Flink log:
> {code:java}
> 2017-08-11 02:33:24,473 WARN  org.apache.flink.kinesis.shaded.com.amazonaws.services.kinesis.producer.Daemon
 - Exception during updateCredentials
> java.lang.InterruptedException: sleep interrupted
> 	at java.lang.Thread.sleep(Native Method)
> 	at org.apache.flink.kinesis.shaded.com.amazonaws.services.kinesis.producer.Daemon$5.run(Daemon.java:316)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}
> According to discussion in https://github.com/awslabs/amazon-kinesis-producer/issues/10,
setting the delay to 100 will fix this issue



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message