HADOOP-17939. Support building on Apple Silicon (#3486)
Support building on Apple Silicon with ARM CPUs by using the x86_64 version of protoc.
Contributed by Dongjoon Hyun
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 1435eae..6894690 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -2240,6 +2240,8 @@
</activation>
<properties>
<build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
+ <!-- To make protoc work on Apple Silicon via fallback -->
+ <os.detected.classifier>osx-x86_64</os.detected.classifier>
</properties>
</profile>
<profile>