You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by es...@apache.org on 2017/02/19 23:08:03 UTC

[28/35] incubator-hawq git commit: HAWQ-1330. More ASF header updates (including pom.xml update)

HAWQ-1330. More ASF header updates (including pom.xml update)


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

Branch: refs/heads/2.1.0.0-incubating
Commit: b9dd7b59e9220201f60e7281b5a4f565bb17489f
Parents: 089210e
Author: Ed Espino <ee...@pivotal.io>
Authored: Tue Feb 14 11:26:16 2017 -0800
Committer: Ed Espino <es...@apache.org>
Committed: Wed Feb 15 23:57:13 2017 -0800

----------------------------------------------------------------------
 .travis.yml                                     |  14 +++
 pom.xml                                         | 103 ++++++++++++++-----
 .../src/main/resources/pxf-private.classpath    |  15 +++
 .../src/main/resources/pxf-privatehdp.classpath |  14 +++
 .../src/main/resources/pxf-privatephd.classpath |  14 +++
 .../src/main/resources/pxf-public.classpath     |  14 +++
 src/test/amsd/Makefile                          |  15 +++
 src/test/examples/Makefile                      |  15 +++
 src/test/feature/ExternalSource/lib/Makefile    |  15 +++
 src/test/feature/Makefile                       |  15 +++
 .../feature/ManagementTool/files_incomplete.yml |  15 +++
 .../ManagementTool/missing_bucketnum.yml        |  15 +++
 .../feature/ManagementTool/missing_checksum.yml |  15 +++
 .../missing_constraint_partition.yml            |  15 +++
 .../feature/ManagementTool/missing_filesize.yml |  15 +++
 .../feature/ManagementTool/missing_pagesize.yml |  15 +++
 .../ManagementTool/missing_rowgroupsize.yml     |  15 +++
 .../constraint_not_exists_in_catalog_tpl.yml    |  15 +++
 .../different_partition_policy_tpl.yml          |  15 +++
 .../duplicate_partition_constraint_tpl.yml      |  15 +++
 .../partition/force_mode_normal_tpl.yml         |  15 +++
 .../partition/sub_set_catalog_table_tpl.yml     |  15 +++
 .../table_exists_list_partition_tpl.yml         |  15 +++
 .../table_exists_range_partition_tpl.yml        |  15 +++
 .../table_exists_table_file_not_exists_tpl.yml  |  15 +++
 .../table_not_exists_list_partition_tpl.yml     |  15 +++
 .../table_not_exists_range_partition_tpl.yml    |  15 +++
 ...ble_not_exists_table_file_not_exists_tpl.yml |  15 +++
 .../usage2_include1/includedirectory_tpl.yml    |  15 +++
 .../usage2_include2/includedirectory_tpl.yml    |  15 +++
 .../ManagementTool/usage2case1/bucket0_tpl.yml  |  15 +++
 .../usage2case1/contain_error_symbol_tpl.yml    |  15 +++
 .../usage2case1/error_blocksize_tpl.yml         |  15 +++
 .../usage2case1/error_checksum_tpl.yml          |  15 +++
 .../usage2case1/error_columnnum_tpl.yml         |  15 +++
 .../usage2case1/error_compresslevel_tpl.yml     |  15 +++
 .../usage2case1/error_compresstype_tpl.yml      |  15 +++
 .../usage2case1/error_encoding_tpl.yml          |  15 +++
 .../usage2case1/error_format_tpl.yml            |  15 +++
 .../usage2case1/error_pagesize_tpl.yml          |  15 +++
 .../usage2case1/error_rowgroupsize_tpl.yml      |  15 +++
 .../usage2case1/error_schema_tpl.yml            |  15 +++
 .../file_under_table_directory_tpl.yml          |  15 +++
 .../usage2case1/float_eof_tpl.yml               |  15 +++
 .../usage2case1/includedirectory_tpl.yml        |  15 +++
 .../usage2case1/larger_eof_tpl.yml              |  15 +++
 .../usage2case1/minus_eof_tpl.yml               |  15 +++
 .../wrong_distributed_policy_tpl.yml            |  15 +++
 .../ManagementTool/usage2case1/zero_eof_tpl.yml |  15 +++
 .../ManagementTool/usage2case2/bucket0_tpl.yml  |  15 +++
 .../usage2case2/contain_error_symbol_tpl.yml    |  15 +++
 .../usage2case2/error_blocksize_tpl.yml         |  15 +++
 .../usage2case2/error_checksum_tpl.yml          |  15 +++
 .../usage2case2/error_columnnum_tpl.yml         |  15 +++
 .../usage2case2/error_compresslevel_tpl.yml     |  15 +++
 .../usage2case2/error_compresstype_tpl.yml      |  15 +++
 .../usage2case2/error_encoding_tpl.yml          |  15 +++
 .../usage2case2/error_format_tpl.yml            |  15 +++
 .../usage2case2/error_pagesize_tpl.yml          |  15 +++
 .../usage2case2/error_rowgroupsize_tpl.yml      |  15 +++
 .../usage2case2/file_in_yaml_not_exist_tpl.yml  |  15 +++
 .../file_not_included_in_yaml_config_tpl.yml    |  15 +++
 .../usage2case2/float_eof_tpl.yml               |  15 +++
 .../usage2case2/hash_to_random_tpl.yml          |  15 +++
 .../usage2case2/larger_eof_tpl.yml              |  15 +++
 .../usage2case2/minus_eof_tpl.yml               |  15 +++
 .../usage2case2/normal_yaml_config_tpl.yml      |  15 +++
 .../normal_yaml_no_update_config_tpl.yml        |  15 +++
 .../usage2case2/random_to_hash_tpl.yml          |  15 +++
 .../usage2case2/same_path_yaml_config_tpl.yml   |  15 +++
 .../ManagementTool/usage2case2/t_tpl_1.yml      |  15 +++
 .../ManagementTool/usage2case2/t_tpl_2.yml      |  15 +++
 .../ManagementTool/usage2case2/t_tpl_3.yml      |  15 +++
 .../ManagementTool/usage2case2/t_tpl_4.yml      |  15 +++
 .../ManagementTool/usage2case2/t_tpl_new_1.yml  |  15 +++
 .../ManagementTool/usage2case2/t_tpl_new_2.yml  |  15 +++
 .../ManagementTool/usage2case2/t_tpl_new_3.yml  |  15 +++
 .../ManagementTool/usage2case2/t_tpl_new_4.yml  |  15 +++
 .../usage2case2/table_exist_no_data_tpl.yml     |  15 +++
 .../usage2case2/table_not_exists_tpl.yml        |  15 +++
 .../wrong_distributed_policy_tpl.yml            |  15 +++
 .../ManagementTool/usage2case2/zero_eof_tpl.yml |  15 +++
 .../feature/ManagementTool/wrong_dfs_url.yml    |  15 +++
 .../feature/ManagementTool/wrong_schema.yml     |  15 +++
 src/test/feature/UDF/lib/Makefile               |  15 +++
 src/test/feature/ao/sql/init_file               |  14 +++
 src/test/feature/ddl/sql/init_file              |  14 +++
 src/test/feature/doxygen_template               |  15 +++
 src/test/feature/lib/Makefile                   |  15 +++
 src/test/feature/lib/global_init_file           |  14 +++
 src/test/feature/query/sql/init_file            |  14 +++
 src/test/libcdbtest/Makefile                    |  15 +++
 src/test/regress/Makefile                       |  15 +++
 src/test/regress/arch_config                    |  15 +++
 src/test/regress/bkuprestore_schedule           |  14 +++
 src/test/regress/current_good_schedule.EXCLUDE  |  14 +++
 src/test/regress/goh_schedule                   |  15 +++
 src/test/regress/init_file                      |  14 +++
 src/test/regress/makeschedule                   |  14 +++
 src/test/unit/Makefile                          |  21 +++-
 src/test/unit/cmockery/Makefile                 |  17 ++-
 src/test/unit/mock/Makefile                     |  17 ++-
 102 files changed, 1585 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index c3a66a4..b38852d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,17 @@
