hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [04/14] incubator-hawq git commit: HAWQ-57. Add license header to source files and add the NOTICE file
Date Thu, 12 Nov 2015 03:35:39 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/test/rpc/ResMgrClient.py
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/test/rpc/ResMgrClient.py b/src/backend/resourcemanager/test/rpc/ResMgrClient.py
index 6e6f3f0..d9809a8 100644
--- a/src/backend/resourcemanager/test/rpc/ResMgrClient.py
+++ b/src/backend/resourcemanager/test/rpc/ResMgrClient.py
@@ -1,3 +1,19 @@
+# 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 socket, time, random, math
 from optparse import OptionParser
 from threading import Thread

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/balancedbst.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/balancedbst.c b/src/backend/resourcemanager/utils/balancedbst.c
index a7d1759..b4f2c16 100644
--- a/src/backend/resourcemanager/utils/balancedbst.c
+++ b/src/backend/resourcemanager/utils/balancedbst.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.
+ */
+
 #include "utils/balancedbst.h"
 #include "envswitch.h"
 #include "errorcode.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/filesystem_utils.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/filesystem_utils.c b/src/backend/resourcemanager/utils/filesystem_utils.c
index 86a2e3e..fd58603 100644
--- a/src/backend/resourcemanager/utils/filesystem_utils.c
+++ b/src/backend/resourcemanager/utils/filesystem_utils.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.
+ */
+
 #include "utils/filesystem_utils.h"
 #include <sys/stat.h>
 #include <unistd.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/hashtable.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/hashtable.c b/src/backend/resourcemanager/utils/hashtable.c
index 5c134db..6c95347 100644
--- a/src/backend/resourcemanager/utils/hashtable.c
+++ b/src/backend/resourcemanager/utils/hashtable.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.
+ */
+
 #include "utils/hashtable.h"
 #include "utils/simplestring.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/kvproperties.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/kvproperties.c b/src/backend/resourcemanager/utils/kvproperties.c
index d04e260..80b5284 100644
--- a/src/backend/resourcemanager/utils/kvproperties.c
+++ b/src/backend/resourcemanager/utils/kvproperties.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.
+ */
+
 #include "utils/kvproperties.h"
 
 #include <libxml/xmlreader.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/linkedlist.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/linkedlist.c b/src/backend/resourcemanager/utils/linkedlist.c
index 6479ab2..ad9267d 100644
--- a/src/backend/resourcemanager/utils/linkedlist.c
+++ b/src/backend/resourcemanager/utils/linkedlist.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.
+ */
+
 #include "utils/linkedlist.h"
 
 #include "envswitch.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/memutilities.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/memutilities.c b/src/backend/resourcemanager/utils/memutilities.c
index 46ab806..abea3af 100644
--- a/src/backend/resourcemanager/utils/memutilities.c
+++ b/src/backend/resourcemanager/utils/memutilities.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.
+ */
+
 #include "utils/memutilities.h"
 #include "envswitch.h"
 #include "dynrm.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/network_utils.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/network_utils.c b/src/backend/resourcemanager/utils/network_utils.c
index 462e085..f3c6cda 100644
--- a/src/backend/resourcemanager/utils/network_utils.c
+++ b/src/backend/resourcemanager/utils/network_utils.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.
+ */
+
 #include "utils/network_utils.h"
 #include "utils/memutilities.h"
 #include "miscadmin.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/pair.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/pair.c b/src/backend/resourcemanager/utils/pair.c
index a8f80ec..638c6dd 100644
--- a/src/backend/resourcemanager/utils/pair.c
+++ b/src/backend/resourcemanager/utils/pair.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.
+ */
+
 #include "utils/pair.h"
 
 void freePAIR(PAIR pair)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/utils/simplestring.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/utils/simplestring.c b/src/backend/resourcemanager/utils/simplestring.c
index 7a57171..3725359 100644
--- a/src/backend/resourcemanager/utils/simplestring.c
+++ b/src/backend/resourcemanager/utils/simplestring.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.
+ */
+
 #include "envswitch.h"
 #include "utils/simplestring.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_dep_translator.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_dep_translator.c b/src/backend/utils/mdver/mdver_dep_translator.c
