mvn -Pdist,native -DskipTests -Dtar package
A different version of protobuf is already installed on macOS but Hadoop needs [email protected]
[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.1.3:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc version is 'libprotoc 3.12.4', expected version is '2.5.0' -> [Help 1]