hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject incubator-hawq git commit: HAWQ-184. Add license header for some files and add a exclude file(pom.xml) for Apache Rat
Date Mon, 14 Dec 2015 03:38:15 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 2d1bb3488 -> 59264a537


HAWQ-184. Add license header for some files and add a exclude file(pom.xml) for Apache Rat


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

Branch: refs/heads/master
Commit: 59264a537b6e000a416e60c3392720b92a6ebcfd
Parents: 2d1bb34
Author: Wen Lin <wlin@pivotal.io>
Authored: Mon Dec 14 11:44:54 2015 +0800
Committer: Wen Lin <wlin@pivotal.io>
Committed: Mon Dec 14 11:44:54 2015 +0800

----------------------------------------------------------------------
 pom.xml                                         | 521 +++++++++++++++++++
 pxf/pxf-service/src/scripts/pxf-service         |  17 +
 .../pxf/service/rest/WritableResourceTest.java  |  20 +-
 src/backend/access/external/pxfanalyze.c        |  21 +-
 .../access/external/test/pxfanalyze_test.c      |  18 +
 src/backend/gpopt/ivy-build.xml                 |  20 +
 src/backend/gpopt/ivy.xml                       |  20 +
 src/backend/storage/file/bfz.c                  |  18 +
 src/backend/storage/file/compress_nothing.c     |  18 +
 src/backend/storage/file/compress_zlib.c        |  18 +
 src/backend/utils/gpmon/gpmon.c                 |  18 +
 .../mdver/test/mdver_dep_translator_test.c      |  18 +
 .../utils/workfile_manager/workfile_diskspace.c |  21 +-
 .../utils/workfile_manager/workfile_file.c      |  21 +-
 .../utils/workfile_manager/workfile_mgr.c       |  21 +-
 .../utils/workfile_manager/workfile_mgr_test.c  |  21 +-
 .../workfile_manager/workfile_queryspace.c      |  21 +-
 .../workfile_manager/workfile_segmentspace.c    |  21 +-
 .../gp_workfile_mgr/gp_workfile_cache_clear.c   |  29 +-
 .../gp_workfile_mgr/gp_workfile_cache_stats.c   |  29 +-
 .../gp_workfile_mgr/gp_workfile_cache_test.c    |  29 +-
 src/bin/gpcheckhdfs/gpcheckhdfs.c               |  19 +
 src/bin/gpfdist/src/gpfdist/gpfdist.c           |  19 +
 src/bin/gpfdist/src/gpfdist/gpfxdist.h          |  19 +
 src/bin/gpfdist/src/gpfdist/transform.c         |  19 +
 src/bin/gpfilesystem/hdfs/gpfshdfs.c            |  20 +-
 src/include/access/pxfanalyze.h                 |  21 +-
 src/include/gpmon/gpmon.h                       |  18 +
 src/include/storage/bfz.h                       |  18 +
 src/include/utils/workfile_mgr.h                |  22 +-
 tools/bin/gppylib/gpunit                        |  16 +
 tools/bin/gppylib/unit2                         |  16 +
 tools/sbin/gpcheck_hostdump                     |  17 +
 tools/sbin/gpfixuserlimts                       |  16 +
 34 files changed, 1126 insertions(+), 54 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..b884075
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,521 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+ 
+  <groupId>org.apache.hawq</groupId>
+  <artifactId>hawq</artifactId>
+  <version>2.0</version>
+  <packaging>pom</packaging>
+
+  <build>  
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <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.
+              -->
+              <exclude>**/*.md</exclude>
+              <exclude>**/*.in</exclude>
+              <exclude>**/*.mk</exclude>
+              <exclude>**/*.mak</exclude>
+              <exclude>**/*.md5</exclude>
+              <exclude>**/*.json</exclude>
+              <exclude>**/*.ans</exclude>
+              <exclude>**/*.sql</exclude>
+              <exclude>**/*.yaml</exclude>
+              <exclude>**/*.out</exclude>
+              <exclude>**/*.po</exclude>
+              <exclude>**/*.map</exclude>
+              <exclude>**/*.stderr</exclude>
+              <exclude>**/*.stdout</exclude>
+              <exclude>**/*.source</exclude>
+              <exclude>**/*.txt</exclude>
+              <exclude>**/*.data</exclude>
+              <exclude>**/*.csv</exclude>
+              <exclude>**/*.pm</exclude>
+              <exclude>**/*.1</exclude>
+              <exclude>**/*.m4</exclude>
+              <exclude>**/*.sample</exclude>
+              <exclude>configure</exclude>
+              <exclude>config/*</exclude>
+              <exclude>*version</exclude>
+              <exclude>**/*.pgc</exclude>
+              <exclude>**/*.rc</exclude>
+              <exclude>**/*.f</exclude>
+              <exclude>**/*.cnf</exclude>
+              <exclude>**/*.stx</exclude>
+              <exclude>**/*.gdb</exclude>
+              <exclude>**/__init__.py</exclude>
+              <exclude>**/Makefile*</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/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/releng/**</exclude>
+              <exclude>depends/libyarn/**/Makefile</exclude>
+              <exclude>doc/**/*.sgml</exclude>
+              <exclude>pxf/*.gradle</exclude>
+              <exclude>pxf/gradlew</exclude>
+              <exclude>pxf/**/*.classpath</exclude>
+              <exclude>src/backend/access/appendonly/aomd.c</exclude>
+              <exclude>src/backend/access/appendonly/aosegfiles.c</exclude>
+              <exclude>src/backend/access/appendonly/appendonlyam.c</exclude>
+              <exclude>src/backend/access/appendonly/appendonlywriter.c</exclude>
+              <exclude>src/backend/access/bitmap/*.c</exclude>
+              <exclude>src/backend/access/common/**/*.c</exclude>	
+              <exclude>src/backend/access/external/url.i</exclude>
+              <exclude>src/backend/access/gin/*.c</exclude>
+              <exclude>src/backend/access/gist/*.c</exclude>
+              <exclude>src/backend/access/hash/*.c</exclude>
+              <exclude>src/backend/access/heap/*.c</exclude>
+              <exclude>src/backend/access/index/*.*</exclude>
+              <exclude>src/backend/access/nbtree/*.c</exclude>
+              <exclude>src/backend/access/transam/**/*.c</exclude>
+              <exclude>src/backend/access/catalog/**/*.*</exclude>
+              <exclude>src/backend/bootstrap/*</exclude>
+              <exclude>src/backend/catalog/aclchk.c</exclude>
+              <exclude>src/backend/catalog/aoseg.c</exclude>
+              <exclude>src/backend/catalog/caql/gram.y</exclude>
+              <exclude>src/backend/catalog/caql/scan.l</exclude>
+              <exclude>src/backend/catalog/catalog.c</exclude>
+              <exclude>src/backend/catalog/dependency.c</exclude>
+              <exclude>src/backend/catalog/genbki.sh</exclude>
+              <exclude>src/backend/catalog/heap.c</exclude>
+              <exclude>src/backend/catalog/index.c</exclude>
+              <exclude>src/backend/catalog/indexing.c</exclude>
+              <exclude>src/backend/catalog/namespace.c</exclude>
+              <exclude>src/backend/catalog/pg_aggregate.c</exclude>
+              <exclude>src/backend/catalog/pg_appendonly.c</exclude>
+              <exclude>src/backend/catalog/pg_attribute_encoding.c</exclude>
+              <exclude>src/backend/catalog/pg_compression.c</exclude>
+              <exclude>src/backend/catalog/pg_constraint.c</exclude>
+              <exclude>src/backend/catalog/pg_conversion.c</exclude>
+              <exclude>src/backend/catalog/pg_depend.c</exclude>
+              <exclude>src/backend/catalog/pg_extprotocol.c</exclude>
+              <exclude>src/backend/catalog/pg_exttable.c</exclude>
+              <exclude>src/backend/catalog/pg_filesystem.c</exclude>
+              <exclude>src/backend/catalog/pg_largeobject.c</exclude>
+              <exclude>src/backend/catalog/pg_namespace.c</exclude>
+              <exclude>src/backend/catalog/pg_operator.c</exclude>
+              <exclude>src/backend/catalog/pg_proc.c</exclude>
+              <exclude>src/backend/catalog/pg_proc_callback.c</exclude>
+              <exclude>src/backend/catalog/pg_shdepend.c</exclude>
+              <exclude>src/backend/catalog/pg_type.c</exclude>
+              <exclude>src/backend/catalog/quicklz_compression.c</exclude>
+              <exclude>src/backend/catalog/toasting.c</exclude>
+              <exclude>src/backend/commands/**/*.c</exclude>
+              <exclude>src/backend/executor/execAmi.c</exclude>
+              <exclude>src/backend/executor/execBitmapAOScan.c</exclude>
+              <exclude>src/backend/executor/execBitmapHeapScan.c</exclude>
+              <exclude>src/backend/executor/execBitmapTableScan.c</exclude>
+              <exclude>src/backend/executor/execGrouping.c</exclude>
+              <exclude>src/backend/executor/execHeapScan.c</exclude>
+              <exclude>src/backend/executor/execHHashagg.c</exclude>
+              <exclude>src/backend/executor/execJunk.c</exclude>
+              <exclude>src/backend/executor/execMain.c</exclude>
+              <exclude>src/backend/executor/execProcnode.c</exclude>
+              <exclude>src/backend/executor/execQual.c</exclude>
+              <exclude>src/backend/executor/execScan.c</exclude>
+              <exclude>src/backend/executor/execTuples.c</exclude>
+              <exclude>src/backend/executor/execUtils.c</exclude>
+              <exclude>src/backend/executor/functions.c</exclude>
+              <exclude>src/backend/executor/instrument.c</exclude>
+              <exclude>src/backend/executor/nodeAgg.c</exclude>
+              <exclude>src/backend/executor/nodeAppend.c</exclude>
+              <exclude>src/backend/executor/nodeAppendOnlyscan.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapAnd.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapAppendOnlyscan.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapHeapscan.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapIndexscan.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapOr.c</exclude>
+              <exclude>src/backend/executor/nodeBitmapTableScan.c</exclude>
+              <exclude>src/backend/executor/nodeFunctionscan.c</exclude>
+              <exclude>src/backend/executor/nodeHash.c</exclude>
+              <exclude>src/backend/executor/nodeHashjoin.c</exclude>
+              <exclude>src/backend/executor/nodeIndexscan.c</exclude>
+              <exclude>src/backend/executor/nodeLimit.c</exclude>
+              <exclude>src/backend/executor/nodeMaterial.c</exclude>
+              <exclude>src/backend/executor/nodeMergejoin.c</exclude>
+              <exclude>src/backend/executor/nodeNestloop.c</exclude>
+              <exclude>src/backend/executor/nodeResult.c</exclude>
+              <exclude>src/backend/executor/nodeSeqscan.c</exclude>
+              <exclude>src/backend/executor/nodeSetOp.c</exclude>
+              <exclude>src/backend/executor/nodeShareInputScan.c</exclude>
+              <exclude>src/backend/executor/nodeSort.c</exclude>
+              <exclude>src/backend/executor/nodeSubplan.c</exclude>
+              <exclude>src/backend/executor/nodeSubqueryscan.c</exclude>
+              <exclude>src/backend/executor/nodeTableFunction.c</exclude>
+              <exclude>src/backend/executor/nodeTidscan.c</exclude>
+              <exclude>src/backend/executor/nodeUnique.c</exclude>
+              <exclude>src/backend/executor/nodeValuesscan.c</exclude>
+              <exclude>src/backend/executor/spi.c</exclude>
+              <exclude>src/backend/executor/test/*</exclude>
+              <exclude>src/backend/executor/tstoreReceiver.c</exclude>
+              <exclude>src/backend/foreign/foreign.c</exclude>
+              <exclude>src/backend/gp_libpq_fe/**/*.c</exclude>
+              <exclude>src/backend/gp_libpq_fe/**/*.h</exclude>
+              <exclude>src/backend/gpopt/library.ver</exclude>
+              <exclude>src/backend/lib/*.c</exclude>
+              <exclude>src/backend/libgppc/lib/Doxyfile</exclude>
+              <exclude>src/backend/libgppc/lib/package/libgppc.spec</exclude>
+              <exclude>src/backend/executor/**/.c</exclude>
+              <exclude>src/backend/libpq/**/*</exclude>
+              <exclude>src/backend/main/main.c</exclude>
+              <exclude>src/backend/nodes/**/*</exclude>
+              <exclude>src/backend/optimizer/**/*</exclude>
+              <exclude>src/backend/parser/*</exclude>
+              <exclude>src/backend/port/**/*</exclude>
+              <exclude>src/backend/postmaster/**/*</exclude>
+              <exclude>src/backend/regex/*</exclude>
+              <exclude>src/backend/rewrite/*.c</exclude>
+              <exclude>src/backend/storage/file/README_QUICKLZ</exclude>
+              <exclude>src/backend/storage/buffer/*.c</exclude>
+              <exclude>src/backend/storage/ipc/*.c</exclude>
+              <exclude>src/backend/storage/file/buffile.c</exclude>
+              <exclude>src/backend/storage/file/fd.c</exclude>
+              <exclude>src/backend/storage/file/filesystem.c</exclude>
+              <exclude>src/backend/storage/file/pipe.c</exclude>
+              <exclude>src/backend/storage/freespace/*.c</exclude>
+              <exclude>src/backend/storage/l*/*.c</exclude>
+              <exclude>src/backend/storage/page/*.c</exclude>
+              <exclude>src/backend/storage/smgr/*.c</exclude>
+              <exclude>src/backend/tcop/**/*.c</exclude>
+              <exclude>src/backend/utils/adt/*</exclude>
+              <exclude>src/backend/utils/cache/**/*</exclude>
+              <exclude>src/backend/utils/error/assert.c</exclude>
+              <exclude>src/backend/utils/error/debugbreak.c</exclude>
+              <exclude>src/backend/utils/error/debugutils.c</exclude>
+              <exclude>src/backend/utils/error/elog.c</exclude>
+              <exclude>src/backend/utils/fmgr/*</exclude>
+              <exclude>src/backend/utils/Gen*</exclude>
+              <exclude>src/backend/utils/gp/*</exclude>
+              <exclude>src/backend/utils/hash/*</exclude>
+              <exclude>src/backend/utils/init/*</exclude>
+              <exclude>src/backend/utils/time/*</exclude>
+              <exclude>src/backend/utils/misc/check_guc</exclude>
+              <exclude>src/backend/utils/misc/etc/gpcheck.cnf</exclude>
+              <exclude>src/backend/utils/misc/etc/slaves</exclude>
+              <exclude>src/backend/utils/misc/guc-file.l</exclude>
+              <exclude>src/backend/utils/misc/guc.c</exclude>
+              <exclude>src/backend/utils/misc/help_config.c</exclude>
+              <exclude>src/backend/utils/misc/pg_rusage.c</exclude>
+              <exclude>src/backend/utils/misc/ps_status.c</exclude>
+              <exclude>src/backend/utils/misc/simex.c</exclude>
+              <exclude>src/backend/utils/misc/superuser.c</exclude>
+              <exclude>src/backend/utils/misc/tzparser.c</exclude>
+              <exclude>src/backend/utils/misc/uriparser.c</exclude>
+              <exclude>src/backend/utils/mmgr/aset.c</exclude>
+              <exclude>src/backend/utils/mmgr/asetDirect.c</exclude>
+              <exclude>src/backend/utils/mmgr/mcxt.c</exclude>
+              <exclude>src/backend/utils/mmgr/portalmem.c</exclude>
+              <exclude>src/backend/utils/probes.d</exclude>
+              <exclude>src/backend/utils/resowner/resowner.c</exclude>
+              <exclude>src/backend/utils/resscheduler/**/*</exclude>
+              <exclude>src/backend/utils/resscheduler/*</exclude>
+              <exclude>src/backend/utils/mb/**/*</exclude>
+              <exclude>src/backend/utils/sort/**/*</exclude>
+              <exclude>src/backend/utils/test/*</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/include/c.h</exclude>
+              <exclude>src/include/getaddrinfo.h</exclude>
+              <exclude>src/include/getopt_long.h</exclude>
+              <exclude>src/include/pg_config.h.win32</exclude>
+              <exclude>src/include/port.h</exclude>
+              <exclude>src/include/portability/instr_time.h</exclude>
+              <exclude>src/include/tablefuncapi.h</exclude>
+              <exclude>src/include/access/aosegfiles.h</exclude>
+              <exclude>src/include/access/appendonlytid.h</exclude>
+              <exclude>src/include/access/appendonlywriter.h</exclude>
+              <exclude>src/include/access/attnum.h</exclude>
+              <exclude>src/include/access/bitmap.h</exclude>
+              <exclude>src/include/access/cdbdistributedxidmap.h</exclude>
+              <exclude>src/include/access/clog.h</exclude>
+              <exclude>src/include/access/extprotocol.h</exclude>
+              <exclude>src/include/access/fileam.h</exclude>
+              <exclude>src/include/access/formatter.h</exclude>
+              <exclude>src/include/access/genam.h</exclude>
+              <exclude>src/include/access/gin.h</exclude>
+              <exclude>src/include/access/gist.h</exclude>
+              <exclude>src/include/access/gist_private.h</exclude>
+              <exclude>src/include/access/gistscan.h</exclude>
+              <exclude>src/include/access/ha_config.h</exclude>
+              <exclude>src/include/access/hash.h</exclude>
+              <exclude>src/include/access/hd_work_mgr.h</exclude>
+              <exclude>src/include/access/heapam.h</exclude>
+              <exclude>src/include/access/hio.h</exclude>
+              <exclude>src/include/access/htup.h</exclude>
+              <exclude>src/include/access/itup.h</exclude>
+              <exclude>src/include/access/libchurl.h</exclude>
+              <exclude>src/include/access/memtup.h</exclude>
+              <exclude>src/include/access/multixact.h</exclude>
+              <exclude>src/include/access/nbtree.h</exclude>
+              <exclude>src/include/access/parquetmetadata_c++/MetadataInterface.h</exclude>
+              <exclude>src/include/access/persistentendxactrec.h</exclude>
+              <exclude>src/include/access/persistentfilesysobjname.h</exclude>
+              <exclude>src/include/access/printtup.h</exclude>
+              <exclude>src/include/access/pxfanalyze.h</exclude>
+              <exclude>src/include/access/pxfcomutils.h</exclude>
+              <exclude>src/include/access/pxffilters.h</exclude>
+              <exclude>src/include/access/pxfheaders.h</exclude>
+              <exclude>src/include/access/pxfmasterapi.h</exclude>
+              <exclude>src/include/access/pxfuriparser.h</exclude>
+              <exclude>src/include/access/pxfutils.h</exclude>
+              <exclude>src/include/access/README.caql_usage</exclude>
+              <exclude>src/include/access/reloptions.h</exclude>
+              <exclude>src/include/access/relscan.h</exclude>
+              <exclude>src/include/access/rmgr.h</exclude>
+              <exclude>src/include/access/sdir.h</exclude>
+              <exclude>src/include/access/skey.h</exclude>
+              <exclude>src/include/access/slru.h</exclude>
+              <exclude>src/include/access/subtrans.h</exclude>
+              <exclude>src/include/access/sysattr.h</exclude>
+              <exclude>src/include/access/transam.h</exclude>
+              <exclude>src/include/access/tupdesc.h</exclude>
+              <exclude>src/include/access/tupmacs.h</exclude>
+              <exclude>src/include/access/tuptoaster.h</exclude>
+              <exclude>src/include/access/twophase.h</exclude>
+              <exclude>src/include/access/twophase_rmgr.h</exclude>
+              <exclude>src/include/access/url.h</exclude>
+              <exclude>src/include/access/valid.h</exclude>
+              <exclude>src/include/access/xact.h</exclude>
+              <exclude>src/include/access/xlog.h</exclude>
+              <exclude>src/include/access/xlog_internal.h</exclude>
+              <exclude>src/include/access/xlogdefs.h</exclude>
+              <exclude>src/include/access/xlogmm.h</exclude>
+              <exclude>src/include/access/xlogutils.h</exclude>
+              <exclude>src/include/bootstrap/bootstrap.h</exclude>
+              <exclude>src/include/catalog/calico.pl</exclude>
+              <exclude>src/include/catalog/caqltrack.pl</exclude>
+              <exclude>src/include/catalog/caqluniqdef.pl</exclude>
+              <exclude>src/include/catalog/pablopcatso.pl</exclude>
+              <exclude>src/include/catalog/catalog.h</exclude>
+              <exclude>src/include/catalog/catullus.pl</exclude>
+              <exclude>src/include/catalog/catversion.h</exclude>
+              <exclude>src/include/catalog/dependency.h</exclude>
+              <exclude>src/include/catalog/duplicate_oids</exclude>
+              <exclude>src/include/catalog/genbki.h</exclude>
+              <exclude>src/include/catalog/heap.h</exclude>
+              <exclude>src/include/catalog/index.h</exclude>
+              <exclude>src/include/catalog/indexing.h</exclude>
+              <exclude>src/include/catalog/namespace.h</exclude>
+              <exclude>src/include/catalog/pg_aggregate.h</exclude>
+              <exclude>src/include/catalog/pg_am.h</exclude>
+              <exclude>src/include/catalog/pg_amop.h</exclude>
+              <exclude>src/include/catalog/pg_amproc.h</exclude>
+              <exclude>src/include/catalog/pg_attrdef.h</exclude>
+              <exclude>src/include/catalog/pg_attribute.h</exclude>
+              <exclude>src/include/catalog/pg_attribute_encoding.h</exclude>
+              <exclude>src/include/catalog/pg_auth_members.h</exclude>
+              <exclude>src/include/catalog/pg_auth_time_constraint.h</exclude>
+              <exclude>src/include/catalog/pg_authid.h</exclude>
+              <exclude>src/include/catalog/pg_autovacuum.h</exclude>
+              <exclude>src/include/catalog/pg_cast.h</exclude>
+              <exclude>src/include/catalog/pg_class.h</exclude>
+              <exclude>src/include/catalog/pg_compression.h</exclude>
+              <exclude>src/include/catalog/pg_constraint.h</exclude>
+              <exclude>src/include/catalog/pg_control.h</exclude>
+              <exclude>src/include/catalog/pg_conversion.h</exclude>
+              <exclude>src/include/catalog/pg_database.h</exclude>
+              <exclude>src/include/catalog/pg_depend.h</exclude>
+              <exclude>src/include/catalog/pg_description.h</exclude>
+              <exclude>src/include/catalog/pg_exttable.h</exclude>
+              <exclude>src/include/catalog/pg_filespace.h</exclude>
+              <exclude>src/include/catalog/pg_filespace_entry.h</exclude>
+              <exclude>src/include/catalog/pg_filesystem.h</exclude>
+              <exclude>src/include/catalog/pg_foreign_data_wrapper.h</exclude>
+              <exclude>src/include/catalog/pg_foreign_server.h</exclude>
+              <exclude>src/include/catalog/pg_foreign_table.h</exclude>
+              <exclude>src/include/catalog/pg_index.h</exclude>
+              <exclude>src/include/catalog/pg_inherits.h</exclude>
+              <exclude>src/include/catalog/pg_language.h</exclude>
+              <exclude>src/include/catalog/pg_largeobject.h</exclude>
+              <exclude>src/include/catalog/pg_listener.h</exclude>
+              <exclude>src/include/catalog/pg_namespace.h</exclude>
+              <exclude>src/include/catalog/pg_opclass.h</exclude>
+              <exclude>src/include/catalog/pg_operator.h</exclude>
+              <exclude>src/include/catalog/pg_partition_encoding.h</exclude>
+              <exclude>src/include/catalog/pg_pltemplate.h</exclude>
+              <exclude>src/include/catalog/pg_proc.h</exclude>
+              <exclude>src/include/catalog/pg_proc_callback.h</exclude>
+              <exclude>src/include/catalog/pg_remote_credentials.h</exclude>
+              <exclude>src/include/catalog/pg_resqueue.h</exclude>
+              <exclude>src/include/catalog/pg_rewrite.h</exclude>
+              <exclude>src/include/catalog/pg_shdepend.h</exclude>
+              <exclude>src/include/catalog/pg_shdescription.h</exclude>
+              <exclude>src/include/catalog/pg_statistic.h</exclude>
+              <exclude>src/include/catalog/pg_tablespace.h</exclude>
+              <exclude>src/include/catalog/pg_tidycat.h</exclude>
+              <exclude>src/include/catalog/pg_trigger.h</exclude>
+              <exclude>src/include/catalog/pg_type.h</exclude>
+              <exclude>src/include/catalog/pg_type_encoding.h</exclude>
+              <exclude>src/include/catalog/pg_user_mapping.h</exclude>
+              <exclude>src/include/catalog/pg_window.h</exclude>
+              <exclude>src/include/catalog/README.add_catalog_function</exclude>
+              <exclude>src/include/catalog/README.tidycat</exclude>
+              <exclude>src/include/catalog/sleazy.pl</exclude>
+              <exclude>src/include/catalog/tidycat.pl</exclude>
+              <exclude>src/include/catalog/toasting.h</exclude>
+              <exclude>src/include/catalog/unused_oids</exclude>
+              <exclude>src/include/cdb/cdbappendonlyam.h</exclude>
+              <exclude>src/include/cdb/cdbgroup.h</exclude>
+              <exclude>src/include/cdb/cdblink.h</exclude>
+              <exclude>src/include/commands/alter.h</exclude>
+              <exclude>src/include/commands/analyzeutils.h</exclude>
+              <exclude>src/include/commands/async.h</exclude>
+              <exclude>src/include/commands/cluster.h</exclude>
+              <exclude>src/include/commands/comment.h</exclude>
+              <exclude>src/include/commands/conversioncmds.h</exclude>
+              <exclude>src/include/commands/copy.h</exclude>
+              <exclude>src/include/commands/dbcommands.h</exclude>
+              <exclude>src/include/commands/defrem.h</exclude>
+              <exclude>src/include/commands/explain.h</exclude>
+              <exclude>src/include/commands/extprotocolcmds.h</exclude>
+              <exclude>src/include/commands/filesystemcmds.h</exclude>
+              <exclude>src/include/commands/lockcmds.h</exclude>
+              <exclude>src/include/commands/portalcmds.h</exclude>
+              <exclude>src/include/commands/prepare.h</exclude>
+              <exclude>src/include/commands/proclang.h</exclude>
+              <exclude>src/include/commands/queue.h</exclude>
+              <exclude>src/include/commands/schemacmds.h</exclude>
+              <exclude>src/include/commands/sequence.h</exclude>
+              <exclude>src/include/commands/tablecmds.h</exclude>
+              <exclude>src/include/commands/tablespace.h</exclude>
+              <exclude>src/include/commands/trigger.h</exclude>
+              <exclude>src/include/commands/typecmds.h</exclude>
+              <exclude>src/include/commands/user.h</exclude>
+              <exclude>src/include/commands/vacuum.h</exclude>
+              <exclude>src/include/commands/variable.h</exclude>
+              <exclude>src/include/commands/version.h</exclude>
+              <exclude>src/include/commands/view.h</exclude>
+              <exclude>src/include/executor/execdebug.h</exclude>
+              <exclude>src/include/executor/execdefs.h</exclude>
+              <exclude>src/include/executor/execdesc.h</exclude>
+              <exclude>src/include/executor/execHHashagg.h</exclude>
+              <exclude>src/include/executor/executor.h</exclude>
+              <exclude>src/include/executor/functions.h</exclude>
+              <exclude>src/include/executor/hashjoin.h</exclude>
+              <exclude>src/include/executor/instrument.h</exclude>
+              <exclude>src/include/executor/nodeAgg.h</exclude>
+              <exclude>src/include/executor/nodeAppend.h</exclude>
+              <exclude>src/include/executor/nodeAppendOnlyscan.h</exclude>
+              <exclude>src/include/executor/nodeBitmapAnd.h</exclude>
+              <exclude>src/include/executor/nodeBitmapAppendOnlyscan.h</exclude>
+              <exclude>src/include/executor/nodeBitmapHeapscan.h</exclude>
+              <exclude>src/include/executor/nodeBitmapIndexscan.h</exclude>
+              <exclude>src/include/executor/nodeBitmapOr.h</exclude>
+              <exclude>src/include/executor/nodeBitmapTableScan.h</exclude>
+              <exclude>src/include/executor/nodeFunctionscan.h</exclude>
+              <exclude>src/include/executor/nodeHash.h</exclude>
+              <exclude>src/include/executor/nodeHashjoin.h</exclude>
+              <exclude>src/include/executor/nodeIndexscan.h</exclude>
+              <exclude>src/include/executor/nodeLimit.h</exclude>
+              <exclude>src/include/executor/nodeMaterial.h</exclude>
+              <exclude>src/include/executor/nodeMergejoin.h</exclude>
+              <exclude>src/include/executor/nodeMotion.h</exclude>
+              <exclude>src/include/executor/nodeNestloop.h</exclude>
+              <exclude>src/include/executor/nodeResult.h</exclude>
+              <exclude>src/include/executor/nodeSeqscan.h</exclude>
+              <exclude>src/include/executor/nodeSetOp.h</exclude>
+              <exclude>src/include/executor/nodeShareInputScan.h</exclude>
+              <exclude>src/include/executor/nodeSort.h</exclude>
+              <exclude>src/include/executor/nodeSubplan.h</exclude>
+              <exclude>src/include/executor/nodeSubqueryscan.h</exclude>
+              <exclude>src/include/executor/nodeTidscan.h</exclude>
+              <exclude>src/include/executor/nodeUnique.h</exclude>
+              <exclude>src/include/executor/nodeValuesscan.h</exclude>
+              <exclude>src/include/executor/spi.h</exclude>
+              <exclude>src/include/executor/spi_priv.h</exclude>
+              <exclude>src/include/executor/tstoreReceiver.h</exclude>
+              <exclude>src/include/executor/tuptable.h</exclude>
+              <exclude>src/include/fmgr.h</exclude>
+              <exclude>src/include/foreign/foreign.h</exclude>
+              <exclude>src/include/fstream/*.h</exclude>
+              <exclude>src/include/funcapi.h</exclude>
+              <exclude>src/include/lib/*.h</exclude>
+              <exclude>src/include/libpq/*.h</exclude>
+              <exclude>src/include/mb/pg_wchar.h</exclude>
+              <exclude>src/include/miscadmin.h</exclude>		
+              <exclude>src/include/nodes/*.h</exclude>
+              <exclude>src/include/optimizer/*.h</exclude>
+              <exclude>src/include/parser/*.h</exclude>
+              <exclude>src/include/parser/*.py</exclude>
+              <exclude>src/include/port/**/*.h</exclude>
+              <exclude>src/include/pg*.h</exclude>
+              <exclude>src/include/postgres*.h</exclude>
+              <exclude>src/include/postmaster/*.h</exclude>
+              <exclude>src/include/regex/*.h</exclude>
+              <exclude>src/include/rewrite/*.h</exclude>
+              <exclude>src/include/rusagestub.h</exclude>
+              <exclude>src/include/storage/*.h</exclude>
+              <exclude>src/include/tcop/*.h</exclude>
+              <exclude>src/include/utils/*.h</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>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>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/pxf/pxf-service/src/scripts/pxf-service
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/scripts/pxf-service b/pxf/pxf-service/src/scripts/pxf-service
index e02e17a..4b6ca73 100644
--- a/pxf/pxf-service/src/scripts/pxf-service
+++ b/pxf/pxf-service/src/scripts/pxf-service
@@ -1,4 +1,21 @@
 #!/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.
+
 #
 # pxf-service	start/stop/initialize/status the PXF instance
 #

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/rest/WritableResourceTest.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/rest/WritableResourceTest.java b/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/rest/WritableResourceTest.java
index 0abf73b..841fbe9 100644
--- a/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/rest/WritableResourceTest.java
+++ b/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/rest/WritableResourceTest.java
@@ -1,5 +1,23 @@
-package org.apache.hawq.pxf.service.rest;
 
+package org.apache.hawq.pxf.service.rest;
+/*
+ * 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.
+ */
 import static org.junit.Assert.assertEquals;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/access/external/pxfanalyze.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/pxfanalyze.c b/src/backend/access/external/pxfanalyze.c