index 03a638a..c41effc 100644
--- a/src/backend/utils/mdver/mdver_dep_translator.c
+++ b/src/backend/utils/mdver/mdver_dep_translator.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_dep_translator.c
  *	 Implementation of Dependency Translator (DT) for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_global_handler.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_global_handler.c b/src/backend/utils/mdver/mdver_global_handler.c
index 261e552..d1da474 100644
--- a/src/backend/utils/mdver/mdver_global_handler.c
+++ b/src/backend/utils/mdver/mdver_global_handler.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_global_handler.c
  *	 Implementation of Global VE Handler for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_global_mdvsn.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_global_mdvsn.c b/src/backend/utils/mdver/mdver_global_mdvsn.c
index acae7d1..ffaa736 100644
--- a/src/backend/utils/mdver/mdver_global_mdvsn.c
+++ b/src/backend/utils/mdver/mdver_global_mdvsn.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_global_mdvsn.c
  *	 Implementation of Global MDVSN for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_local_handler.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_local_handler.c b/src/backend/utils/mdver/mdver_local_handler.c
index 1c44a55..0e14653 100644
--- a/src/backend/utils/mdver/mdver_local_handler.c
+++ b/src/backend/utils/mdver/mdver_local_handler.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_local_handler.c
  *	 Implementation of Local VE Handler for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_local_mdvsn.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_local_mdvsn.c b/src/backend/utils/mdver/mdver_local_mdvsn.c
index 08abb3d..87fa540 100644
--- a/src/backend/utils/mdver/mdver_local_mdvsn.c
+++ b/src/backend/utils/mdver/mdver_local_mdvsn.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_local_mdvsn.c
  *	 Implementation of Local MDVSN for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mdver/mdver_utils.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mdver/mdver_utils.c b/src/backend/utils/mdver/mdver_utils.c
index 56bce01..33b487c 100644
--- a/src/backend/utils/mdver/mdver_utils.c
+++ b/src/backend/utils/mdver/mdver_utils.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mdver_utils.c
  *	 Utility functions for metadata versioning
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/atomic.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/atomic.c b/src/backend/utils/misc/atomic.c
index 42f4b12..502c20c 100644
--- a/src/backend/utils/misc/atomic.c
+++ b/src/backend/utils/misc/atomic.c
@@ -1,8 +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.
+ */
+
+/*
  * atomic.c
  *    routines for atomic operations.
- *
- * Copyright (c) 2011 - present, EMC DCD (Greenplum)
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/etc/hawq-site.xml
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/etc/hawq-site.xml b/src/backend/utils/misc/etc/hawq-site.xml
index 97aa45b..8323c23 100644
--- a/src/backend/utils/misc/etc/hawq-site.xml
+++ b/src/backend/utils/misc/etc/hawq-site.xml
@@ -1,4 +1,24 @@
 <?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.
+-->
+
 <configuration>
     <property>
         <name>hawq_master_address_host</name>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/etc/hdfs-client.xml
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/etc/hdfs-client.xml b/src/backend/utils/misc/etc/hdfs-client.xml
index d3f6344..ad717cc 100644
--- a/src/backend/utils/misc/etc/hdfs-client.xml
+++ b/src/backend/utils/misc/etc/hdfs-client.xml
@@ -1,5 +1,25 @@
 <?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.
+-->
+
+
 <configuration>
 
 <!-- KDC

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/etc/template-hawq-site.xml
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/etc/template-hawq-site.xml b/src/backend/utils/misc/etc/template-hawq-site.xml
index 21e1fd3..d85d9d1 100644
--- a/src/backend/utils/misc/etc/template-hawq-site.xml
+++ b/src/backend/utils/misc/etc/template-hawq-site.xml
@@ -1,4 +1,24 @@
 <?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.
+-->
+
 <configuration>
     <property>
         <name>hawq_master_address_host</name>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/etc/yarn-client.xml
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/etc/yarn-client.xml b/src/backend/utils/misc/etc/yarn-client.xml
index 7e68ad5..6a5be71 100644
--- a/src/backend/utils/misc/etc/yarn-client.xml
+++ b/src/backend/utils/misc/etc/yarn-client.xml
@@ -1,5 +1,25 @@
 <?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.
+-->
+
+
 <configuration>
 
 <!-- KDC

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/faultinjector.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/faultinjector.c b/src/backend/utils/misc/faultinjector.c
index 15e75fd..60af41d 100644
--- a/src/backend/utils/misc/faultinjector.c
+++ b/src/backend/utils/misc/faultinjector.c
@@ -1,8 +1,24 @@
 /*
+ * 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.
+ */
+
+/*
  * faultinjector.c
- *
- *
- *  Copyright 2009-2010 Greenplum Inc. All rights reserved. *
  */
 
 /* 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/fstream/fstream.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/fstream/fstream.c b/src/backend/utils/misc/fstream/fstream.c
index a28d996..a1b85ed 100644
--- a/src/backend/utils/misc/fstream/fstream.c
+++ b/src/backend/utils/misc/fstream/fstream.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/a41ad6f2/src/backend/utils/misc/fstream/gfile.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/fstream/gfile.c b/src/backend/utils/misc/fstream/gfile.c
index 4db4efe..21b9697 100644
--- a/src/backend/utils/misc/fstream/gfile.c
+++ b/src/backend/utils/misc/fstream/gfile.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/a41ad6f2/src/backend/utils/misc/netcheck.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/netcheck.c b/src/backend/utils/misc/netcheck.c
index 5578cb5..ef0bff5 100644
--- a/src/backend/utils/misc/netcheck.c
+++ b/src/backend/utils/misc/netcheck.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * netcheck.c
  *	  Implementation of network checking utilities
  *
- * Copyright (c) 2011, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/simexsys.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/simexsys.c b/src/backend/utils/misc/simexsys.c
index b9df9b3..718d114 100644
--- a/src/backend/utils/misc/simexsys.c
+++ b/src/backend/utils/misc/simexsys.c
@@ -1,8 +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.
+ */
+
+/*
  * simexsys.c
  * 		Implementation of system call wrappers with integrated ES injection
  *
- * Copyright (c) 2011, EMC Corp.
  */
 
 #include <sys/socket.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/size.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/size.c b/src/backend/utils/misc/size.c
