Mike Percy has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/11377 )
Change subject: KUDU-2411. Add scripts to build binaries for testing use ...................................................................... KUDU-2411. Add scripts to build binaries for testing use This script will build a jar file containing "relocatable" binaries for use with a minicluster. The idea is that the resulting jar will be uploaded to Maven Central whenever there is a release. There should be one artifact built on Linux (preferably an old OS, such as RHEL 6) and one on macOS, so that people can run integration tests against Kudu on either platform. The current approach is to dynamically link the dependencies instead of statically linking them to optimize for the total size of the resulting test artifact. With kudu-tserver, kudu-master, and kudu admin tool binaries all linking against the same shared objects, the size of the jar file to download and unpack is significantly reduced. There are a bunch of shared objects we have to ship regardless, such as dependencies from thirdparty and security libraries from the system. Other pieces not included in this patch are code to depend on, locate, and extract the resulting JAR file, as well as a refactor of the MiniCluster code to use the resulting bits to start up a Kudu cluster as part of a Java integration test. Some of that work is underway or has already been merged as part of KUDU-2411. Very basic testing of this patch has been done on both Linux and macOS. We will need to do more testing and validation as the integration work progresses. Change-Id: I8b8f90cfe80f6830177bf6ea9e0711eb0d034f75 Reviewed-on: http://gerrit.cloudera.org:8080/11377 Reviewed-by: Alexey Serbin <[email protected]> Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins --- A build-support/build_mini_cluster_binaries.sh A build-support/relocate_binaries_for_mini_cluster.py 2 files changed, 470 insertions(+), 0 deletions(-) Approvals: Alexey Serbin: Looks good to me, but someone else must approve Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/11377 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I8b8f90cfe80f6830177bf6ea9e0711eb0d034f75 Gerrit-Change-Number: 11377 Gerrit-PatchSet: 5 Gerrit-Owner: Mike Percy <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mike Percy <[email protected]>