index eb5a17a..01d0d3e 100644
--- a/src/backend/access/external/pxfanalyze.c
+++ b/src/backend/access/external/pxfanalyze.c
@@ -1,10 +1,25 @@
+/*
+ * 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.
+ */
 /*-------------------------------------------------------------------------
  *
  * pxfanalyze.c
  *	  Helper functions to perform ANALYZE on PXF tables.
- *
- * Copyright (c) 2007-2012, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/access/external/test/pxfanalyze_test.c
----------------------------------------------------------------------
diff --git a/src/backend/access/external/test/pxfanalyze_test.c b/src/backend/access/external/test/pxfanalyze_test.c
index a70c470..5fe4503 100644
--- a/src/backend/access/external/test/pxfanalyze_test.c
+++ b/src/backend/access/external/test/pxfanalyze_test.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.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/gpopt/ivy-build.xml
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/ivy-build.xml b/src/backend/gpopt/ivy-build.xml
index a9e5fba..90bee25 100644
--- a/src/backend/gpopt/ivy-build.xml
+++ b/src/backend/gpopt/ivy-build.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+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.
+-->
+
 <project name="cdb3" default="resolve" xmlns:ivy="antlib:org.apache.ivy.ant">
 
   <!-- ================================================================ -->

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/gpopt/ivy.xml
----------------------------------------------------------------------
diff --git a/src/backend/gpopt/ivy.xml b/src/backend/gpopt/ivy.xml
index 749b905..8096fde 100644
--- a/src/backend/gpopt/ivy.xml
+++ b/src/backend/gpopt/ivy.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+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.
+-->
+
 <ivy-module version="2.0">
     <info organisation="Pivotal"
           module="hawq" />

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/storage/file/bfz.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/file/bfz.c b/src/backend/storage/file/bfz.c
index 8635a66..3654611 100644
--- a/src/backend/storage/file/bfz.c
+++ b/src/backend/storage/file/bfz.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.
+ */
 /* bfz.c */
 #include "postgres.h"
 #include <sys/stat.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/storage/file/compress_nothing.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/file/compress_nothing.c b/src/backend/storage/file/compress_nothing.c
