I've added hadoop4 and hadoop5 to the machines to be used for precommit tests/ May be they were not in the list for a good reason. Remove them in https://builds.apache.org/job/PreCommit-HBASE-Build/configure if it breaks too much.
If it works well during a few days, I will add hadoop6+ as well. Cheers, Nicolas