[
https://issues.apache.org/jira/browse/FLINK-41393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-41393:
-----------------------------------
Labels: pull-request-available (was: )
> Remove the Hadoop 2 compatibility code
> --------------------------------------
>
> Key: FLINK-41393
> URL: https://issues.apache.org/jira/browse/FLINK-41393
> Project: Flink
> Issue Type: Technical Debt
> Components: Connectors / Hadoop Compatibility, Deployment / YARN
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
>
> With FLINK-41378 merged, the minimum Hadoop version is 3.4.3. flink-yarn
> still reaches Hadoop 2 APIs through reflection
> (ApplicationSubmissionContextReflector,
> RegisterApplicationMasterResponseReflector, ContainerRequestReflector,
> ResourceInformationReflector), and flink-hadoop-fs keeps
> isMinHadoopVersion(2, 7) checks.
> YarnFileStageTestS3ITCase#testRecursiveUploadForYarnS3n can never run and
> YarnTestUtils.isHadoopVersionGreaterThanOrEquals is unused. The docs still
> mention Hadoop < 2.7 for the FileSink and 2.10+ or 3.1+ for GPU scheduling.
> We should remove all of these.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)