index 8e81eef..0d41cad 100644
--- a/src/backend/storage/file/compress_nothing.c
+++ b/src/backend/storage/file/compress_nothing.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.
+ */
 /* compress_nothing.c */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/storage/file/compress_zlib.c
----------------------------------------------------------------------
diff --git a/src/backend/storage/file/compress_zlib.c b/src/backend/storage/file/compress_zlib.c
index 0574834..dce7212 100644
--- a/src/backend/storage/file/compress_zlib.c
+++ b/src/backend/storage/file/compress_zlib.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.
+ */
 /* compress_zlib.c */
 #include "c.h"
 #include "storage/bfz.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/gpmon/gpmon.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/gpmon/gpmon.c b/src/backend/utils/gpmon/gpmon.c
index 2320247..87f2bec 100644
--- a/src/backend/utils/gpmon/gpmon.c
+++ b/src/backend/utils/gpmon/gpmon.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.
+ */
 #include "postgres.h"
 #include "c.h"
 #include <signal.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/mdver/test/mdver_dep_translator_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/test/mdver_dep_translator_test.c b/src/backend/utils/mdver/test/mdver_dep_translator_test.c
index 104d997..da94176 100644
--- a/src/backend/utils/mdver/test/mdver_dep_translator_test.c
+++ b/src/backend/utils/mdver/test/mdver_dep_translator_test.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.
+ */
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_diskspace.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_diskspace.c b/src/backend/utils/workfile_manager/workfile_diskspace.c
index f2680c0..468e463 100644
--- a/src/backend/utils/workfile_manager/workfile_diskspace.c
+++ b/src/backend/utils/workfile_manager/workfile_diskspace.c
@@ -1,11 +1,28 @@
+/*
+ * 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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_diskspace.c
  *	 Implementation of workfile manager disk space accounting. This is
  *	 just a wrapper for WorkfileQueryspace and WorkfileSegspace
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_file.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_file.c b/src/backend/utils/workfile_manager/workfile_file.c
index 507dc7e..d35b9e2 100644
--- a/src/backend/utils/workfile_manager/workfile_file.c
+++ b/src/backend/utils/workfile_manager/workfile_file.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_file.c
  *	 Implementation of workfile manager file operations
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_mgr.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_mgr.c b/src/backend/utils/workfile_manager/workfile_mgr.c
index c823b18..55dc42e 100644
--- a/src/backend/utils/workfile_manager/workfile_mgr.c
+++ b/src/backend/utils/workfile_manager/workfile_mgr.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_mgr.c
  *	 Implementation of workfile manager and workfile caching.
  *
- * Copyright (c) 2011, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_mgr_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_mgr_test.c b/src/backend/utils/workfile_manager/workfile_mgr_test.c
index 0f3e602..878fbea 100644
--- a/src/backend/utils/workfile_manager/workfile_mgr_test.c
+++ b/src/backend/utils/workfile_manager/workfile_mgr_test.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_mgr_test.c
  *	 Unit tests for workfile manager and cache.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_queryspace.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_queryspace.c b/src/backend/utils/workfile_manager/workfile_queryspace.c
index fac91a9..a421ceb 100644
--- a/src/backend/utils/workfile_manager/workfile_queryspace.c
+++ b/src/backend/utils/workfile_manager/workfile_queryspace.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_queryspace.c
  *	 Implementation of workfile manager per query disk space accounting
  *
- * Copyright (c) 2013, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/backend/utils/workfile_manager/workfile_segmentspace.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/workfile_manager/workfile_segmentspace.c b/src/backend/utils/workfile_manager/workfile_segmentspace.c
index 068ef2d..b37e5f4 100644
--- a/src/backend/utils/workfile_manager/workfile_segmentspace.c
+++ b/src/backend/utils/workfile_manager/workfile_segmentspace.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workfile_segmentspace.c
  *	 Implementation of workfile manager per-segment disk space accounting
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gp_workfile_mgr/gp_workfile_cache_clear.c
----------------------------------------------------------------------
diff --git a/src/bin/gp_workfile_mgr/gp_workfile_cache_clear.c b/src/bin/gp_workfile_mgr/gp_workfile_cache_clear.c
index 680cab4..b34497c 100644
--- a/src/bin/gp_workfile_mgr/gp_workfile_cache_clear.c
+++ b/src/bin/gp_workfile_mgr/gp_workfile_cache_clear.c
@@ -1,14 +1,23 @@
 /*
- * Copyright (c) 2012 EMC Corporation All Rights Reserved
- *
- * This software is protected, without limitation, by copyright law
- * and international treaties. Use of this software and the intellectual
- * property contained therein is expressly limited to the terms and
- * conditions of the License Agreement under which it is provided by
- * or on behalf of EMC.
- *
- * ---------------------------------------------------------------------
- *
+ * 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.
+ */
+
+/*
  * Interface to gp_workfile_manager_clear_cache function.
  *
  * The gp_workfile_manager_clear_cache_wrapper function is a wrapper around the

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gp_workfile_mgr/gp_workfile_cache_stats.c
----------------------------------------------------------------------
diff --git a/src/bin/gp_workfile_mgr/gp_workfile_cache_stats.c b/src/bin/gp_workfile_mgr/gp_workfile_cache_stats.c
index f40849b..4c34ede 100644
--- a/src/bin/gp_workfile_mgr/gp_workfile_cache_stats.c
+++ b/src/bin/gp_workfile_mgr/gp_workfile_cache_stats.c
@@ -1,14 +1,23 @@
 /*
- * Copyright (c) 2012 EMC Corporation All Rights Reserved
- *
- * This software is protected, without limitation, by copyright law
- * and international treaties. Use of this software and the intellectual
- * property contained therein is expressly limited to the terms and
- * conditions of the License Agreement under which it is provided by
- * or on behalf of EMC.
- *
- * ---------------------------------------------------------------------
- *
+ * 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.
+ */
+
+/*
  * The dynamically linked library created from this source can be reference by
  * creating a function in psql that references it. For example,
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gp_workfile_mgr/gp_workfile_cache_test.c
----------------------------------------------------------------------
diff --git a/src/bin/gp_workfile_mgr/gp_workfile_cache_test.c b/src/bin/gp_workfile_mgr/gp_workfile_cache_test.c
index d460267..17c8597 100644
--- a/src/bin/gp_workfile_mgr/gp_workfile_cache_test.c
+++ b/src/bin/gp_workfile_mgr/gp_workfile_cache_test.c
@@ -1,14 +1,23 @@
 /*
- * Copyright (c) 2012 EMC Corporation All Rights Reserved
- *
- * This software is protected, without limitation, by copyright law
- * and international treaties. Use of this software and the intellectual
- * property contained therein is expressly limited to the terms and
- * conditions of the License Agreement under which it is provided by
- * or on behalf of EMC.
- *
- * ---------------------------------------------------------------------
- *
+ * 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.
+ */
+
+/*
  * The dynamically linked library created from this source can be reference by
  * creating a function in psql that references it. For example,
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gpcheckhdfs/gpcheckhdfs.c
----------------------------------------------------------------------
diff --git a/src/bin/gpcheckhdfs/gpcheckhdfs.c b/src/bin/gpcheckhdfs/gpcheckhdfs.c
index 38eaf34..9a19f7e 100644
--- a/src/bin/gpcheckhdfs/gpcheckhdfs.c
+++ b/src/bin/gpcheckhdfs/gpcheckhdfs.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * gpcheckhdfs.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gpfdist/src/gpfdist/gpfdist.c
----------------------------------------------------------------------
diff --git a/src/bin/gpfdist/src/gpfdist/gpfdist.c b/src/bin/gpfdist/src/gpfdist/gpfdist.c
index 716a155..f652f25 100644
--- a/src/bin/gpfdist/src/gpfdist/gpfdist.c
+++ b/src/bin/gpfdist/src/gpfdist/gpfdist.c
@@ -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.
+ */
+
 #ifdef WIN32
 /* exclude transformation features on windows for now */
 #undef GPFXDIST

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gpfdist/src/gpfdist/gpfxdist.h
----------------------------------------------------------------------
diff --git a/src/bin/gpfdist/src/gpfdist/gpfxdist.h b/src/bin/gpfdist/src/gpfdist/gpfxdist.h
index e0ce2ca..f954e67 100644
--- a/src/bin/gpfdist/src/gpfdist/gpfxdist.h
+++ b/src/bin/gpfdist/src/gpfdist/gpfxdist.h
@@ -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.
+ */
+
 #ifndef GPFXDIST_H
 #define GPFXDIST_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gpfdist/src/gpfdist/transform.c