+# 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.
 language: c
 
 os:

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 499d5bf..65813a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,39 +129,88 @@
               <exclude>src/pl/**/*</exclude>
               <exclude>src/port/*</exclude>
               <exclude>src/template/*</exclude>
-              <exclude>src/test/**/*.in</exclude>
-              <exclude>src/test/**/*.mdp</exclude>
+
+              <!-- src/test/bench -->
+
+              <exclude>src/test/bench/query*</exclude>
+
+              <!-- PostgreSQL src/test/regress -->
+              
+              <exclude>src/test/regress/**/*.in</exclude>
+              <exclude>src/test/regress/**/*.mdp</exclude>
+              <exclude>src/test/regress/**/*.xml</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_3chars_line_delimiter.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_big.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_no_line_delimiter.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_out.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_blankfields.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_blankfields_and_nulls.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_correct.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_fieldtoolong.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_fieldtype.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_rejectlimitcrossed.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_rejectlimitnotcrossed.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_toofewfields.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_error_toomanyfields.tbl</exclude>
+              <exclude>src/test/regress/data/fixedwidth/fixedwidth_small_nulldefined.tbl</exclude>
+              <exclude>src/test/regress/data/nation.tbl</exclude>
+              <exclude>src/test/regress/data/nation_error50.tbl</exclude>
+              <exclude>src/test/regress/data/region.tbl</exclude>
+              <exclude>src/test/regress/expected_statuses</exclude>
+                            
+              <!-- src/test/feature -->
+
+              <exclude>src/test/feature/ExternalSource/data/nation.tbl</exclude>
+              <exclude>src/test/feature/ExternalSource/data/nation_error50.tbl</exclude>
+              <exclude>src/test/feature/ExternalSource/data/region.tbl</exclude>
+              <exclude>src/test/feature/ManagementTool/test_hawq_register_hawq.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/test_hawq_register_hive.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/data/parquet200/dat.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/data/parquet200sum/a.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/data/parquet200sum/b.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/test_hawq_register_data_types.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/test_hawq_register_not_paq</exclude>
+              <exclude>src/test/feature/ManagementTool/test_hawq_register_null.paq</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/10</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/11</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/12</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/13</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/8</exclude>
+              <exclude>src/test/feature/ManagementTool/usage2case2/9</exclude>
+              
               <exclude>src/test/feature/UDF/ans/function_basics.ans.orca</exclude>
