You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by od...@apache.org on 2016/05/03 02:33:28 UTC

[12/13] incubator-hawq git commit: Revert "HAWQ-711. Integrate libhdfs3 and libyarn makefile into hawq"

Revert "HAWQ-711. Integrate libhdfs3 and libyarn makefile into hawq"

This reverts commit 1b0e6e2d728b5f4f9da09ecc19dc32c87a9fdc81.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/b357dbcd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/b357dbcd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/b357dbcd

Branch: refs/heads/HAWQ-703
Commit: b357dbcd9417c120d7bedda020771dd3d941d519
Parents: 6209c42
Author: Lei Chang <ch...@gmail.com>
Authored: Thu Apr 28 17:59:48 2016 +0800
Committer: Lei Chang <ch...@gmail.com>
Committed: Thu Apr 28 17:59:48 2016 +0800

----------------------------------------------------------------------
 GNUmakefile.in                      |  8 ----
 configure                           | 66 ++++++++++++++++++++++++--------
 configure.in                        |  5 +--
 depends/libhdfs3/.gitignore         |  2 -
 depends/libhdfs3/Makefile           | 33 ----------------
 depends/libhdfs3/Makefile.global.in | 21 ----------
 depends/libyarn/.gitignore          |  2 -
 depends/libyarn/Makefile            | 33 ----------------
 depends/libyarn/Makefile.global.in  | 21 ----------
 9 files changed, 51 insertions(+), 140 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/GNUmakefile.in
----------------------------------------------------------------------
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 5523967..f20ee2c 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -10,8 +10,6 @@ include $(top_builddir)/src/Makefile.global
 
 all:
 #	$(MAKE) -C doc all
-	$(MAKE) -C depends/libhdfs3 all
-	$(MAKE) -C depends/libyarn all
 	$(MAKE) -C src all
 	$(MAKE) -C config all
 	$(MAKE) -C contrib/formatter_fixedwidth all
@@ -24,8 +22,6 @@ all:
 
 install: 
 #	$(MAKE) -C doc $@
-	$(MAKE) -C depends/libhdfs3 $@
-	$(MAKE) -C depends/libyarn $@
 	$(MAKE) -C src $@
 	$(MAKE) -C config $@
 	$(MAKE) -C contrib/formatter_fixedwidth $@
@@ -38,8 +34,6 @@ install:
 
 installdirs uninstall:
 #	$(MAKE) -C doc $@
-	$(MAKE) -C depends/libhdfs3 $@
-	$(MAKE) -C depends/libyarn $@
 	$(MAKE) -C src $@
 	$(MAKE) -C config $@
 	$(MAKE) -C contrib/formatter_fixedwidth $@
@@ -59,8 +53,6 @@ distprep:
 clean:
 #	$(MAKE) -C doc $@
 	$(MAKE) -C contrib $@
-	$(MAKE) -C depends/libhdfs3 $@
-	$(MAKE) -C depends/libyarn $@
 	$(MAKE) -C src $@
 	$(MAKE) -C config $@
 	$(MAKE) -C contrib/formatter_fixedwidth $@

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/configure
----------------------------------------------------------------------
diff --git a/configure b/configure
index 5e65a48..76842d4 100755
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.69 for HAWQ 8.2.15.
 #
-# Report bugs to <https://issues.apache.org/jira/browse/HAWQ>.
+# Report bugs to https://issues.apache.org/jira/browse/HAWQ
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -269,10 +269,11 @@ fi
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
     $as_echo "$0: Please tell bug-autoconf@gnu.org and
-$0: https://issues.apache.org/jira/browse/HAWQ about your
-$0: system, including any error possibly output before this
-$0: message. Then install a modern shell, or manually run
-$0: the script under such a shell if you do have one."
+$0: https://issues.apache.org/jira/browse/HAWQ 
+$0: about your system, including any
+$0: error possibly output before this message. Then install
+$0: a modern shell, or manually run the script under such a
+$0: shell if you do have one."
   fi
   exit 1
 fi
@@ -840,6 +841,7 @@ enable_cassert
 enable_forceplan
 enable_debugbreak
 enable_debugntuplestore
+enable_mdverinstrumentation
 enable_testutils
 enable_snmp
 enable_gphdfs
@@ -1514,6 +1516,7 @@ build with coverage testing instrumentation
   --enable-forceplan        enable forcing of plans via EXPLAIN FORCE (for debugging)
   --enable-debugbreak        enable debug_break and debug_break_n (for debugging)
   --enable-ntuplestore      enable debug_ntuplestore (for debugging)
+  --enable-mdverinstrumentation      enable metadata versioning instrumentation
   --enable-testutils        enable testing utilities
   --enable-snmp        enable snmp for MIB and alerts via TRAP/INFORM
   --enable-gphdfs        enables GPHDFS support
@@ -1576,7 +1579,7 @@ Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <https://issues.apache.org/jira/browse/HAWQ>.
+Report bugs to https://issues.apache.org/jira/browse/HAWQ
 _ACEOF
 ac_status=$?
 fi
@@ -1846,9 +1849,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## --------------------------------------------------------- ##
+( $as_echo "## ------------------------------------ ##
 ## Report this to https://issues.apache.org/jira/browse/HAWQ ##
-## --------------------------------------------------------- ##"
+## ------------------------------------ ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
@@ -2085,9 +2088,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## --------------------------------------------------------- ##
+( $as_echo "## --------------------------------------------------- ##
 ## Report this to https://issues.apache.org/jira/browse/HAWQ ##
-## --------------------------------------------------------- ##"
+## -------------------------------------------------- ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
@@ -5333,6 +5336,34 @@ fi
 
 
 
+# Enable metadata versioning instrumentation
+
+pgac_args="$pgac_args enable_mdverinstrumentation"
+
+# Check whether --enable-mdverinstrumentation was given.
+if test "${enable_mdverinstrumentation+set}" = set; then :
+  enableval=$enable_mdverinstrumentation;
+  case $enableval in
+    yes)
+
+$as_echo "#define MD_VERSIONING_INSTRUMENTATION 1" >>confdefs.h
+
+      ;;
+    no)
+      :
+      ;;
+    *)
+      as_fn_error $? "no argument expected for --enable-mdverinstrumentation option" "$LINENO" 5
+      ;;
+  esac
+
+else
+  enable_mdverinstrumentation=no
+
+fi
+
+
+
 #
 # Enable testing utilities
 #
@@ -5501,6 +5532,9 @@ fi
 
 
 
+
+
+
 #
 # Include directories
 #
@@ -11091,10 +11125,10 @@ fi
 
 for ac_header in json-c/json.h
 do :
-  ac_fn_c_check_header_mongrel "$LINENO" "json-c/json.h" "ac_cv_header_json_c_json_h" "$ac_includes_default"
-if test "x$ac_cv_header_json_c_json_h" = xyes; then :
+  ac_fn_c_check_header_mongrel "$LINENO" "json-c/json.h" "ac_cv_header_json_json_h" "$ac_includes_default"
+if test "x$ac_cv_header_json_json_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_JSON_C_JSON_H 1
+#define HAVE_JSON_JSON_H 1
 _ACEOF
 
 else
@@ -16506,7 +16540,7 @@ fi
 
 
 
-ac_config_files="$ac_config_files GNUmakefile src/VERSIONS.mk depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global"
+ac_config_files="$ac_config_files GNUmakefile src/VERSIONS.mk src/Makefile.global src/pl/pljava/src/java/Makefile.global"
 
 
 ac_config_links="$ac_config_links src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c src/backend/port/pg_sema.c:${SEMA_IMPLEMENTATION} src/backend/port/pg_shmem.c:${SHMEM_IMPLEMENTATION} src/include/dynloader.h:src/backend/port/dynloader/${template}.h src/include/pg_config_os.h:src/include/port/${template}.h src/Makefile.port:src/makefiles/Makefile.${template}"