index 6afa30c..ecd4347 100644
--- a/src/backend/utils/misc/size.c
+++ b/src/backend/utils/misc/size.c
@@ -1,8 +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.
+ */
+
+/*
  * size.c
  *    routines for manipulating Size data type.
  *
- * Copyright (c) 2014 Pivotal Inc.
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/syncbitvector.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/syncbitvector.c b/src/backend/utils/misc/syncbitvector.c
index fd16c64..72a9e2c 100644
--- a/src/backend/utils/misc/syncbitvector.c
+++ b/src/backend/utils/misc/syncbitvector.c
@@ -1,4 +1,23 @@
 /*
+ * 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.
+ */
+
+/*
  * syncbitvector.c
  * 		Implementation of interface for synchronized bit vectors.
  *
@@ -13,7 +32,6 @@
  * In the occurrence of a severe failure, the postmaster resets shared memory; at
  * this point the bit vector information is lost.
  *
- * Copyright (c) 2010, Greenplum inc
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/test/atomic_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/test/atomic_test.c b/src/backend/utils/misc/test/atomic_test.c
index d77c050..0e83078 100644
--- a/src/backend/utils/misc/test/atomic_test.c
+++ b/src/backend/utils/misc/test/atomic_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/test/guc_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/test/guc_test.c b/src/backend/utils/misc/test/guc_test.c
index 0a26f4e..e1aa4cf 100644
--- a/src/backend/utils/misc/test/guc_test.c
+++ b/src/backend/utils/misc/test/guc_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/misc/testutils.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/misc/testutils.c b/src/backend/utils/misc/testutils.c
index 963185c..60a3c58 100644
--- a/src/backend/utils/misc/testutils.c
+++ b/src/backend/utils/misc/testutils.c
@@ -1,8 +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.
+ */
+
+/*
  * testutils.c
  * 		Implementation of testing utilities.
  *
- * Copyright (c) 2010, Greenplum inc
  */
 
 #include <sys/time.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/event_version.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/event_version.c b/src/backend/utils/mmgr/event_version.c
index 092b75a..4f66888 100644
--- a/src/backend/utils/mmgr/event_version.c
+++ b/src/backend/utils/mmgr/event_version.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * event_version.c
@@ -6,9 +25,6 @@
  *	 modules can track and update event versions as necessary. Event versions
  *	 are used to provide a temporal ordering of runaway events and cleanup events,
  *	 as well as the idle and the activation events of different processes.