-              <exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.orca</exclude>
               <exclude>src/test/feature/UDF/ans/function_basics.ans.planner</exclude>
+              <exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.orca</exclude>
               <exclude>src/test/feature/UDF/ans/function_basics.ranger.ans.planner</exclude>
-              <exclude>src/test/**/*.paq</exclude>
-              <exclude>src/test/**/*paq</exclude>
-              <exclude>src/test/**/usage2case2/*</exclude>
-              <exclude>src/test/**/*.tbl</exclude>
-              <exclude>src/test/**/*.xml</exclude>
-              <exclude>src/test/**/*.yml</exclude>
-              <exclude>src/test/**/arch_config</exclude>
-              <exclude>src/test/regress/bkuprestore_schedule</exclude>
-              <exclude>src/test/regress/current_good_schedule.EXCLUDE</exclude>
-              <exclude>src/test/regress/goh_schedule</exclude>
-              <exclude>src/test/regress/makeschedule</exclude>
+
+              <exclude>src/test/locale/**/Makefile</exclude>
+              <exclude>src/test/locale/**/runall</exclude>
+              <exclude>src/test/locale/de_DE.ISO8859-1/test-de-select.sql.in</exclude>
+              <exclude>src/test/locale/de_DE.ISO8859-1/test-de-sort.in</exclude>
+              <exclude>src/test/locale/de_DE.ISO8859-1/test-de-upper.sql.in</exclude>
+              <exclude>src/test/locale/de_DE.ISO8859-1/test-de.sql.in</exclude>
+              <exclude>src/test/locale/gr_GR.ISO8859-7/test-gr-select.sql.in</exclude>
+              <exclude>src/test/locale/gr_GR.ISO8859-7/test-gr-sort.in</exclude>
+              <exclude>src/test/locale/gr_GR.ISO8859-7/test-gr.sql.in</exclude>
+              <exclude>src/test/locale/koi8-r/test-koi8-select.sql.in</exclude>
+              <exclude>src/test/locale/koi8-r/test-koi8-sort.in</exclude>
+              <exclude>src/test/locale/koi8-r/test-koi8.sql.in</exclude>
+              <exclude>src/test/locale/koi8-to-win1251/test-koi8-select.sql.in</exclude>
+              <exclude>src/test/locale/koi8-to-win1251/test-koi8-sort.in</exclude>
+              <exclude>src/test/locale/koi8-to-win1251/test-koi8.sql.in</exclude>
+
+              <!-- src/test/performance test files -->
+
+              <exclude>src/test/performance/results/PgSQL.970926</exclude>
+              <exclude>src/test/performance/sqls/connection</exclude>
               <exclude>src/test/performance/sqls/crtsimple</exclude>
               <exclude>src/test/performance/sqls/crtsimpleidx</exclude>
               <exclude>src/test/performance/sqls/drpsimple</exclude>
               <exclude>src/test/performance/sqls/orbsimple</exclude>
               <exclude>src/test/performance/sqls/slcsimple</exclude>
