[ https://issues.apache.org/jira/browse/FLINK-7284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116312#comment-16116312 ]
Till Rohrmann commented on FLINK-7284: -------------------------------------- I think we have to use something similar to the {{git-commit-id-plugin}} which allows us to store build information in the generated jar. Not sure if something like that exists. I think we have to make some research there. > Verify compile time and runtime version of Hadoop > ------------------------------------------------- > > Key: FLINK-7284 > URL: https://issues.apache.org/jira/browse/FLINK-7284 > Project: Flink > Issue Type: Improvement > Components: Cluster Management > Affects Versions: 1.4.0 > Reporter: Till Rohrmann > > In order to detect a potential version conflict when running a Flink cluster, > built with Hadoop {{x}}, in an environment which provides Hadoop {{y}}, we > should automatically check if {{x == y}}. If {{x != y}}, we should terminate > with an appropriate error message. This behaviour should also be > disengageable if one wants to run Flink explicitly in a different Hadoop > environment. > The check could be done at cluster start up using Hadoops {{VersionInfo}} and > the build time Hadoop version info. The latter has to be included in the > Flink binaries. -- This message was sent by Atlassian JIRA (v6.4.14#64029)