KAFKA-17277: [1/2] Add version mapping command to the storage tool and feature command tool
As a part of KIP-1022 the following has been implemented in this patch:
- A version-mapping command to to look up the corresponding features for a given metadata version. Using the command with no --release-version argument will return the mapping for the latest stable metadata version.
- This command has been added to the FeatureCommand Tool and the Storage Tool.
- The storage tools parsing method has been made more modular similar to the feature command tool
Can we also check the java 8 build? Seems like compilation failed.
[Error] /home/jenkins/jenkins-agent/workspace/Kafka_kafka-pr_PR-16973/core/src/main/scala/kafka/tools/StorageTool.scala:157:19: overloaded method value printf with alternatives: -- | 3449 | 06:27:46 PM | (x$1: java.util.Locale,x$2: String,x$3: Object*)java.io.PrintStream
| 3450 | 06:27:46 PM | (x$1: String,x$2: Object*)java.io.PrintStream | 3451 | 06:27:46 PM | cannot be applied to (String, Short, String) | 3452 | 06:27:46 PM | [Error] /home/jenkins/jenkins-agent/workspace/Kafka_kafka-pr_PR-16973/core/src/main/scala/kafka/tools/StorageTool.scala:161:21: overloaded method value printf with alternatives: | 3453 | 06:27:46 PM | (x$1: java.util.Locale,x$2: String,x$3: Object*)java.io.PrintStream | 3454 | 06:27:46 PM | (x$1: String,x$2: Object*)java.io.PrintStream | 3455 | 06:27:46 PM | cannot be applied to (String, String, Short)