-              <exclude>src/test/**/Makefile</exclude>
-              <exclude>src/test/performance/results/PgSQL.970926</exclude>
-              <exclude>src/test/performance/sqls/connection</exclude>
-              <exclude>src/test/feature/doxygen_template</exclude>
-              <exclude>src/test/regress/expected_statuses</exclude>
-              <exclude>src/test/feature/lib/global_init_file</exclude>
-              <exclude>src/test/**/init_file</exclude>
-              <exclude>src/test/bench/query*</exclude>
-              <exclude>src/test/regress/resultmap</exclude>
-              <exclude>src/test/locale/**/runall</exclude>
               <exclude>src/test/performance/sqls/vacuum</exclude>
+              <exclude>src/test/regress/resultmap</exclude>
+
               <exclude>src/timezone/**/*</exclude>
               <exclude>doc/src/sgml/fixrtf</exclude>
               <exclude>doc/**/*.sgml</exclude>
@@ -193,6 +242,10 @@
               <exclude>tools/demo/gpfdist_transform/*.yaml</exclude>
               <exclude>tools/bin/gppylib/operations/madlib_depcheck/changelist.yaml</exclude>
 
+              <!-- PXF test file -->
+
+              <exclude>pxf/pxf-json/src/test/resources/tweets.tar.gz</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
@@ -228,8 +281,6 @@
               <exclude>**/*.commit</exclude>
               <exclude>**/__init__.py</exclude>
               <exclude>**/*README*</exclude>
-              <exclude>**/.travis.yml</exclude>
-              <exclude>pxf/**/*.classpath</exclude>	 
             </excludes>
             <licenses>
               <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/pxf/pxf-service/src/main/resources/pxf-private.classpath
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/resources/pxf-private.classpath b/pxf/pxf-service/src/main/resources/pxf-private.classpath
index 48ac2f9..17a1716 100644
--- a/pxf/pxf-service/src/main/resources/pxf-private.classpath
+++ b/pxf/pxf-service/src/main/resources/pxf-private.classpath
@@ -1,3 +1,18 @@
+# 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.
+
 ##################################################################
 # This file contains the internal classpaths required to run PXF.
 # Edit to set the base paths according to your specific package layout

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath b/pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath
index c79f367..5f3a743 100644
--- a/pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath
+++ b/pxf/pxf-service/src/main/resources/pxf-privatehdp.classpath
@@ -1,3 +1,17 @@
+# 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.
 ##################################################################
 # This file contains the internal classpaths required to run PXF.
 # WARNING: DO NOT EDIT!

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/pxf/pxf-service/src/main/resources/pxf-privatephd.classpath
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/resources/pxf-privatephd.classpath b/pxf/pxf-service/src/main/resources/pxf-privatephd.classpath
index 98d23a0..7523d7d 100644
--- a/pxf/pxf-service/src/main/resources/pxf-privatephd.classpath
+++ b/pxf/pxf-service/src/main/resources/pxf-privatephd.classpath
@@ -1,3 +1,17 @@
+# 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.
 ##################################################################
 # This file contains the internal classpaths required to run PXF.
 # WARNING: DO NOT EDIT!

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/pxf/pxf-service/src/main/resources/pxf-public.classpath
----------------------------------------------------------------------
diff --git a/pxf/pxf-service/src/main/resources/pxf-public.classpath b/pxf/pxf-service/src/main/resources/pxf-public.classpath
index 62afb87..1af5fd0 100644
--- a/pxf/pxf-service/src/main/resources/pxf-public.classpath
+++ b/pxf/pxf-service/src/main/resources/pxf-public.classpath
@@ -1,3 +1,17 @@
+# 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.
 ##############################################################
 # This is PXF service's classpath file
 # Any connector should be added here, one resource per line.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/amsd/Makefile
