Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1213

Remove sigar binaries from source tree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None
    • None

    Description

      In external/storm-metrics sigar native binaries were added to the source tree. Since Apache releases are source-only, these binaries can't be included in a release.

      My initial thought was just to exclude the binaries from the source distribution, but that would mean that distributions built from a source tarball would not match the convenience binaries from a release (the sigar native binaries would not be included.

      The solution I came up with was to leverage the fact that pre-built native binaries are included in the sigar maven distribution (sigar-x.x.x-native.jar) and use the maven dependency plugin to unpack them into place during the build, rather than check them into git. One benefit is that it will ensure the versions of the sigar jar and the native binaries match. Another is that mavens checksum/signature checking mechanism will also be applied.

      This isn't an ideal solution since the sigar-x.x.x-native.jar only includes binaries for linux, OSX, and solaris (notably missing windows DLLs), whereas the non-maven sigar download includes support for a wider range of OSes and architectures.

      I view this as an interim measure until we can find a better way to include the native binaries in the build process, rather than checking them into the source tree – which would be a blocker for releasing.

      Attachments

        Issue Links

          Activity

            People

              ptgoetz P. Taylor Goetz
              ptgoetz P. Taylor Goetz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: