HAWQ-184. pass RAT check
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/91c45cab Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/91c45cab Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/91c45cab Branch: refs/heads/master Commit: 91c45cab0e5844abfe0f398f2378637f4028fe45 Parents: 8ccff7b Author: Roman Shaposhnik <[email protected]> Authored: Mon Jan 4 15:36:29 2016 -0800 Committer: Roman Shaposhnik <[email protected]> Committed: Tue Jan 12 19:13:19 2016 -0800 ---------------------------------------------------------------------- contrib/extprotocol/Makefile | 17 ++ contrib/formatter_fixedwidth/Makefile | 17 ++ contrib/gp_cancel_query/Makefile | 17 ++ contrib/gp_mdver/Makefile | 17 ++ contrib/gp_mdver/gp_mdver_utils.sql.in | 19 ++ contrib/gp_sparse_vector/Makefile | 17 ++ contrib/hawq-hadoop/Makefile | 17 ++ depends/libyarn/CMake/CodeCoverage.cmake | 18 ++ depends/libyarn/CMake/Functions.cmake | 18 ++ depends/libyarn/CMake/Options.cmake | 18 ++ depends/libyarn/CMake/Platform.cmake | 20 +- depends/libyarn/bootstrap | 18 ++ depends/libyarn/sample/Makefile | 17 ++ depends/libyarn/src/doxyfile.in | 17 ++ depends/libyarn/src/platform.h.in | 17 ++ getversion | 18 ++ pom.xml | 182 +++++++++++-------- putversion | 18 ++ pxf/Makefile | 17 ++ pxf/settings.gradle | 19 ++ src/Makefile.mock | 17 ++ src/VERSIONS.mk.in | 18 ++ src/backend/access/appendonly/Makefile | 17 ++ src/backend/access/appendonly/aomd.c | 18 ++ src/backend/access/appendonly/aosegfiles.c | 18 ++ src/backend/access/appendonly/appendonlyam.c | 18 ++ .../access/appendonly/appendonlywriter.c | 18 ++ src/backend/access/appendonly/test/Makefile | 17 ++ src/backend/access/common/heaptuple.c | 18 ++ src/backend/access/common/test/Makefile | 17 ++ src/backend/access/external/Makefile | 17 ++ src/backend/access/external/test/Makefile | 17 ++ .../parquet/metadatautil_c++/test/Makefile | 17 ++ src/backend/access/transam/test/Makefile | 17 ++ src/backend/access/transam/xlogutils.c | 18 ++ src/backend/bootstrap/bootparse.y | 19 +- src/backend/catalog/aoseg.c | 18 ++ src/backend/catalog/caql/Makefile | 17 ++ src/backend/catalog/caql/test/Makefile | 17 ++ src/backend/catalog/caql/test_discard/Makefile | 17 ++ src/backend/catalog/cdb_schema.in | 17 ++ src/backend/catalog/cdb_util.in | 17 ++ src/backend/catalog/core/Makefile | 17 ++ src/backend/catalog/core/test/Makefile | 17 ++ src/backend/catalog/gp_toolkit_test.sql.in | 17 ++ src/backend/catalog/hcatalog/Makefile | 17 ++ src/backend/catalog/heap.c | 18 ++ src/backend/catalog/index.c | 18 ++ src/backend/catalog/pg_appendonly.c | 18 ++ src/backend/catalog/pg_extprotocol.c | 18 ++ src/backend/catalog/pg_exttable.c | 18 ++ src/backend/catalog/pg_filesystem.c | 18 ++ src/backend/cdb/Makefile | 17 ++ src/backend/cdb/motion/Makefile | 17 ++ src/backend/cdb/test/Makefile | 17 ++ src/backend/cdb/test_discard/Makefile | 17 ++ src/backend/commands/analyze.c | 18 ++ src/backend/commands/cluster.c | 18 ++ src/backend/commands/copy.c | 18 ++ src/backend/commands/dbcommands.c | 18 ++ src/backend/commands/explain.c | 18 ++ src/backend/commands/extprotocolcmds.c | 18 ++ src/backend/commands/filesystemcmds.c | 18 ++ src/backend/commands/indexcmds.c | 18 ++ src/backend/commands/portalcmds.c | 18 ++ src/backend/commands/schemacmds.c | 18 ++ src/backend/commands/sequence.c | 18 ++ src/backend/commands/tablecmds.c | 18 ++ src/backend/commands/test/Makefile | 17 ++ src/backend/commands/user.c | 18 ++ src/backend/commands/vacuum.c | 18 ++ src/backend/commands/view.c | 18 ++ src/backend/executor/execBitmapTableScan.c | 18 ++ src/backend/executor/execHHashagg.c | 18 ++ src/backend/executor/execMain.c | 18 ++ src/backend/executor/execProcnode.c | 18 ++ src/backend/executor/execScan.c | 18 ++ src/backend/executor/execUtils.c | 18 ++ src/backend/executor/instrument.c | 18 ++ src/backend/executor/nodeAgg.c | 18 ++ src/backend/executor/nodeAppendOnlyscan.c | 18 ++ src/backend/executor/nodeBitmapAppendOnlyscan.c | 18 ++ src/backend/executor/nodeBitmapIndexscan.c | 18 ++ src/backend/executor/nodeFunctionscan.c | 18 ++ src/backend/executor/nodeHash.c | 18 ++ src/backend/executor/nodeHashjoin.c | 18 ++ src/backend/executor/nodeLimit.c | 18 ++ src/backend/executor/nodeMaterial.c | 18 ++ src/backend/executor/nodeMergejoin.c | 18 ++ src/backend/executor/nodeNestloop.c | 18 ++ src/backend/executor/nodeResult.c | 18 ++ src/backend/executor/nodeSeqscan.c | 18 ++ src/backend/executor/nodeShareInputScan.c | 18 ++ src/backend/executor/nodeSort.c | 18 ++ src/backend/executor/nodeSubplan.c | 18 ++ src/backend/executor/nodeSubqueryscan.c | 18 ++ src/backend/executor/nodeValuesscan.c | 18 ++ src/backend/executor/test/Makefile | 17 ++ src/backend/gp_libpq_fe/Makefile | 17 ++ src/backend/gp_libpq_fe/fe-connect.c | 18 ++ src/backend/gp_libpq_fe/fe-exec.c | 18 ++ src/backend/gp_libpq_fe/fe-protocol3.c | 18 ++ src/backend/gp_libpq_fe/gp-libpq-fe.h | 18 ++ src/backend/gp_libpq_fe/gp-libpq-int.h | 18 ++ src/backend/gp_libpq_fe/pqexpbuffer.c | 18 ++ src/backend/gp_libpq_fe/pqexpbuffer.h | 18 ++ src/backend/libgppc/Makefile | 17 ++ src/backend/libgppc/lib/Makefile | 17 ++ src/backend/libgppc/lib/Makefile.version | 17 ++ src/backend/libgppc/lib/package/Makefile | 17 ++ src/backend/libgppc/test/Makefile | 17 ++ src/backend/libpq/test/Makefile | 17 ++ src/backend/nodes/copyfuncs.c | 18 ++ src/backend/nodes/equalfuncs.c | 18 ++ src/backend/nodes/outfast.c | 18 ++ src/backend/nodes/outfuncs.c | 18 ++ src/backend/nodes/read.c | 18 ++ src/backend/nodes/readfast.c | 18 ++ src/backend/nodes/readfuncs.c | 18 ++ src/backend/nodes/test/Makefile | 17 ++ src/backend/optimizer/path/allpaths.c | 18 ++ src/backend/optimizer/path/clausesel.c | 18 ++ src/backend/optimizer/path/costsize.c | 18 ++ src/backend/optimizer/path/indxpath.c | 18 ++ src/backend/optimizer/path/joinpath.c | 18 ++ src/backend/optimizer/path/joinrels.c | 18 ++ src/backend/optimizer/path/pathkeys.c | 18 ++ src/backend/optimizer/path/tidpath.c | 18 ++ src/backend/optimizer/plan/createplan.c | 18 ++ src/backend/optimizer/plan/initsplan.c | 18 ++ src/backend/optimizer/plan/planagg.c | 18 ++ src/backend/optimizer/plan/planmain.c | 18 ++ src/backend/optimizer/plan/planner.c | 18 ++ src/backend/optimizer/plan/planwindow.c | 18 ++ src/backend/optimizer/plan/setrefs.c | 18 ++ src/backend/optimizer/plan/subselect.c | 18 ++ src/backend/optimizer/plan/test/Makefile | 17 ++ src/backend/optimizer/prep/prepjointree.c | 18 ++ src/backend/optimizer/prep/preptlist.c | 18 ++ src/backend/optimizer/prep/prepunion.c | 18 ++ src/backend/optimizer/util/clauses.c | 18 ++ src/backend/optimizer/util/pathnode.c | 18 ++ src/backend/optimizer/util/plancat.c | 18 ++ src/backend/optimizer/util/relnode.c | 18 ++ src/backend/optimizer/util/tlist.c | 18 ++ src/backend/optimizer/util/var.c | 18 ++ src/backend/parser/analyze.c | 18 ++ src/backend/parser/gram.y | 17 ++ src/backend/parser/parse_clause.c | 18 ++ src/backend/parser/parse_relation.c | 18 ++ src/backend/parser/parse_type.c | 18 ++ src/backend/postmaster/postmaster.c | 18 ++ src/backend/resourcemanager/Makefile | 17 ++ .../resourcemanager/communication/Makefile | 17 ++ .../resourcemanager/resourcebroker/Makefile | 17 ++ .../resourcemanager/resourceenforcer/Makefile | 17 ++ src/backend/resourcemanager/test/Makefile | 17 ++ src/backend/resourcemanager/utils/Makefile | 17 ++ src/backend/rewrite/rewriteDefine.c | 18 ++ src/backend/rewrite/rewriteHandler.c | 18 ++ src/backend/rewrite/rewriteManip.c | 18 ++ src/backend/storage/buffer/bufmgr.c | 18 ++ src/backend/storage/file/buffile.c | 18 ++ src/backend/storage/file/fd.c | 18 ++ src/backend/storage/file/filesystem.c | 18 ++ src/backend/storage/lmgr/lmgr.c | 18 ++ src/backend/storage/lmgr/proc.c | 18 ++ src/backend/storage/smgr/smgr.c | 18 ++ src/backend/tcop/postgres.c | 18 ++ src/backend/tcop/pquery.c | 18 ++ src/backend/tcop/test/Makefile | 17 ++ src/backend/utils/adt/selfuncs.c | 18 ++ src/backend/utils/adt/tid.c | 18 ++ src/backend/utils/cache/lsyscache.c | 18 ++ src/backend/utils/cache/relcache.c | 18 ++ src/backend/utils/cache/test/Makefile | 17 ++ src/backend/utils/error/assert.c | 18 ++ src/backend/utils/error/elog.c | 18 ++ src/backend/utils/mdver/test/Makefile | 17 ++ src/backend/utils/misc/fstream/Makefile | 17 ++ src/backend/utils/misc/guc.c | 18 ++ src/backend/utils/misc/ps_status.c | 18 ++ src/backend/utils/misc/test/Makefile | 17 ++ src/backend/utils/mmgr/aset.c | 18 ++ src/backend/utils/mmgr/asetDirect.c | 18 ++ src/backend/utils/mmgr/mcxt.c | 18 ++ src/backend/utils/mmgr/portalmem.c | 18 ++ src/backend/utils/mmgr/test/Makefile | 17 ++ src/backend/utils/resscheduler/Makefile | 17 ++ src/backend/utils/resscheduler/test/Makefile | 17 ++ src/backend/utils/sort/test/Makefile | 17 ++ src/backend/utils/sort/tuplesort.c | 18 ++ src/backend/utils/sort/tuplesort_mk.c | 18 ++ src/backend/utils/sort/tuplestore.c | 18 ++ src/backend/utils/test/Makefile | 17 ++ src/bin/gp_session_state/Makefile | 17 ++ .../gp_session_state/gp_session_state.sql.in | 17 ++ src/bin/gp_workfile_mgr/Makefile | 17 ++ src/bin/gp_workfile_mgr/gp_workfile_mgr.sql.in | 17 ++ src/bin/gpcheckhdfs/Makefile | 17 ++ src/bin/gpfdist/Makefile | 17 ++ src/bin/gpfilesystem/hdfs/Makefile | 17 ++ src/bin/gpfusion/Makefile | 17 ++ src/bin/gpfusion/gpbridgeapi.c | 19 ++ src/bin/gpfusion/pxf.c | 20 ++ src/bin/gpmirrortransition/Makefile | 20 +- src/bin/gpupgrade/Makefile | 18 ++ src/bin/gpupgrade/buildskel.py | 18 ++ src/bin/gpupgrade/gpviewcp.c | 17 ++ src/bin/gpupgrade/has33mods.py | 18 ++ src/bin/gpupgrade/setcatversion.py | 18 ++ src/bin/gpupgrade/transform.py | 19 ++ src/bin/pg_dump/cdb/cdb_dump.c | 18 ++ src/bin/pg_dump/cdb/cdb_dump_agent.c | 18 ++ src/bin/pg_dump/cdb/cdb_dump_include.c | 18 ++ src/bin/pg_dump/pg_dump.c | 18 ++ src/bin/pg_dump/pg_dump.h | 18 ++ src/bin/pgbench/.p4ignore | 1 - src/bin/psql/help.c | 18 ++ src/bin/psql/tab-complete.c | 18 ++ src/include/access/htup.h | 18 ++ src/include/c.h | 18 ++ src/include/catalog/gp_version.in | 17 ++ src/include/catalog/heap.h | 18 ++ src/include/catalog/pg_attribute.h | 18 ++ src/include/catalog/pg_cast.h | 18 ++ src/include/catalog/pg_proc.h | 18 ++ src/include/cdb/cdbappendonlyam.h | 18 ++ src/include/cdb/cdbgroup.h | 18 ++ src/include/commands/sequence.h | 18 ++ src/include/executor/execHHashagg.h | 18 ++ src/include/executor/execdesc.h | 18 ++ src/include/executor/executor.h | 18 ++ src/include/executor/hashjoin.h | 18 ++ src/include/executor/instrument.h | 18 ++ src/include/executor/nodeAppendOnlyscan.h | 18 ++ src/include/executor/nodeBitmapAppendOnlyscan.h | 18 ++ src/include/executor/nodeHash.h | 18 ++ src/include/executor/nodeShareInputScan.h | 18 ++ src/include/nodes/execnodes.h | 18 ++ src/include/nodes/memnodes.h | 18 ++ src/include/nodes/nodes.h | 18 ++ src/include/nodes/parsenodes.h | 18 ++ src/include/nodes/plannerconfig.h | 17 ++ src/include/nodes/plannodes.h | 18 ++ src/include/nodes/primnodes.h | 18 ++ src/include/nodes/print.h | 18 ++ src/include/nodes/readfuncs.h | 18 ++ src/include/nodes/relation.h | 18 ++ src/include/nodes/stack.h | 17 ++ src/include/nodes/tidbitmap.h | 18 ++ src/include/optimizer/cost.h | 18 ++ src/include/optimizer/pathnode.h | 18 ++ src/include/optimizer/paths.h | 18 ++ src/include/optimizer/plancat.h | 18 ++ src/include/optimizer/planmain.h | 18 ++ src/include/optimizer/predtest.h | 18 ++ src/include/optimizer/prep.h | 18 ++ src/include/optimizer/subselect.h | 18 ++ src/include/optimizer/tlist.h | 18 ++ src/include/optimizer/var.h | 18 ++ src/include/storage/buffile.h | 18 ++ src/include/storage/fd.h | 18 ++ src/include/storage/filesystem.h | 18 ++ src/include/storage/lmgr.h | 18 ++ src/include/storage/proc.h | 18 ++ src/include/storage/smgr.h | 18 ++ src/include/utils/builtins.h | 18 ++ src/include/utils/elog.h | 18 ++ src/include/utils/errcodes.h | 18 ++ src/include/utils/guc.h | 18 ++ src/include/utils/guc_tables.h | 18 ++ src/include/utils/memaccounting.h | 18 ++ src/include/utils/memutils.h | 18 ++ src/include/utils/palloc.h | 18 ++ src/include/utils/rel.h | 18 ++ src/include/utils/relcache.h | 18 ++ src/include/utils/tuplesort.h | 18 ++ .../org/postgresql/pljava/sqlj/Loader.java | 19 +- tools/Makefile | 17 ++ tools/bin/diskqual.ksh | 19 ++ tools/bin/gppylib/Makefile | 17 ++ tools/bin/gppylib/db/test/regress/__init__.py | 20 -- tools/bin/hawqpylib/Makefile | 17 ++ tools/bin/src/stream/mysecond.c | 19 -- tools/bin/src/stream/stream.c | 19 -- tools/demo/gpfdist_transform/data/Makefile | 17 ++ tools/gpnetbench/Makefile | 17 ++ tools/sbin/Makefile | 17 ++ 289 files changed, 5151 insertions(+), 138 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/extprotocol/Makefile ---------------------------------------------------------------------- diff --git a/contrib/extprotocol/Makefile b/contrib/extprotocol/Makefile index 9d6e115..bcab50e 100644 --- a/contrib/extprotocol/Makefile +++ b/contrib/extprotocol/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# MODULE_big = gpextprotocol OBJS = gpextprotocol.o http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/formatter_fixedwidth/Makefile ---------------------------------------------------------------------- diff --git a/contrib/formatter_fixedwidth/Makefile b/contrib/formatter_fixedwidth/Makefile index f774be8..fdf88d1 100644 --- a/contrib/formatter_fixedwidth/Makefile +++ b/contrib/formatter_fixedwidth/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# MODULE_big = fixedwidth OBJS = fixedwidth.o http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/gp_cancel_query/Makefile ---------------------------------------------------------------------- diff --git a/contrib/gp_cancel_query/Makefile b/contrib/gp_cancel_query/Makefile index 7f0c3e4..a6b5f22 100644 --- a/contrib/gp_cancel_query/Makefile +++ b/contrib/gp_cancel_query/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# MODULE_big = gp_cancel_query OBJS = gp_cancel_query.o http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/gp_mdver/Makefile ---------------------------------------------------------------------- diff --git a/contrib/gp_mdver/Makefile b/contrib/gp_mdver/Makefile index 0b56839..1106718 100644 --- a/contrib/gp_mdver/Makefile +++ b/contrib/gp_mdver/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# MODULE_big = gp_mdver_utils OBJS = gp_mdver_contents.o http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/gp_mdver/gp_mdver_utils.sql.in ---------------------------------------------------------------------- diff --git a/contrib/gp_mdver/gp_mdver_utils.sql.in b/contrib/gp_mdver/gp_mdver_utils.sql.in index 4731906..e0253a0 100644 --- a/contrib/gp_mdver/gp_mdver_utils.sql.in +++ b/contrib/gp_mdver/gp_mdver_utils.sql.in @@ -1,3 +1,22 @@ +-------------------------------------------------------------------------------- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-------------------------------------------------------------------------------- + CREATE SCHEMA mdver_utils; SET search_path = mdver_utils; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/gp_sparse_vector/Makefile ---------------------------------------------------------------------- diff --git a/contrib/gp_sparse_vector/Makefile b/contrib/gp_sparse_vector/Makefile index 7c119b9..50468be 100644 --- a/contrib/gp_sparse_vector/Makefile +++ b/contrib/gp_sparse_vector/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# #Intel compiler ifeq "$(CC)" "icc" USE_ICC = 1 http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/contrib/hawq-hadoop/Makefile ---------------------------------------------------------------------- diff --git a/contrib/hawq-hadoop/Makefile b/contrib/hawq-hadoop/Makefile index 781ba99..aa582c5 100644 --- a/contrib/hawq-hadoop/Makefile +++ b/contrib/hawq-hadoop/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# # HAWQ-HADOOP Makefile ifdef USE_PGXS http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/CMake/CodeCoverage.cmake ---------------------------------------------------------------------- diff --git a/depends/libyarn/CMake/CodeCoverage.cmake b/depends/libyarn/CMake/CodeCoverage.cmake index 5a82824..48debed 100644 --- a/depends/libyarn/CMake/CodeCoverage.cmake +++ b/depends/libyarn/CMake/CodeCoverage.cmake @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + # Check prereqs FIND_PROGRAM(GCOV_PATH gcov) http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/CMake/Functions.cmake ---------------------------------------------------------------------- diff --git a/depends/libyarn/CMake/Functions.cmake b/depends/libyarn/CMake/Functions.cmake index a771b60..652c96a 100644 --- a/depends/libyarn/CMake/Functions.cmake +++ b/depends/libyarn/CMake/Functions.cmake @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + FUNCTION(AUTO_SOURCES RETURN_VALUE PATTERN SOURCE_SUBDIRS) IF ("${SOURCE_SUBDIRS}" STREQUAL "RECURSE") http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/CMake/Options.cmake ---------------------------------------------------------------------- diff --git a/depends/libyarn/CMake/Options.cmake b/depends/libyarn/CMake/Options.cmake index d4bea73..5de057b 100644 --- a/depends/libyarn/CMake/Options.cmake +++ b/depends/libyarn/CMake/Options.cmake @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + OPTION(ENABLE_COVERAGE "enable code coverage" OFF) OPTION(ENABLE_DEBUG "enable debug build" OFF) OPTION(ENABLE_SSE "enable SSE4.2 buildin function" ON) http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/CMake/Platform.cmake ---------------------------------------------------------------------- diff --git a/depends/libyarn/CMake/Platform.cmake b/depends/libyarn/CMake/Platform.cmake index c22f9fb..e56a32b 100644 --- a/depends/libyarn/CMake/Platform.cmake +++ b/depends/libyarn/CMake/Platform.cmake @@ -1,3 +1,21 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") SET(OS_LINUX true CACHE INTERNAL "Linux operating system") ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Darwin") @@ -40,4 +58,4 @@ ENDIF(CMAKE_COMPILER_IS_GNUCXX) - \ No newline at end of file + http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/bootstrap ---------------------------------------------------------------------- diff --git a/depends/libyarn/bootstrap b/depends/libyarn/bootstrap index 19d2cc6..9c5cc0d 100755 --- a/depends/libyarn/bootstrap +++ b/depends/libyarn/bootstrap @@ -1,4 +1,22 @@ #!/bin/sh +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# die() { echo "$@" 1>&2 ; exit 1 http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/sample/Makefile ---------------------------------------------------------------------- diff --git a/depends/libyarn/sample/Makefile b/depends/libyarn/sample/Makefile index bfd7a61..f4d522c 100644 --- a/depends/libyarn/sample/Makefile +++ b/depends/libyarn/sample/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# CC=gcc CPPFLAGS=-g -Wall -std=gnu99 -I../dist/include LDFLAGS=-L../dist/lib -L/Users/yjin/greenplum-db-devel/lib -lyarn http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/src/doxyfile.in ---------------------------------------------------------------------- diff --git a/depends/libyarn/src/doxyfile.in b/depends/libyarn/src/doxyfile.in index 0471ee6..89e9e59 100644 --- a/depends/libyarn/src/doxyfile.in +++ b/depends/libyarn/src/doxyfile.in @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + # Doxyfile 1.8.2 # This file describes the settings to be used by the documentation system http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/depends/libyarn/src/platform.h.in ---------------------------------------------------------------------- diff --git a/depends/libyarn/src/platform.h.in b/depends/libyarn/src/platform.h.in index e5f05bc..86d04e5 100644 --- a/depends/libyarn/src/platform.h.in +++ b/depends/libyarn/src/platform.h.in @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #define THREAD_LOCAL __thread #define ATTRIBUTE_NORETURN __attribute__ ((noreturn)) #define ATTRIBUTE_NOINLINE __attribute__ ((noinline)) http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/getversion ---------------------------------------------------------------------- diff --git a/getversion b/getversion index 3ba305e..b1b4e62 100755 --- a/getversion +++ b/getversion @@ -1,4 +1,22 @@ #!/bin/bash +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# GP_VERSION="2.0.0.0_beta" http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ab9174a..0a8e600 100644 --- a/pom.xml +++ b/pom.xml @@ -34,13 +34,100 @@ <version>0.11</version> <configuration> <excludes> - <!-- - This file defines the exclusion list for Apache RAT. - Source files from 3rd party, like Postgres, gtest, gmock, orafce, pgcrypto, pljava, - will not be checked. + <!-- stream benchmark under BSD-like license with a few exceptions around benchmarking results --> + <exclude>tools/bin/src/stream/*</exclude> + + <!-- PyGreSQL an open-source Python module that interfaces to a PostgreSQL database under the Python license --> + <exclude>tools/bin/pythonSrc/PyGreSQL-4.0/**</exclude> + + <!-- BSD license --> + <exclude>depends/libyarn/CMake/FindBoost.cmake</exclude> + <exclude>depends/libyarn/CMake/FindGSasl.cmake</exclude> + <exclude>depends/libyarn/CMake/FindKERBEROS.cmake</exclude> + <exclude>src/bin/gpfdist/src/gpfdist/glob.c</exclude> + <exclude>src/bin/gpfdist/src/gpfdist/include/glob.h</exclude> + <exclude>src/include/port/win32_msvc/glob.h</exclude> + <exclude>src/include/port/win32_msvc/bzlib.h</exclude> + + <!-- Google BSD license --> + <exclude>depends/libyarn/gmock/**</exclude> + <exclude>depends/libyarn/gtest/**</exclude> + + <!-- Oraface Project BSD license https://github.com/orafce --> + <exclude>contrib/orafce/*</exclude> + + <!-- Pexpect a Python module for spawning child applications and controlling them automatically, BSD license --> + <exclude>tools/bin/lib/pexpect.py</exclude> + + <!-- These files came from PostgreSQL but they don't have markers to identify that --> + <exclude>aclocal.m4</exclude> + <exclude>GNUmakefile.in</exclude> + <exclude>configure.in</exclude> + <exclude>configure</exclude> + <exclude>Makefile</exclude> + <exclude>config/*</exclude> <!-- This one is tricky since it is actually GPL --> + <exclude>src/makefiles/*</exclude> + <exclude>contrib/pgcrypto/**/*</exclude> + <exclude>src/DEVELOPERS</exclude> + <exclude>src/backend/catalog/Makefile</exclude> + <exclude>src/backend/port/beos/*.c</exclude> + <exclude>src/backend/port/tas/*.s</exclude> + <exclude>src/backend/regex/re_syntax.n</exclude> + <exclude>src/backend/utils/mb/conversion_procs/regress_epilogue</exclude> + <exclude>src/backend/utils/mb/conversion_procs/regress_prolog</exclude> + <exclude>src/backend/utils/mb/Unicode/ISO10646-GB18030.TXT</exclude> + <exclude>src/backend/utils/misc/check_guc</exclude> + <exclude>src/backend/port/hpux/tas.c.template</exclude> + <exclude>src/backend/utils/mb/conversion_procs/proc.mk</exclude> + <exclude>src/include/pg_config.h.win32</exclude> + <exclude>src/bin/scripts/common.h</exclude> + <exclude>src/include/pg_config.h.in</exclude> + <exclude>src/bin/initdb/*</exclude> + <exclude>src/bin/initlocation/*</exclude> + <exclude>src/bin/ipcclean/*</exclude> + <exclude>src/bin/pg_*/**/*</exclude> + <exclude>src/bin/psql/**/*</exclude> + <exclude>src/bin/scripts/*.c</exclude> + <exclude>src/interfaces/**/*</exclude> + <exclude>src/tools/**/*</exclude> + <exclude>src/tutorial/*</exclude> + <exclude>src/pl/**/*</exclude> + <exclude>src/port/*</exclude> + <exclude>src/template/*</exclude> + <exclude>src/test/**/*</exclude> + <exclude>src/timezone/**/*</exclude> + <exclude>doc/src/sgml/fixrtf</exclude> + <exclude>doc/**/*.sgml</exclude> + + <!-- Following files are licensed to ASF via the initial HAWQ SGA, + however it is tricky to maintain headers in them --> + <exclude>depends/libyarn/test/data/*</exclude> + + <exclude>contrib/gp_sparse_vector/bugs</exclude> + <exclude>contrib/gp_sparse_vector/*output</exclude> + <exclude>contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/resources/dataset</exclude> + <exclude>contrib/hawq-hadoop/**/*.yaml</exclude> + + <exclude>src/backend/access/index/caql.files</exclude> + <exclude>src/backend/gpopt/library.ver</exclude> + <exclude>src/backend/libgppc/lib/Doxyfile</exclude> + <exclude>src/backend/libgppc/lib/package/libgppc.spec</exclude> + <exclude>src/backend/libgppc/lib/package/gppkg_spec.yml.source.in</exclude> + <exclude>src/backend/utils/misc/etc/slaves</exclude> + + <exclude>tools/bin/.rcfile</exclude> + <exclude>tools/bin/postgresql_conf_gp_additions</exclude> + <exclude>tools/doc/**/*</exclude> + <exclude>tools/demo/gpfdist_transform/*.yaml</exclude> + <exclude>tools/bin/gppylib/operations/madlib_depcheck/changelist.yaml</exclude> + + <!-- Finally we exclude a few file types (based on extension) for which comments are + tough to maintain. Note that this is a combination of files licensed to ASF and + files that came from PostgreSQL and other projects (under compatible licenses). + You may need to engage in software archaeology to find out the origins of these. --> + <exclude>.git/**</exclude> <exclude>**/*.md</exclude> - <exclude>**/*.in</exclude> <exclude>**/*.md5</exclude> <exclude>**/*.json</exclude> <exclude>**/*.ans</exclude> @@ -57,81 +144,13 @@ <exclude>**/*.pm</exclude> <exclude>**/*.1</exclude> <exclude>**/*.sample</exclude> - <exclude>configure</exclude> - <exclude>config/*</exclude> - <exclude>*version</exclude> <exclude>**/*.pgc</exclude> <exclude>**/*.cnf</exclude> <exclude>**/*.stx</exclude> <exclude>**/*.gdb</exclude> <exclude>**/__init__.py</exclude> - <exclude>README-PostgreSQL</exclude> - <exclude>contrib/gp_sparse_vector/bugs</exclude> - <exclude>contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/resources/dataset</exclude> - <exclude>contrib/hawq-hadoop/**/*.yaml</exclude> - <exclude>contrib/gp_sparse_vector/*output</exclude> - <exclude>contrib/gp_sparse_vector/README*</exclude> - <exclude>contrib/orafce/*</exclude> - <exclude>contrib/pgcrypto/**/*</exclude> - <exclude>doc/src/sgml/fixrtf</exclude> - <exclude>depends/libyarn/bootstrap</exclude> - <exclude>depends/libyarn/**/*.cmake</exclude> - <exclude>depends/libyarn/**/*.txt</exclude> - <exclude>depends/libyarn/gmock/**/*.cc</exclude> - <exclude>depends/libyarn/gmock/**/*.h</exclude> - <exclude>depends/libyarn/gmock/COPYING</exclude> - <exclude>depends/libyarn/gtest/**/*.cc</exclude> - <exclude>depends/libyarn/gtest/**/*.h</exclude> - <exclude>depends/libyarn/**/Makefile</exclude> - <exclude>doc/**/*.sgml</exclude> - <exclude>pxf/*.gradle</exclude> - <exclude>pxf/gradlew</exclude> + <exclude>**/*README*</exclude> <exclude>pxf/**/*.classpath</exclude> - <exclude>src/bin/gp_workfile_mgr/*</exclude> - <exclude>src/bin/gpfdist/src/gpfdist/glob.c</exclude> - <exclude>src/bin/pgbench/*</exclude> - <exclude>src/bin/scripts/common.h</exclude> - <exclude>src/bin/gpfdist/**/include/glob.*</exclude> - <exclude>src/bin/gpfusion/*</exclude> - <exclude>src/bin/gpupgrade/*</exclude> - <exclude>src/bin/i*/**/*</exclude> - <exclude>src/bin/pg_*/**/*</exclude> - <exclude>src/bin/psql/**/*</exclude> - <exclude>src/bin/scripts/*.c</exclude> - <exclude>src/DEVELOPERS</exclude> - <exclude>src/backend/access/index/caql.files</exclude> - <exclude>src/backend/gpopt/library.ver</exclude> - <exclude>src/backend/libgppc/lib/Doxyfile</exclude> - <exclude>src/backend/libgppc/lib/package/libgppc.spec</exclude> - <exclude>src/backend/port/beos/*.c</exclude> - <exclude>src/backend/port/tas/*.s</exclude> - <exclude>src/backend/regex/re_syntax.n</exclude> - <exclude>src/backend/storage/file/README_QUICKLZ</exclude> - <exclude>src/backend/utils/mb/conversion_procs/regress_epilogue</exclude> - <exclude>src/backend/utils/mb/conversion_procs/regress_prolog</exclude> - <exclude>src/backend/utils/mb/Unicode/ISO10646-GB18030.TXT</exclude> - <exclude>src/backend/utils/misc/check_guc</exclude> - <exclude>src/backend/utils/misc/etc/slaves</exclude> - <exclude>src/include/access/README.caql_usage</exclude> - <exclude>src/include/catalog/README.add_catalog_function</exclude> - <exclude>src/include/catalog/README.tidycat</exclude> - <exclude>src/include/pg_config.h.win32</exclude> - <exclude>src/interfaces/**/*</exclude> - <exclude>src/tools/**/*</exclude> - <exclude>src/tutorial/*</exclude> - <exclude>src/pl/**/*</exclude> - <exclude>src/port/*</exclude> - <exclude>src/**/Makefile*</exclude> - <exclude>src/template/*</exclude> - <exclude>src/test/**/*</exclude> - <exclude>src/timezone/**/*</exclude> - <exclude>tools/bin/pythonSrc/**/*</exclude> - <exclude>tools/bin/ext/pg8000/*</exclude> - <exclude>tools/bin/.rcfile</exclude> - <exclude>tools/bin/diskqual.ksh</exclude> - <exclude>tools/bin/ext/figleaf/figleaf2html</exclude> - <exclude>tools/bin/postgresql_conf_gp_additions</exclude> - <exclude>tools/doc/**/*</exclude> </excludes> <licenses> <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> @@ -155,5 +174,20 @@ </plugin> </plugins> </pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.11</version> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/putversion ---------------------------------------------------------------------- diff --git a/putversion b/putversion index 0b40370..da09c13 100755 --- a/putversion +++ b/putversion @@ -1,4 +1,22 @@ #!/usr/bin/env perl +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# $foo = `cat VERSION | tr '-' ' '`; chop $foo; $foo = quotemeta $foo; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/pxf/Makefile ---------------------------------------------------------------------- diff --git a/pxf/Makefile b/pxf/Makefile index 77ea4d7..9f71478 100644 --- a/pxf/Makefile +++ b/pxf/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# # protect the default target for this file from the targets in Makefile.global default: all http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/pxf/settings.gradle ---------------------------------------------------------------------- diff --git a/pxf/settings.gradle b/pxf/settings.gradle index cbfb956..c1111de 100644 --- a/pxf/settings.gradle +++ b/pxf/settings.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + rootProject.name = 'pxf' include 'pxf-api' http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/Makefile.mock ---------------------------------------------------------------------- diff --git a/src/Makefile.mock b/src/Makefile.mock index 15205a2..dea4e40 100644 --- a/src/Makefile.mock +++ b/src/Makefile.mock @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# include $(top_builddir)/src/Makefile.global MOCK_DIR=$(top_builddir)/src/test/unit/mock http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/VERSIONS.mk.in ---------------------------------------------------------------------- diff --git a/src/VERSIONS.mk.in b/src/VERSIONS.mk.in index a03fea6..2f7f781 100644 --- a/src/VERSIONS.mk.in +++ b/src/VERSIONS.mk.in @@ -1,4 +1,22 @@ # PostgreSQL version number +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# VERSION = @PACKAGE_VERSION@ MAJORVERSION = @PG_MAJORVERSION@ http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/Makefile b/src/backend/access/appendonly/Makefile index 7428c15..2e6282a 100755 --- a/src/backend/access/appendonly/Makefile +++ b/src/backend/access/appendonly/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# #------------------------------------------------------------------------- # # Makefile-- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/aomd.c ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/aomd.c b/src/backend/access/appendonly/aomd.c index cee7f86..4e236ff 100644 --- a/src/backend/access/appendonly/aomd.c +++ b/src/backend/access/appendonly/aomd.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * aomd.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/aosegfiles.c ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/aosegfiles.c b/src/backend/access/appendonly/aosegfiles.c index 08ce53a..da160ce 100644 --- a/src/backend/access/appendonly/aosegfiles.c +++ b/src/backend/access/appendonly/aosegfiles.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * aosegfiles.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/appendonlyam.c ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/appendonlyam.c b/src/backend/access/appendonly/appendonlyam.c index d08e82f..68031f4 100644 --- a/src/backend/access/appendonly/appendonlyam.c +++ b/src/backend/access/appendonly/appendonlyam.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * appendonlyam.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/appendonlywriter.c ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/appendonlywriter.c b/src/backend/access/appendonly/appendonlywriter.c index 1c00818..766113c 100644 --- a/src/backend/access/appendonly/appendonlywriter.c +++ b/src/backend/access/appendonly/appendonlywriter.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * appendonlywriter.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/appendonly/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/appendonly/test/Makefile b/src/backend/access/appendonly/test/Makefile index 3a586b1..3519d48 100644 --- a/src/backend/access/appendonly/test/Makefile +++ b/src/backend/access/appendonly/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/access/appendonly top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/common/heaptuple.c ---------------------------------------------------------------------- diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index b5eb771..2ae470b 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * heaptuple.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/common/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/common/test/Makefile b/src/backend/access/common/test/Makefile index fb15764..7500f93 100644 --- a/src/backend/access/common/test/Makefile +++ b/src/backend/access/common/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/access/common top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/external/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/external/Makefile b/src/backend/access/external/Makefile index fec5a34..bc043dc 100644 --- a/src/backend/access/external/Makefile +++ b/src/backend/access/external/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# #------------------------------------------------------------------------- # # Makefile-- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/external/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/external/test/Makefile b/src/backend/access/external/test/Makefile index 5778958..96f0cea 100644 --- a/src/backend/access/external/test/Makefile +++ b/src/backend/access/external/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/access/external top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/parquet/metadatautil_c++/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/parquet/metadatautil_c++/test/Makefile b/src/backend/access/parquet/metadatautil_c++/test/Makefile index 1ca3f77..d502498 100644 --- a/src/backend/access/parquet/metadatautil_c++/test/Makefile +++ b/src/backend/access/parquet/metadatautil_c++/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/access/parquet/metadatautil_c++ top_builddir=../../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/transam/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/access/transam/test/Makefile b/src/backend/access/transam/test/Makefile index 9208a5a..b0fe508 100644 --- a/src/backend/access/transam/test/Makefile +++ b/src/backend/access/transam/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/access/transam top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/access/transam/xlogutils.c ---------------------------------------------------------------------- diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c index d1f9cf1..bd42c6f 100644 --- a/src/backend/access/transam/xlogutils.c +++ b/src/backend/access/transam/xlogutils.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * xlogutils.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/bootstrap/bootparse.y ---------------------------------------------------------------------- diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y index 9680912..4e9ff00 100755 --- a/src/backend/bootstrap/bootparse.y +++ b/src/backend/bootstrap/bootparse.y @@ -1,10 +1,27 @@ %{ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * bootparse.y * yacc grammar for the "bootstrap" mode (BKI file format) * - * Portions Copyright (c) 2006-2009, Greenplum inc * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/aoseg.c ---------------------------------------------------------------------- diff --git a/src/backend/catalog/aoseg.c b/src/backend/catalog/aoseg.c index 18778b7..08a8f81 100644 --- a/src/backend/catalog/aoseg.c +++ b/src/backend/catalog/aoseg.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * aoseg.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/caql/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/caql/Makefile b/src/backend/catalog/caql/Makefile index de513a3..77bcb5c 100644 --- a/src/backend/catalog/caql/Makefile +++ b/src/backend/catalog/caql/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir = src/backend/catalog/caql top_builddir = ../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/caql/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/caql/test/Makefile b/src/backend/catalog/caql/test/Makefile index d4b21f3..36e7ff4 100644 --- a/src/backend/catalog/caql/test/Makefile +++ b/src/backend/catalog/caql/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/catalog/caql top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/caql/test_discard/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/caql/test_discard/Makefile b/src/backend/catalog/caql/test_discard/Makefile index d4b21f3..36e7ff4 100644 --- a/src/backend/catalog/caql/test_discard/Makefile +++ b/src/backend/catalog/caql/test_discard/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/catalog/caql top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/cdb_schema.in ---------------------------------------------------------------------- diff --git a/src/backend/catalog/cdb_schema.in b/src/backend/catalog/cdb_schema.in index c24d463..b8fa6f7 100644 --- a/src/backend/catalog/cdb_schema.in +++ b/src/backend/catalog/cdb_schema.in @@ -1,3 +1,20 @@ +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-- -- -------------------------------------------------------------------- -- -- cdb_schema.sql http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/cdb_util.in ---------------------------------------------------------------------- diff --git a/src/backend/catalog/cdb_util.in b/src/backend/catalog/cdb_util.in index 85328a3..d4fe28d 100644 --- a/src/backend/catalog/cdb_util.in +++ b/src/backend/catalog/cdb_util.in @@ -1,3 +1,20 @@ +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-- -- -------------------------------------------------------------------- -- -- cdb_schema.sql http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/core/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/core/Makefile b/src/backend/catalog/core/Makefile index a8b20bd..771ba39 100644 --- a/src/backend/catalog/core/Makefile +++ b/src/backend/catalog/core/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir = src/backend/catalog/core top_builddir = ../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/core/test/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/core/test/Makefile b/src/backend/catalog/core/test/Makefile index 44cdaaf..727c5de 100644 --- a/src/backend/catalog/core/test/Makefile +++ b/src/backend/catalog/core/test/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# subdir=src/backend/catalog/core top_builddir=../../../../.. http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/gp_toolkit_test.sql.in ---------------------------------------------------------------------- diff --git a/src/backend/catalog/gp_toolkit_test.sql.in b/src/backend/catalog/gp_toolkit_test.sql.in index ae0b496..691dfad 100644 --- a/src/backend/catalog/gp_toolkit_test.sql.in +++ b/src/backend/catalog/gp_toolkit_test.sql.in @@ -1,3 +1,20 @@ +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. +-- drop table if exists fooaot; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/hcatalog/Makefile ---------------------------------------------------------------------- diff --git a/src/backend/catalog/hcatalog/Makefile b/src/backend/catalog/hcatalog/Makefile index 01462ca..6d1dfde 100644 --- a/src/backend/catalog/hcatalog/Makefile +++ b/src/backend/catalog/hcatalog/Makefile @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# #------------------------------------------------------------------------- # # Makefile-- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/heap.c ---------------------------------------------------------------------- diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index caef707..477eb67 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * heap.c http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/91c45cab/src/backend/catalog/index.c ---------------------------------------------------------------------- diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c index d9de774..29dc07a 100644 --- a/src/backend/catalog/index.c +++ b/src/backend/catalog/index.c @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*------------------------------------------------------------------------- * * index.c