----------------------------------------------------------------------
diff --git a/src/test/amsd/Makefile b/src/test/amsd/Makefile
index c5b41da..5086196 100644
--- a/src/test/amsd/Makefile
+++ b/src/test/amsd/Makefile
@@ -1,3 +1,18 @@
+# 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 for CDB unit tests
 #

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/examples/Makefile
----------------------------------------------------------------------
diff --git a/src/test/examples/Makefile b/src/test/examples/Makefile
index b55405d..84a4686 100644
--- a/src/test/examples/Makefile
+++ b/src/test/examples/Makefile
@@ -1,3 +1,18 @@
+# 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 for example programs
 #

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ExternalSource/lib/Makefile
----------------------------------------------------------------------
diff --git a/src/test/feature/ExternalSource/lib/Makefile b/src/test/feature/ExternalSource/lib/Makefile
index 46f6c20..7e93657 100644
--- a/src/test/feature/ExternalSource/lib/Makefile
+++ b/src/test/feature/ExternalSource/lib/Makefile
@@ -1,3 +1,18 @@
+# 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.
+
 top_builddir = ../../../../..
 include $(top_builddir)/src/Makefile.global
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/Makefile
----------------------------------------------------------------------
diff --git a/src/test/feature/Makefile b/src/test/feature/Makefile
index 06c3b61..785f5b0 100644
--- a/src/test/feature/Makefile
+++ b/src/test/feature/Makefile
@@ -1,3 +1,18 @@
+# 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.
+
 top_builddir = ../../..
 include $(top_builddir)/src/Makefile.global
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/files_incomplete.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/files_incomplete.yml b/src/test/feature/ManagementTool/files_incomplete.yml
index d9a9185..4233dbc 100755
--- a/src/test/feature/ManagementTool/files_incomplete.yml
+++ b/src/test/feature/ManagementTool/files_incomplete.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_bucketnum.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_bucketnum.yml b/src/test/feature/ManagementTool/missing_bucketnum.yml
index 32d3b0d..cd0f625 100755
--- a/src/test/feature/ManagementTool/missing_bucketnum.yml
+++ b/src/test/feature/ManagementTool/missing_bucketnum.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_checksum.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_checksum.yml b/src/test/feature/ManagementTool/missing_checksum.yml
index 540744b..775a444 100755
--- a/src/test/feature/ManagementTool/missing_checksum.yml
+++ b/src/test/feature/ManagementTool/missing_checksum.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   CompressionLevel: 0

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_constraint_partition.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_constraint_partition.yml b/src/test/feature/ManagementTool/missing_constraint_partition.yml
index 89c537d..a7788d5 100755
--- a/src/test/feature/ManagementTool/missing_constraint_partition.yml
+++ b/src/test/feature/ManagementTool/missing_constraint_partition.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_filesize.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_filesize.yml b/src/test/feature/ManagementTool/missing_filesize.yml
index ff56f4e..7f2d522 100755
--- a/src/test/feature/ManagementTool/missing_filesize.yml
+++ b/src/test/feature/ManagementTool/missing_filesize.yml
@@ -1,3 +1,18 @@
+# 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.
+
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin15.5.0, compiled by GCC Apple LLVM version 7.3.0 (clang-703.0.31)
   compiled on Jul 25 2016 13:00:28

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_pagesize.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_pagesize.yml b/src/test/feature/ManagementTool/missing_pagesize.yml
index cfb2983..9767346 100755
--- a/src/test/feature/ManagementTool/missing_pagesize.yml
+++ b/src/test/feature/ManagementTool/missing_pagesize.yml
@@ -1,3 +1,18 @@
+# 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.
+
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin15.5.0, compiled by GCC Apple LLVM version 7.3.0 (clang-703.0.31)
   compiled on Jul 25 2016 13:00:28

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/missing_rowgroupsize.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/missing_rowgroupsize.yml b/src/test/feature/ManagementTool/missing_rowgroupsize.yml
index 0b65b31..41467de 100755
--- a/src/test/feature/ManagementTool/missing_rowgroupsize.yml
+++ b/src/test/feature/ManagementTool/missing_rowgroupsize.yml
@@ -1,3 +1,18 @@
+# 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.
+
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin15.5.0, compiled by GCC Apple LLVM version 7.3.0 (clang-703.0.31)
   compiled on Jul 25 2016 13:00:28

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml b/src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml
index c25d7c9..4dff9cf 100644
--- a/src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/constraint_not_exists_in_catalog_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml b/src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml
index 739c872..5aee40a 100644
--- a/src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/different_partition_policy_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml b/src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml
index 4de77fb..0df3803 100644
--- a/src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/duplicate_partition_constraint_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml b/src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml
index a0a75c7..f32faf4 100644
--- a/src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/force_mode_normal_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml b/src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml
index 5cba94e..15dea94 100644
--- a/src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/sub_set_catalog_table_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml b/src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml
index 184a675..847d651 100644
--- a/src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_exists_list_partition_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml b/src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml
index 557e3e7..42c603c 100644
--- a/src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_exists_range_partition_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml b/src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml
index ae74f0d..e7ee5a7 100644
--- a/src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_exists_table_file_not_exists_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml b/src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml
index 184a675..847d651 100644
--- a/src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_not_exists_list_partition_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml b/src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml
index 557e3e7..42c603c 100644
--- a/src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_not_exists_range_partition_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml b/src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml
index ae74f0d..e7ee5a7 100644
--- a/src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml
+++ b/src/test/feature/ManagementTool/partition/table_not_exists_table_file_not_exists_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml b/src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml
index 6838afa..df14073 100644
--- a/src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2_include1/includedirectory_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml b/src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml
index 3fd009c..0d75205 100644
--- a/src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2_include2/includedirectory_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml b/src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml
index 22f46e3..977bf2c 100644
--- a/src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/bucket0_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 0
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml b/src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml
index 4998ed7..294f03f 100644
--- a/src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/contain_error_symbol_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml
index 5eb11d6..b5a0430 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_blocksize_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32767
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml
index 1326f78..d227717 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_checksum_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml
index e7c56f3..888320d 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_columnnum_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml
index 48eab61..57b1159 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_compresslevel_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml
index 4c2557d..0922fd6 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_compresstype_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml
index 04296dd..784b8e5 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_encoding_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml
index d01d377..e35ae68 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_format_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml
index cfd4a70..d5e8632 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_pagesize_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml
index 5fa73bf..f4c8349 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_rowgroupsize_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml b/src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml
index a3cac3d..44fd8f8 100644
--- a/src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/error_schema_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml b/src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml
index 2b41255..861edf0 100644
--- a/src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/file_under_table_directory_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml b/src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml
index c0a9e12..76a790c 100644
--- a/src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/float_eof_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml b/src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml
index 00bfb56..401bab0 100644
--- a/src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/includedirectory_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 AO_FileLocations:
   Blocksize: 32768
   Checksum: false

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml b/src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml
index ef9b6da..9efd2d4 100644
--- a/src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/larger_eof_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml b/src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml
index c2470b0..b630665 100644
--- a/src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/minus_eof_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml b/src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml
index b887c82..221fdbe 100644
--- a/src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/wrong_distributed_policy_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml b/src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml
index 770ab10..4267595 100644
--- a/src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case1/zero_eof_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml b/src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml
index 7f82df0..472e20a 100644
--- a/src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case2/bucket0_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 8
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b9dd7b59/src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml
----------------------------------------------------------------------
diff --git a/src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml b/src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml
index 920f405..2c4407e 100644
--- a/src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml
+++ b/src/test/feature/ManagementTool/usage2case2/contain_error_symbol_tpl.yml
@@ -1,3 +1,18 @@
+# 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.
+
 Bucketnum: 6
 DBVersion: PostgreSQL 8.2.15 (Greenplum Database 4.2.0 build 1) (HAWQ 2.0.1.0 build
   dev) on x86_64-apple-darwin14.5.0, compiled by GCC Apple LLVM version 6.1.0 (clang-602.0.53)