@@ -17094,7 +17128,7 @@ $config_links
 Configuration commands:
 $config_commands
 
-Report bugs to <https://issues.apache.org/jira/browse/HAWQ>."
+Report bugs to https://issues.apache.org/jira/browse/HAWQ"
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
@@ -17226,8 +17260,6 @@ do
     "src/backend/port/tas.s") CONFIG_LINKS="$CONFIG_LINKS src/backend/port/tas.s:src/backend/port/tas/${tas_file}" ;;
     "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
     "src/VERSIONS.mk") CONFIG_FILES="$CONFIG_FILES src/VERSIONS.mk" ;;
-    "depends/libhdfs3/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/libhdfs3/Makefile.global" ;;
-    "depends/libyarn/Makefile.global") CONFIG_FILES="$CONFIG_FILES depends/libyarn/Makefile.global" ;;
     "src/Makefile.global") CONFIG_FILES="$CONFIG_FILES src/Makefile.global" ;;
     "src/pl/pljava/src/java/Makefile.global") CONFIG_FILES="$CONFIG_FILES src/pl/pljava/src/java/Makefile.global" ;;
     "src/backend/port/dynloader.c") CONFIG_LINKS="$CONFIG_LINKS src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c" ;;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/configure.in
----------------------------------------------------------------------
diff --git a/configure.in b/configure.in
index f1fdc02..a5b322b 100644
--- a/configure.in
+++ b/configure.in
@@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
 dnl
 m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
 