- *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/idle_tracker.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/idle_tracker.c b/src/backend/utils/mmgr/idle_tracker.c
index 8d04207..dd69ab5 100644
--- a/src/backend/utils/mmgr/idle_tracker.c
+++ b/src/backend/utils/mmgr/idle_tracker.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * idle_tracker.c
@@ -6,8 +25,6 @@
  *	 This module coordinates with the runaway cleaner to ensure that an active
  *	 process cannot become idle before cleaning up for a pending runaway event.
  *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/memaccounting.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/memaccounting.c b/src/backend/utils/mmgr/memaccounting.c
index c08e83d..f5dccc5 100644
--- a/src/backend/utils/mmgr/memaccounting.c
+++ b/src/backend/utils/mmgr/memaccounting.c
@@ -1,11 +1,20 @@
 /*
- * Copyright (c) 2013 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.
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/memprot.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/memprot.c b/src/backend/utils/mmgr/memprot.c
index 2516fb9..acfd17f 100644
--- a/src/backend/utils/mmgr/memprot.c
+++ b/src/backend/utils/mmgr/memprot.c
@@ -1,12 +1,29 @@
 /*
- * memprot.c
- *		Memory allocation under greenplum memory allocation.
+ * 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
  *
- * Copyright(c) 2008, Greenplum Inc.
+ *   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.
+ */
+
+/*
+ * memprot.c
+ *		Memory allocation under greenplum memory allocation.
  * We wrap up calls to malloc/realloc/free with our own accounting
  * so that we will make sure a postgres process will not go beyond
  * its allowed quota
+ *
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/mpool.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/mpool.c b/src/backend/utils/mmgr/mpool.c
index 6dbea1a..b53da37 100644
--- a/src/backend/utils/mmgr/mpool.c
+++ b/src/backend/utils/mmgr/mpool.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * mpool.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/redzone_handler.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/redzone_handler.c b/src/backend/utils/mmgr/redzone_handler.c
index 5ded0ac..9cf85b9 100644
--- a/src/backend/utils/mmgr/redzone_handler.c
+++ b/src/backend/utils/mmgr/redzone_handler.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * redzone_handler.c
@@ -6,8 +25,6 @@
  *	 handler identifies the session that consumes most vmem and asks it
  *	 to gracefully release its memory.
  *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/runaway_cleaner.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/runaway_cleaner.c b/src/backend/utils/mmgr/runaway_cleaner.c
index 7fdbf85..3684c26 100644
--- a/src/backend/utils/mmgr/runaway_cleaner.c
+++ b/src/backend/utils/mmgr/runaway_cleaner.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * runaway_cleaner.c
@@ -8,8 +27,6 @@
  *	 cleanup is finished, the runaway cleaner also informs the red zone handler
  *	 so that a new runaway session can be chosen if necessary.
  *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/aset_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/aset_test.c b/src/backend/utils/mmgr/test/aset_test.c
old mode 100755
new mode 100644
index 69b994a..8106c61
--- a/src/backend/utils/mmgr/test/aset_test.c
+++ b/src/backend/utils/mmgr/test/aset_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/event_version_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/event_version_test.c b/src/backend/utils/mmgr/test/event_version_test.c
old mode 100755
new mode 100644
index f575ae3..1dfa0bf
--- a/src/backend/utils/mmgr/test/event_version_test.c
+++ b/src/backend/utils/mmgr/test/event_version_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/idle_tracker_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/idle_tracker_test.c b/src/backend/utils/mmgr/test/idle_tracker_test.c
old mode 100755
new mode 100644
index ec17e46..c493027
--- a/src/backend/utils/mmgr/test/idle_tracker_test.c
+++ b/src/backend/utils/mmgr/test/idle_tracker_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/mcxt_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/mcxt_test.c b/src/backend/utils/mmgr/test/mcxt_test.c
old mode 100755
new mode 100644
index 478863e..1fcfd67
--- a/src/backend/utils/mmgr/test/mcxt_test.c
+++ b/src/backend/utils/mmgr/test/mcxt_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/memaccounting_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/memaccounting_test.c b/src/backend/utils/mmgr/test/memaccounting_test.c
old mode 100755
new mode 100644
index 69d7a79..a946040
--- a/src/backend/utils/mmgr/test/memaccounting_test.c
+++ b/src/backend/utils/mmgr/test/memaccounting_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/redzone_handler_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/redzone_handler_test.c b/src/backend/utils/mmgr/test/redzone_handler_test.c
old mode 100755
new mode 100644
index 6ce7b68..eb38e37
--- a/src/backend/utils/mmgr/test/redzone_handler_test.c
+++ b/src/backend/utils/mmgr/test/redzone_handler_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/runaway_cleaner_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/runaway_cleaner_test.c b/src/backend/utils/mmgr/test/runaway_cleaner_test.c
old mode 100755
new mode 100644
index 59e408d..54735e2
--- a/src/backend/utils/mmgr/test/runaway_cleaner_test.c
+++ b/src/backend/utils/mmgr/test/runaway_cleaner_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/test/vmem_tracker_test.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/test/vmem_tracker_test.c b/src/backend/utils/mmgr/test/vmem_tracker_test.c
old mode 100755
new mode 100644
index 1da678a..70fba9f
--- a/src/backend/utils/mmgr/test/vmem_tracker_test.c
+++ b/src/backend/utils/mmgr/test/vmem_tracker_test.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.
+ */
+
 #include <stdarg.h>
 #include <stddef.h>
 #include <setjmp.h>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/mmgr/vmem_tracker.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/vmem_tracker.c b/src/backend/utils/mmgr/vmem_tracker.c
