accumulo
accumulo copied to clipboard
Use new LeaseRecoverable interface added in HADOOP-18671
This change uses FileSystem.hasPathCapability to determine if the FileSystem implementation has the ability to recover leases.
Closes #3494
https://issues.apache.org/jira/browse/HADOOP-18671 was backported to Hadoop version 3.2.5. If we want to include this change, then we will need to bump the minimum supported version.
https://issues.apache.org/jira/browse/HADOOP-18671 was backported to Hadoop version 3.2.5. If we want to include this change, then we will need to bump the minimum supported version.
One of the github action builds failed with the following, assuming is this failure related to this comment?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project accumulo-server-base: Compilation failure: Compilation failure: [ERROR] /home/runner/work/accumulo/accumulo/server/base/src/main/java/org/apache/accumulo/server/manager/recovery/HadoopLogCloser.java:[28,28] cannot find symbol [ERROR] symbol: class CommonPathCapabilities [ERROR] location: package org.apache.hadoop.fs [ERROR] /home/runner/work/accumulo/accumulo/server/base/src/main/java/org/apache/accumulo/server/manager/recovery/HadoopLogCloser.java:[30,28] cannot find symbol [ERROR] symbol: class LeaseRecoverable [ERROR] location: package org.apache.hadoop.fs [ERROR] -> [Help 1]
Yes, exactly. The GH action builds with Hadoop 3.0.3, so if we want to merge this, then we need to bump the minimum supported version.
It looks like HADOOP-18671 was backported to the Hadoop 3.2.5 branch, but version 3.2.5 has not been released yet. That means that only Hadoop version 3.3.6 and 3.4.0+ have this new interface.
we're not doing any maintenance or releass on 3.2.x I'm afraid: if you need it, you'll have to build it yourself.
Sorry.
FWIW, key reason it is the continuous struggle to upgrade dependencies, even getting 3.4.x current is a losing battle as some of the updates are not backwards compatible.