[
https://issues.apache.org/jira/browse/FLINK-12837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863281#comment-16863281
]
Yun Tang commented on FLINK-12837:
----------------------------------
How did you run your tests? I think this is not a Flink bug but you just use
different version dependency when complieing and running.
> MiniClusterResource: java.lang.NoSuchFieldError: BIND_PORT
> -----------------------------------------------------------
>
> Key: FLINK-12837
> URL: https://issues.apache.org/jira/browse/FLINK-12837
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.8.0
> Reporter: Sahar Jazebi
> Priority: Major
>
> When I run my tests using MiniClusterResource version 1.8 of both
> flink.runtime.testutils and flink.util.test, I get the following exception:
> {code:java}
> java.lang.NoSuchFieldError: BIND_PORT
> at
> org.apache.flink.runtime.testutils.MiniClusterResource.startMiniCluster(MiniClusterResource.java:130)
> at
> org.apache.flink.runtime.testutils.MiniClusterResource.before(MiniClusterResource.java:84)
> at
> org.apache.flink.test.util.MiniClusterWithClientResource.before(MiniClusterWithClientResource.java:51)
> {code}
> The source code shows the PORT was changed to BIND_PORT in commit
> 730eed71ef3f718d61f85d5e94b1060844ca56db.
> Thank you
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)