You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/05/02 17:04:07 UTC

[GitHub] [flink] zentol commented on a diff in pull request #19626: [FLINK-27477][yarn][tests] Drop flink-yarn test-jar

zentol commented on code in PR #19626:
URL: https://github.com/apache/flink/pull/19626#discussion_r863019882


##########
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnPrioritySchedulingITCase.java:
##########
@@ -18,26 +18,20 @@
 
 package org.apache.flink.yarn;
 
-import org.apache.hadoop.util.VersionInfo;
 import org.apache.hadoop.yarn.api.records.ApplicationReport;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
 import java.lang.reflect.Method;
 
-import static org.apache.flink.yarn.YarnTestUtils.isHadoopVersionGreaterThanOrEquals;
 import static org.hamcrest.Matchers.is;
 import static org.junit.Assert.assertThat;
-import static org.junit.Assume.assumeTrue;
 
 /** Tests to Yarn's priority scheduling. */
 public class YarnPrioritySchedulingITCase extends YarnTestBase {
 
     @BeforeClass
     public static void setup() {
-        assumeTrue(
-                "Priority scheduling is not supported by Hadoop: " + VersionInfo.getVersion(),
-                isHadoopVersionGreaterThanOrEquals(2, 8));

Review Comment:
   This check is unnecessary nowadays since we bumped our hadoop version.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org