Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9554

Support building and running NiFi on arm64/aarch64 platforms such as Apple Silicon M1 Macs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • Tools and Build

    Description

      Some development environments are transitioning to be based on arm64, such as Apple Silicon M1 Macs.
      AWS is also offering arm-based EC2 instances which could be a good target platform for NiFi clusters.
      Some target runtimes for MiNiFi Java also fall into this category, such as Raspberry Pi.

      There are also some native arm64/aarch64 JVMs available that can run on these platforms without emulation.

      Given this, it seems like a good time to adding support for building and running on arm64/aarch64 in addition to amd64/x86_64.

      An initial bit of experimentation shows that the full Maven build fails using an arm64 JDK, but can succeed with a few changes. This ticket is to introduce changes that allow Apache NiFi and subprojects such as MiNiFi and Registry to build and run using a native arm64 JDKs.

      Additionally, once this is achieved, add a CI build that targets arm64 platforms to prevent future changes that would break arm64 compatibility.

      Attachments

        Issue Links

          Activity

            People

              kdoran Kevin Doran
              kdoran Kevin Doran
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6.5h
                  6.5h