HADOOP-17375. Fix the error of TestDynamometerInfra. (#2471)

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 207210263a)
This commit is contained in:
Takanobu Asanuma 2021-05-07 13:52:17 +09:00 committed by Akira Ajisaka
parent cedebf1c27
commit df50e210dd
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 6 additions and 1 deletions

View File

@ -38,4 +38,9 @@ public class AllowAllImpersonationProvider extends Configured
// Do nothing
}
// Although this API was removed from the interface by HADOOP-17367, we need
// to keep it here because TestDynamometerInfra uses an old hadoop binary.
public void authorize(UserGroupInformation user, String remoteAddress) {
// Do nothing
}
}

View File

@ -122,7 +122,7 @@ public class TestDynamometerInfra {
private static final String HADOOP_BIN_PATH_KEY = "dyno.hadoop.bin.path";
private static final String HADOOP_BIN_VERSION_KEY =
"dyno.hadoop.bin.version";
private static final String HADOOP_BIN_VERSION_DEFAULT = "3.1.3";
private static final String HADOOP_BIN_VERSION_DEFAULT = "3.1.4";
private static final String FSIMAGE_FILENAME = "fsimage_0000000000000061740";
private static final String VERSION_FILENAME = "VERSION";