-AC_INIT([HAWQ], [8.2.15], [https://issues.apache.org/jira/browse/HAWQ])
+AC_INIT([HAWQ], [8.2.15], [support@greenplum.com])
 
 AC_PREREQ(2.63)
 dnl m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.63], [], [m4_fatal([Autoconf version 2.63 is required.
@@ -310,7 +310,6 @@ elif test "$GCC" = yes; then
     CFLAGS="-O0"
   else
     CFLAGS="-O3"
-  fi
 else
   # if the user selected debug mode, don't use -O
   if test "$enable_debug" != yes; then
@@ -2056,7 +2055,7 @@ fi
 AC_SUBST(vpath_build)
 
 
-AC_CONFIG_FILES([GNUmakefile src/VERSIONS.mk depends/libhdfs3/Makefile.global depends/libyarn/Makefile.global src/Makefile.global src/pl/pljava/src/java/Makefile.global])
+AC_CONFIG_FILES([GNUmakefile src/VERSIONS.mk src/Makefile.global src/pl/pljava/src/java/Makefile.global])
 
 AC_CONFIG_LINKS([
   src/backend/port/dynloader.c:src/backend/port/dynloader/${template}.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libhdfs3/.gitignore
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/.gitignore b/depends/libhdfs3/.gitignore
deleted file mode 100644
index 8341b2e..0000000
--- a/depends/libhdfs3/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-build/
-Makefile.global

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libhdfs3/Makefile
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/Makefile b/depends/libhdfs3/Makefile
deleted file mode 100644
index e509659..0000000
--- a/depends/libhdfs3/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# -*-makefile-*-
-#------------------------------------------------------------------------------
-# A makefile that integrate building this module with hawq
-#------------------------------------------------------------------------------
-subdir = depends/libhdfs3
-top_builddir = ../../
-include Makefile.global
-
-PRE_CFG_ARG = 
-# get argument for running ../boostrap
-ifeq ($(enable_debug), yes)
-	PRE_CFG_ARG += --enable-debug
-endif # enable_debug
-
-ifeq ($(enable_coverage), yes)
-	PRE_CFG_ARG += --enable-coverage
-endif # enable_coverage
-
-##########################################################################
-#
-.PHONY: all install make pre-config
-
-all : make
-
-install: make
-	cd $(top_srcdir)/$(subdir)/build && $(MAKE) -j8 install
-
-make: pre-config
-	cd $(top_srcdir)/$(subdir)/build && $(MAKE) -j8
-
-pre-config:
-	cd $(top_srcdir)/$(subdir)/ && mkdir -p build && cd build && ../bootstrap --prefix=$(prefix) $(PRE_CFG_ARG)
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libhdfs3/Makefile.global.in
----------------------------------------------------------------------
diff --git a/depends/libhdfs3/Makefile.global.in b/depends/libhdfs3/Makefile.global.in
deleted file mode 100644
index 12dd05c..0000000
--- a/depends/libhdfs3/Makefile.global.in
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*-makefile-*-
-#------------------------------------------------------------------------------
-# A makefile that integrate building this module with hawq
-#------------------------------------------------------------------------------
-
-prefix := @prefix@
-enable_debug    = @enable_debug@
-enable_coverage = @enable_coverage@
-
-# Support for VPATH builds
-vpath_build = @vpath_build@
-abs_top_srcdir = @abs_top_srcdir@
-
-ifneq ($(vpath_build),yes)
-top_srcdir = $(top_builddir)
-srcdir = .
-else # vpath_build = yes
-top_srcdir = $(abs_top_srcdir)
-srcdir = $(top_srcdir)/$(subdir)
-VPATH = $(srcdir)
-endif

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libyarn/.gitignore
----------------------------------------------------------------------
diff --git a/depends/libyarn/.gitignore b/depends/libyarn/.gitignore
deleted file mode 100644
index 8341b2e..0000000
--- a/depends/libyarn/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-build/
-Makefile.global

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libyarn/Makefile
----------------------------------------------------------------------
diff --git a/depends/libyarn/Makefile b/depends/libyarn/Makefile
deleted file mode 100644
index 3e17622..0000000
--- a/depends/libyarn/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-# -*-makefile-*-
-#------------------------------------------------------------------------------
-# A makefile that integrate building this module with hawq
-#------------------------------------------------------------------------------
-subdir = depends/libyarn
-top_builddir = ../../
-include Makefile.global
-
-PRE_CFG_ARG = 
-# get argument for running ../boostrap
-ifeq ($(enable_debug), yes)
-	PRE_CFG_ARG += --enable-debug
-endif # enable_debug
-
-ifeq ($(enable_coverage), yes)
-	PRE_CFG_ARG += --enable-coverage
-endif # enable_coverage
-
-##########################################################################
-#
-.PHONY: all install make pre-config
-
-all : make
-
-install: make
-	cd $(top_srcdir)/$(subdir)/build && $(MAKE) -j8 install
-
-make: pre-config
-	cd $(top_srcdir)/$(subdir)/build && $(MAKE) -j8
-
-pre-config:
-	cd $(top_srcdir)/$(subdir)/ && mkdir -p build && cd build && ../bootstrap --prefix=$(prefix) $(PRE_CFG_ARG)
-

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b357dbcd/depends/libyarn/Makefile.global.in
----------------------------------------------------------------------
diff --git a/depends/libyarn/Makefile.global.in b/depends/libyarn/Makefile.global.in
deleted file mode 100644
index 12dd05c..0000000
--- a/depends/libyarn/Makefile.global.in
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*-makefile-*-
-#------------------------------------------------------------------------------
-# A makefile that integrate building this module with hawq
-#------------------------------------------------------------------------------
-
-prefix := @prefix@
-enable_debug    = @enable_debug@
-enable_coverage = @enable_coverage@
-
-# Support for VPATH builds
-vpath_build = @vpath_build@
-abs_top_srcdir = @abs_top_srcdir@
-
-ifneq ($(vpath_build),yes)
-top_srcdir = $(top_builddir)
-srcdir = .
-else # vpath_build = yes
-top_srcdir = $(abs_top_srcdir)
-srcdir = $(top_srcdir)/$(subdir)
-VPATH = $(srcdir)
-endif