Flink Jar作业运行异常,作业日志中有如下报错信息:org.apache.flink.shaded.curator.org.apache.curator.ConnectionState - Authentication failed因为账号没有在全局配置中配置服务授权,导致该账号在创建跨源连接访问外部数据时因为权限不足而导致跨源访问
通过查看日志,发现有如下报错 2018-10-20 02:32:19,668 ERROR org.apache.flink.shaded.curator.org.apache.curator.ConnectionState - Authentication failed 解决法案:添加定时任务认证kerberos 5、Flink开发IDEA环境搭建与测试 先虚拟机联网,然后执行yum -y install nc nc是用来打开端口的工具 然后nc -l 9000 5...
因为flink默认的index type是FLINK_STATE,FLINK_STATE默认是in-memory的,所以会消耗非常多的heap内存,无论是在运行过程中,还是在从checkpoint重新flink job的时候,对task manager的内存压力会很大,所以建议使用BUCKET index type替换默认的FLINK_STATE index type...
2018-10-2002:32:19,668ERRORorg.apache.flink.shaded.curator.org.apache.curator.ConnectionState - Authentication failed 解决法案:添加定时任务认证kerberos 来自:
:build);}catch(NoSuchAlgorithmExceptione){thrownewIllegalStateException("could not create the default ssl context",e);}}// finalBuilder::build可以看到ConnectionKeepAliveStrategykeepAliveStrategy=this.keepAliveStrategy;if(keepAliveStrategy==null){keepAliveStrategy=DefaultConnectionKeepAliveStrategy.INSTANCE;}...
Failed reason: Connection refused: /10.197.76.131:8080 at org.apache.pulsar.client.admin.internal.BaseResource.getApiException(BaseResource.java:247) at org.apache.pulsar.client.admin.internal.SchemasImpl$1.failed(SchemasImpl.java:85) at org.apache.pulsar.shade.org.glassfish.jersey.client.Jersey...
org.apache.flink.shaded.curator.org.apache.curator.ConnectionState - Authentication failed 该错误是因为,kerberos认证失败,cdh6,并没有启动kerberos。所以该错误可以忽略。但是如果已经开启动了kerberos,这个问题就要解决了。 3,指定application id提交任务
解决方案配置了state.backend参数,必须配置对应的state.checkpoints.dir参数。说明您也可以直接删除state.backend参数。 报错详情Caused by: org.apache.flink.fs.osshadoop.shaded.com.aliyun.oss.OSSException: The difference between the request time and the current time is too large. [ErrorCode]: RequestTime...
\Maven\repository\org\apache\flink\flink-queryable-state-client-java\1.13.6\flink-queryable-state-client-java-1.13.6.jar;E:\Maven\repository\org\apache\flink\flink-hadoop-fs\1.13.6\flink-hadoop-fs-1.13.6.jar;E:\Maven\repository\commons-io\commons-io\2.8.0\commons-io-2.8.0.jar;E:\Maven...
> ERROR org.apache.flink.shaded.curator.org.apache.curator.ConnectionState - > Authentication failed > --- > > Key: FLINK-10636 > URL: https://issues.apache.org/jira/browse/FLINK-10636 > Project: Flink > Issue Type: Bug > Components: Connectors / Kafka > Affects Versions: 1.6.1 > Rep...