----------------------------------------------------------------------
diff --git a/src/bin/gpfdist/src/gpfdist/transform.c b/src/bin/gpfdist/src/gpfdist/transform.c
index 9480386..f404f0f 100644
--- a/src/bin/gpfdist/src/gpfdist/transform.c
+++ b/src/bin/gpfdist/src/gpfdist/transform.c
@@ -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.
+ */
+
 #ifdef WIN32
 /* don't build this for now */
 #else

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/bin/gpfilesystem/hdfs/gpfshdfs.c
----------------------------------------------------------------------
diff --git a/src/bin/gpfilesystem/hdfs/gpfshdfs.c b/src/bin/gpfilesystem/hdfs/gpfshdfs.c
index db47354..d5247ac 100644
--- a/src/bin/gpfilesystem/hdfs/gpfshdfs.c
+++ b/src/bin/gpfilesystem/hdfs/gpfshdfs.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gpfshdfs.c
@@ -5,8 +23,6 @@
  * This file provide a HDFS filesystem interface to GPDB. It uses libhdfs
  * to communicate with HDFS.
  *
- * Copyright (c) 2011, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/include/access/pxfanalyze.h
----------------------------------------------------------------------
diff --git a/src/include/access/pxfanalyze.h b/src/include/access/pxfanalyze.h
index d641c66..bbe116a 100644
--- a/src/include/access/pxfanalyze.h
+++ b/src/include/access/pxfanalyze.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
 *
 * pxfanalyze.h
 *	  Helper functions to perform ANALYZE on PXF tables.
 *
-* Copyright (c) 2007-2008, Greenplum inc
-*
 *-------------------------------------------------------------------------
 */
 #ifndef PXFANALYZE_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/include/gpmon/gpmon.h
----------------------------------------------------------------------
diff --git a/src/include/gpmon/gpmon.h b/src/include/gpmon/gpmon.h
index 68b5fe8..1727b61 100644
--- a/src/include/gpmon/gpmon.h
+++ b/src/include/gpmon/gpmon.h
@@ -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.
+ */
 #ifndef GPMON_H
 #define GPMON_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/include/storage/bfz.h
----------------------------------------------------------------------
diff --git a/src/include/storage/bfz.h b/src/include/storage/bfz.h
index 8ee2c41..27e718a 100644
--- a/src/include/storage/bfz.h
+++ b/src/include/storage/bfz.h
@@ -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.
+ */
 #ifndef BFZ_H
 #define BFZ_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/src/include/utils/workfile_mgr.h
----------------------------------------------------------------------
diff --git a/src/include/utils/workfile_mgr.h b/src/include/utils/workfile_mgr.h
index a5de620..af1c71e 100644
--- a/src/include/utils/workfile_mgr.h
+++ b/src/include/utils/workfile_mgr.h
@@ -1,12 +1,26 @@
+/*
+ * 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.
+ */
 /*-------------------------------------------------------------------------
  *
  * workfile_mgr.h
  *	  Interface for workfile manager and workfile caching.
  *
- *
- * Copyright (c) 2011, EMC Corp.
- *
- *
  *-------------------------------------------------------------------------
  */
 #ifndef __WORKFILE_MGR_H__

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/tools/bin/gppylib/gpunit
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/gpunit b/tools/bin/gppylib/gpunit
index fe45108..6e1e463 100755
--- a/tools/bin/gppylib/gpunit
+++ b/tools/bin/gppylib/gpunit
@@ -1,4 +1,20 @@
 #! /usr/bin/env python
