Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-4193

Fail to compile in osx aarch_64 environment

    XMLWordPrintableJSON

Details

    Description

      hudi-kafka-connect module relies on protoc to generate code, current version of protoc cannot support compiling under osx aarch_64 environment, which will throw an error like below:

      [ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project hudi-kafka-connect: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :hudi-kafka-connect
      

      So here proposing to upgrade protoc version to fix this.

      Attachments

        Activity

          People

            jonvex Jonathan Vexler
            jerryshao Saisai Shao
            sivabalan narayanan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: