Repository: incubator-hawq Updated Branches: refs/heads/HAWQ-1421 e0102a821 -> c5c039160
HAWQ-1421. PXF rpm updates to make it oss friendly Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/c5c03916 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/c5c03916 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/c5c03916 Branch: refs/heads/HAWQ-1421 Commit: c5c0391605f2e2618f49bcb9dd44d29e299f388e Parents: e0102a8 Author: shivzone <[email protected]> Authored: Thu Mar 30 16:36:06 2017 -0700 Committer: shivzone <[email protected]> Committed: Thu Mar 30 16:36:06 2017 -0700 ---------------------------------------------------------------------- pxf/Makefile | 2 +- pxf/build.gradle | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c5c03916/pxf/Makefile ---------------------------------------------------------------------- diff --git a/pxf/Makefile b/pxf/Makefile index 2959f9c..7405878 100644 --- a/pxf/Makefile +++ b/pxf/Makefile @@ -47,7 +47,7 @@ help: @echo "help it is then" @echo "Possible targets" @echo " - all (clean, build, unittest, jar, tar, rpm)" - @echo " - - HD=<phd|hdp> - set classpath to match hadoop distribution. default phd" + @echo " - - HD=<hdp> - set classpath to match hadoop distribution. default will be apache hadoop compliant" @echo " - - LICENSE=<license info> - add license info to created RPMs" @echo " - - VENDOR=<vendor name> - add vendor name to created RPMs" @echo " - - PLUGINS_EXCLUDE_RPM=plugin1, plugin2,... - do not build and RPM for given comma-separated list of plugins" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/c5c03916/pxf/build.gradle ---------------------------------------------------------------------- diff --git a/pxf/build.gradle b/pxf/build.gradle index 99ad5bb..802b1e4 100644 --- a/pxf/build.gradle +++ b/pxf/build.gradle @@ -41,12 +41,12 @@ buildscript { } } -// Hadoop distribution (can be phd or hdp) - needed to set correct classpaths +// Hadoop distribution (can be hdp or null which would default to apache) - needed to set correct classpaths // can be set with -Dhd=<value> def hddist = System.properties['hd'] ?: ''; -//if (hddist != 'phd' && hddist != 'hdp') { -// throw new GradleException("hadoop distribution parameter (hd) set to invalid value: $hddist") -//} +if (hddist != 'hdp' && hddist != '') { + throw new GradleException("hadoop distribution parameter (hd) set to invalid value: $hddist") +} // Some package names need to be renamed to include the version number // as part of the package name to enable side by side install of two versions of the same package.