+# 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.
 
 """
 gpunit is similar to unit2 in python but runs with our GpMgmtTestRunner and GpMgmtTextTestResult.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/tools/bin/gppylib/unit2
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/unit2 b/tools/bin/gppylib/unit2
index 6d84985..9f3c06d 100755
--- a/tools/bin/gppylib/unit2
+++ b/tools/bin/gppylib/unit2
@@ -1,4 +1,20 @@
 #! /usr/bin/env python
+# 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.
 
 __unittest = True
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/tools/sbin/gpcheck_hostdump
----------------------------------------------------------------------
diff --git a/tools/sbin/gpcheck_hostdump b/tools/sbin/gpcheck_hostdump
index a279ebb..648fca1 100755
--- a/tools/sbin/gpcheck_hostdump
+++ b/tools/sbin/gpcheck_hostdump
@@ -1,4 +1,21 @@
 #!/usr/bin/env python
+# 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.
+
 '''
 USAGE:   gpcheck_hostdump [--appliance] [--linux] [--solaris] --hadoop hadoop_home_path --sysctl comma_separated_sysctl_options
          where --appliance will do a dump of appliance server

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/59264a53/tools/sbin/gpfixuserlimts
----------------------------------------------------------------------
diff --git a/tools/sbin/gpfixuserlimts b/tools/sbin/gpfixuserlimts
index c2866b3..c2b105d 100755
--- a/tools/sbin/gpfixuserlimts
+++ b/tools/sbin/gpfixuserlimts
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# 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.
 ''' 
 USAGE:  gpfixuserlimts -f|--file FILE -u|--user USER
         where FILE is the file to be modified


Mime
View raw message