THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Step 1: Prepare a HAWQ source code tarball for rpm building.
- a)
Make sure the source code tarball name format is: apache-hawq-src-%{hawq_version}-incubating.tar.gz
No Format wget -o https://dist.apache.org/repos/dist/release/incubator/hawq/%{hawq_version}-incubating/apache-hawq-src-%{hawq_version}-incubating.tar.gz
- b) Make sure the extracted directory name format is: apache-hawq-src-%{hawq_version}-incubating
- c) Put the HAWQ source tarball to %{top_dir}/contrib/hawq-package folder. Or use "HAWQ_SOURCE_TARBALL_PATH" to specify the find path of HAWQ source tarball.
- a)
- Step 2: Configuration operating system and install dependency libraries.
- Step 3: Run 'make distclean' and './configure'.
- Step 4: Run 'make rpm' in the top directory of source code
- You can set environment variable "HAWQ_RELEASE_VERSION" to specify HAWQ version
- Step 5: You can find HAWQ/PFX/Ranger plugin rpms tarball at:
- %{top_dir}/contrib/hawq-package/apache-hawq-rpm-%{hawq_version}-incubating.tar.gz
- Please refer to: https://github.com/apache/incubator-hawq/blob/master/contrib/hawq-package/README for details.
...