Hi All, Per feedback from Roman for Apache HAWQ 2.2.0.0-incubating binary release during IPMC voting, there is lack of LICENSE, NOTICE, and DISCLAIMER files for the binary package.
With the help from Roman, Anthony, Ed, and Radar, I am currently creating these files so that we can proceed with the release. Please find below proposal to prepare the contents of LICENSE, NOTICE, and DISCLAIMER and feel free to share your feedback. *Step 1: Download Apache HAWQ 2.2.0.0-incubating binary release package.* *$ wget https://dist.apache.org/repos/dist/dev/incubator/hawq/2.2.0.0-incubating.RC2/apache-hawq-rpm-2.2.0.0-incubating.tar.gz <https://dist.apache.org/repos/dist/dev/incubator/hawq/2.2.0.0-incubating.RC2/apache-hawq-rpm-2.2.0.0-incubating.tar.gz>* *Step 2: Uncompress the tarball to get the rpm packages for components including Apache HAWQ core, Ranger, and PXF.* *$ tar -xzvf apache-hawq-rpm-2.2.0.0-incubating.tar.gz; tree hawq_rpm_packages* *hawq_rpm_packages* *├── apache-hawq-2.2.0.0-el7.x86_64.rpm* *├── apache-tomcat-7.0.62-el6.noarch.rpm* *├── hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm* *├── pxf-3.2.1.0-1.el6.noarch.rpm* *├── pxf-hbase-3.2.1.0-1.el6.noarch.rpm* *├── pxf-hdfs-3.2.1.0-1.el6.noarch.rpm* *├── pxf-hive-3.2.1.0-1.el6.noarch.rpm* *├── pxf-jdbc-3.2.1.0-1.el6.noarch.rpm* *├── pxf-json-3.2.1.0-1.el6.noarch.rpm* *└── pxf-service-3.2.1.0-1.el6.noarch.rpm* *Step 3: Extract the contents of the each rpm package. Take Ranger for example.* *$ mkdir **hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch; cd * *hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm;* *$ rpm2cpio ../hawq-ranger-plugin-2.2.0.0-1.el7.centos.noarch.rpm | cpio -div* *Step 4: Search the potential dependencies. Take Ranger for example again.* *$ find . \( -name "*.a" -o -name "*.so" -o -name "*.jar" -o -name "*.war" \)* *./usr/local/apache-hawq/ranger/lib/postgresql-9.1-901-1.jdbc4.jar* *./usr/local/apache-hawq/ranger/lib/ranger-plugin-admin-2.2.0.0.jar* *./usr/local/apache-hawq/ranger/plugin-service/lib/activation-1.1.jar* *...* *./usr/local/apache-hawq/ranger/plugin-service/lib/zookeeper-3.4.6.jar* *./usr/local/apache-hawq/ranger/plugin-service/webapps/rps.war* *Step 5: For each dependency, identify its licence.* *Sometimes, there are multiple dependencies bundled in single package, i.e., single jar file with multiple dependencies. Need to list them all.* Take *postgresql-9.1-901-1.jdbc4.jar* for example, we can search it in internet to get https://mvnrepository.com/artifact/postgresql/ postgresql/9.1-901-1.jdbc4. Then we get its license information below: BSD with home page https://jdbc.postgresql.org and download page http://central.maven.org/maven2/postgresql/postgresql/ 9.1-901-1.jdbc4/postgresql-9.1-901-1.jdbc4.jar Similarly, we can get license information for activation-1.1.jar at https://mvnrepository.com/artifact/javax.activation/activation/1.1 as below: CDDL 1.0 with home page http://java.sun.com/ products/javabeans/jaf/index.jsp and download page http://central.maven.org/ maven2/javax/activation/activation/1.1/activation-1.1.jar *Step 6: Summarize all the licenses and compose LICENSE, NOTICE, and DISCLAIMER files for Apache HAWQ 2.2.0.0-incubating binary release.* Best regards, Ruilong Huo