index 9825d8c..abd7b1d 100644
--- a/src/backend/utils/mmgr/vmem_tracker.c
+++ b/src/backend/utils/mmgr/vmem_tracker.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * vmem_tracker.c
@@ -7,8 +26,6 @@
  *	 sessions that consume excessive vmem and cleans up such sessions by forcing
  *	 them to release their memory.
  *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/utils/session_state.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/session_state.c b/src/backend/utils/session_state.c
index 7881197..afe535c 100644
--- a/src/backend/utils/session_state.c
+++ b/src/backend/utils/session_state.c
@@ -1,14 +1,20 @@
-/*-------------------------------------------------------------------------
- *
- * session_state.c
- *	 Implementation of the session state manager. Session state contains
- *	 session specific information such as memory usage of the session, number
- *	 of active processes in the session and so on. It is also used to indicate
- *	 if a session is runaway and therefore needs to cleanup its resources.
+/*
+ * 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
  *
- * Copyright (c) 2014 Pivotal Inc. All Rights Reserved
+ *   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"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/aoblkdir.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/aoblkdir.h b/src/include/catalog/aoblkdir.h
index 80151fa..84356e5 100644
--- a/src/include/catalog/aoblkdir.h
+++ b/src/include/catalog/aoblkdir.h
@@ -1,15 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * aoblkdir.h
  *
  *   This file contains some definitions to support creation of aoblkdir tables.
  *
- * Copyright (c) 2009, Greenplum Inc.
- *
- * $Id: $
- * $Change: $
- * $DateTime: $
- * $Author: $
  *-------------------------------------------------------------------------
  */
 #ifndef AOBLKDIR_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/aoseg.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/aoseg.h b/src/include/catalog/aoseg.h
index 8c4c0ea..0e3d5ff 100644
--- a/src/include/catalog/aoseg.h
+++ b/src/include/catalog/aoseg.h
@@ -1,10 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * aoseg.h
  *	  This file provides some definitions to support creation of aoseg tables
  *
- *
- * Portions Copyright (c) 2008-2013, Greenplum Inc.
  *-------------------------------------------------------------------------
  */
 #ifndef AOSEG_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/caqlparse.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/caqlparse.h b/src/include/catalog/caqlparse.h
index 9cf956f..1a17240 100644
--- a/src/include/catalog/caqlparse.h
+++ b/src/include/catalog/caqlparse.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * caqlparse.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/catcore.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/catcore.h b/src/include/catalog/catcore.h
index 4abbadb..82ef04e 100644
--- a/src/include/catalog/catcore.h
+++ b/src/include/catalog/catcore.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * catcore.h

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/catquery.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/catquery.h b/src/include/catalog/catquery.h
index 3f87aaf..fbfc842 100644
--- a/src/include/catalog/catquery.h
+++ b/src/include/catalog/catquery.h
@@ -1,11 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * catquery.h
  *	  catalog query
  *
- *
- * Copyright (c) 2011, 2012 Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 #ifndef CATQUERY_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_configuration.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_configuration.h b/src/include/catalog/gp_configuration.h
index d097941..eaa0893 100644
--- a/src/include/catalog/gp_configuration.h
+++ b/src/include/catalog/gp_configuration.h
@@ -1,11 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_configuration.h
  *	  definition of the system configuration
  *
  *
- * Copyright (c) 2006-2010, Greenplum inc.
- *
  * NOTES
  *	  the genbki.sh script reads this file and generates .bki
  *	  information from the DATA() statements.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_fastsequence.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_fastsequence.h b/src/include/catalog/gp_fastsequence.h
index 113c8e9..a4733cd 100644
--- a/src/include/catalog/gp_fastsequence.h
+++ b/src/include/catalog/gp_fastsequence.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * gp_fastsequence.h
  *    a table maintaining a light-weight fast sequence number for a unique
  *    object.
  *
- * Copyright (c) 2009-2011, Greenplum Inc.
- *
  * $Id: $
  * $Change: $
  * $DateTime: $

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_global_sequence.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_global_sequence.h b/src/include/catalog/gp_global_sequence.h
index 2257f68..64b195f 100755
--- a/src/include/catalog/gp_global_sequence.h
+++ b/src/include/catalog/gp_global_sequence.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * gp_global_sequence.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 #ifndef GP_GLOBAL_SEQUENCE_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_id.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_id.h b/src/include/catalog/gp_id.h
index c8da5a6..599e1e3 100644
--- a/src/include/catalog/gp_id.h
+++ b/src/include/catalog/gp_id.h
@@ -1,11 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_id.h
  *	  definition of the system "database identifier" relation (gp_dbid)
  *	  along with the relation's initial contents.
  *
- * Copyright (c) 2009-2010, Greenplum inc
- *
  * NOTES
  *    Historically this table was used to supply every segment with its
  * identification information.  However in the 4.0 release when the file

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_master_mirroring.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_master_mirroring.h b/src/include/catalog/gp_master_mirroring.h
index 5b65795..9b4f7e0 100644
--- a/src/include/catalog/gp_master_mirroring.h
+++ b/src/include/catalog/gp_master_mirroring.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 _GP_MASTER_MIRRORING_H_
 #define _GP_MASTER_MIRRORING_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_persistent.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_persistent.h b/src/include/catalog/gp_persistent.h
index 2f88a17..a0c92c6 100755
--- a/src/include/catalog/gp_persistent.h
+++ b/src/include/catalog/gp_persistent.h
@@ -1,9 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_persistent.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
- *
  * Global tables:
  *     gp_persistent_relation_node
  *     gp_persistent_database_node

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_policy.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_policy.h b/src/include/catalog/gp_policy.h
index 0ead1bb..db86522 100644
--- a/src/include/catalog/gp_policy.h
+++ b/src/include/catalog/gp_policy.h
@@ -1,10 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_policy.h
  *	  definitions for the gp_distribution_policy catalog table
  *
- * Copyright (c) 2005-2011, Greenplum inc
- *
  * NOTES
  *
  *-------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_san_config.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_san_config.h b/src/include/catalog/gp_san_config.h
index 6e9c39d..2e09358 100644
--- a/src/include/catalog/gp_san_config.h
+++ b/src/include/catalog/gp_san_config.h
@@ -1,10 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_san_config.h
  *    a san configuration table
  *
- * Copyright (c) 2009-2011, Greenplum Inc.
- *
  * $Id: $
  * $Change: $
  * $DateTime: $

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/catalog/gp_segment_config.h
----------------------------------------------------------------------
diff --git a/src/include/catalog/gp_segment_config.h b/src/include/catalog/gp_segment_config.h
index f896c23..ad489a4 100644
--- a/src/include/catalog/gp_segment_config.h
+++ b/src/include/catalog/gp_segment_config.h
@@ -1,10 +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.
+ */
 /*-------------------------------------------------------------------------
  *
  * gp_segment_config.h
  *    a segment configuration table
  *
- * Copyright (c) 2006-2011, Greenplum Inc.
- *
  * $Id: $
  * $Change: $
  * $DateTime: $



Mime
View raw message