hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [02/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:37 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpath.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpath.h b/src/include/cdb/cdbpath.h
index eeeb63a..e164f18 100644
--- a/src/include/cdb/cdbpath.h
+++ b/src/include/cdb/cdbpath.h
@@ -1,10 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpath.h
  *
  *
- * Copyright (c) 2005-2008, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 #ifndef CDBPATH_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpathlocus.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpathlocus.h b/src/include/cdb/cdbpathlocus.h
index ade3a98..b0a1d1b 100644
--- a/src/include/cdb/cdbpathlocus.h
+++ b/src/include/cdb/cdbpathlocus.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpathlocus.h
  *
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpathtoplan.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpathtoplan.h b/src/include/cdb/cdbpathtoplan.h
index 5d68897..4b1c3e5 100644
--- a/src/include/cdb/cdbpathtoplan.h
+++ b/src/include/cdb/cdbpathtoplan.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpathtoplan.h
  *
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentdatabase.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentdatabase.h b/src/include/cdb/cdbpersistentdatabase.h
old mode 100755
new mode 100644
index ec861ba..4c02f63
--- a/src/include/cdb/cdbpersistentdatabase.h
+++ b/src/include/cdb/cdbpersistentdatabase.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentdatabase.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentfilespace.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentfilespace.h b/src/include/cdb/cdbpersistentfilespace.h
old mode 100755
new mode 100644
index 4f608db..9d81d40
--- a/src/include/cdb/cdbpersistentfilespace.h
+++ b/src/include/cdb/cdbpersistentfilespace.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentfilespace.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentfilesysobj.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentfilesysobj.h b/src/include/cdb/cdbpersistentfilesysobj.h
old mode 100755
new mode 100644
index 8c2bb54..f1f6134
--- a/src/include/cdb/cdbpersistentfilesysobj.h
+++ b/src/include/cdb/cdbpersistentfilesysobj.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentfilesysobj.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentrecovery.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentrecovery.h b/src/include/cdb/cdbpersistentrecovery.h
old mode 100755
new mode 100644
index 804d6dd..088d30c
--- a/src/include/cdb/cdbpersistentrecovery.h
+++ b/src/include/cdb/cdbpersistentrecovery.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * persistentrecovery.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentrelation.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentrelation.h b/src/include/cdb/cdbpersistentrelation.h
index d79d814..292aaba 100644
--- a/src/include/cdb/cdbpersistentrelation.h
+++ b/src/include/cdb/cdbpersistentrelation.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentrelation.h
  *
- * Copyright (c) 2013-2014, Pivotal Software Inc.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentrelfile.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentrelfile.h b/src/include/cdb/cdbpersistentrelfile.h
old mode 100755
new mode 100644
index e8d0138..c89412b
--- a/src/include/cdb/cdbpersistentrelfile.h
+++ b/src/include/cdb/cdbpersistentrelfile.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentrelfile.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistentstore.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistentstore.h b/src/include/cdb/cdbpersistentstore.h
old mode 100755
new mode 100644
index 6980e70..649bd4f
--- a/src/include/cdb/cdbpersistentstore.h
+++ b/src/include/cdb/cdbpersistentstore.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistentstore.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 #ifndef CDBPERSISTENTSTORE_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpersistenttablespace.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpersistenttablespace.h b/src/include/cdb/cdbpersistenttablespace.h
old mode 100755
new mode 100644
index e4bfae7..4a7479e
--- a/src/include/cdb/cdbpersistenttablespace.h
+++ b/src/include/cdb/cdbpersistenttablespace.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpersistenttablespace.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbplan.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbplan.h b/src/include/cdb/cdbplan.h
index 40a9aef..5aa34e9 100644
--- a/src/include/cdb/cdbplan.h
+++ b/src/include/cdb/cdbplan.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbplan.h
  *	  definitions for cdbplan.c utilities
  *
- * Copyright (c) 2004-2008, Greenplum inc
  *
  *
  * NOTES

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbptrbuf.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbptrbuf.h b/src/include/cdb/cdbptrbuf.h
index 68ef020..3a3f2fb 100644
--- a/src/include/cdb/cdbptrbuf.h
+++ b/src/include/cdb/cdbptrbuf.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbptrbuf.h
  *    a container for pointers, layered on CdbPtrBuf
  *
- * Copyright (c) 2007-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpublic.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpublic.h b/src/include/cdb/cdbpublic.h
index f33cb7d..dabcc2a 100644
--- a/src/include/cdb/cdbpublic.h
+++ b/src/include/cdb/cdbpublic.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpublic.c
@@ -8,7 +27,6 @@
  *      This is a non-ideal solution, consider alternatives before
  *      adding to this file.
  *
- * Copyright (c) 2008-2008, Greenplum inc.
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbpullup.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbpullup.h b/src/include/cdb/cdbpullup.h
index 591bfe3..decad5b 100644
--- a/src/include/cdb/cdbpullup.h
+++ b/src/include/cdb/cdbpullup.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbpullup.h
  *    definitions for cdbpullup.c utilities
  *
- * Copyright (c)2006-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbquerycontextdispatching.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbquerycontextdispatching.h b/src/include/cdb/cdbquerycontextdispatching.h
index f89a675..0760925 100644
--- a/src/include/cdb/cdbquerycontextdispatching.h
+++ b/src/include/cdb/cdbquerycontextdispatching.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbquerycontextdispatching.h
@@ -15,7 +34,6 @@
  *     and current dispatcher cannot do broadcast work effectively.
  *     Writing into shared storage is a kind of broadcasting.
  *
- * Copyright (c) 2007-2013, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbrelsize.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbrelsize.h b/src/include/cdb/cdbrelsize.h
index 032415a..85807b8 100644
--- a/src/include/cdb/cdbrelsize.h
+++ b/src/include/cdb/cdbrelsize.h
@@ -1,10 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbrelsize.h
  *
  * Get the max size of the relation across the segDBs
  *
- * Copyright (c) 2006-2008, Greenplum inc
  *
  *
  *-------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbresynchronizechangetracking.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbresynchronizechangetracking.h b/src/include/cdb/cdbresynchronizechangetracking.h
old mode 100755
new mode 100644
index 01b2acb..503591c
--- a/src/include/cdb/cdbresynchronizechangetracking.h
+++ b/src/include/cdb/cdbresynchronizechangetracking.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbresynchronizechangetracking.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbselect.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbselect.h b/src/include/cdb/cdbselect.h
index 705273b..a7facc2 100644
--- a/src/include/cdb/cdbselect.h
+++ b/src/include/cdb/cdbselect.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbselect.h
@@ -6,7 +25,6 @@
  *  1024 file descriptors (as far as I can tell all of our platforms
  *  support 65536).
  *
- * Copyright (c) 2006-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsetop.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsetop.h b/src/include/cdb/cdbsetop.h
index 4ce79dd..515081f 100644
--- a/src/include/cdb/cdbsetop.h
+++ b/src/include/cdb/cdbsetop.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  *  cdbsetop.h
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbshareddoublylinked.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbshareddoublylinked.h b/src/include/cdb/cdbshareddoublylinked.h
index 751b25e..d432657 100644
--- a/src/include/cdb/cdbshareddoublylinked.h
+++ b/src/include/cdb/cdbshareddoublylinked.h
@@ -1,98 +1,116 @@
+/*
+ * 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.
+ */
+
 /*-------------------------------------------------------------------------
- *
- * cdbshareddoublylinked.h
- *
- * Copyright (c) 2007-2008, Greenplum inc
  *
- *-------------------------------------------------------------------------
- */
- 
-#ifndef CDBSHAREDDOUBLYLINKED_H
-#define CDBSHAREDDOUBLYLINKED_H
-
-typedef struct SharedDoublyLinkedHead
-{
-	int		count;
-	int		first;
-	int		last;
-	
-} SharedDoublyLinkedHead;
-
-typedef struct SharedDoubleLinks
-{
-	int		index;
-	int		next;
-	int		prev;
-	
-} SharedDoubleLinks;
-
-typedef struct SharedListBase
-{
-	uint8		*data;
-	int			size;
-	int			offsetToDoubleLinks;
-	
-} SharedListBase;
-
-extern void SharedListBase_Init(
-	SharedListBase		*base,
-	void				*data,
-	int					size,
-	int					offsetToDoubleLinks);
-
-extern void SharedDoublyLinkedHead_Init(
-	SharedDoublyLinkedHead	*head);
-
-extern void SharedDoubleLinks_Init(
-	SharedDoubleLinks	*doubleLinks,
-	int					index);
-
-extern SharedDoubleLinks* SharedDoubleLinks_FromElement(	
-	SharedListBase				*base,
-	void						*current);
-
-extern void* SharedListBase_ToElement(	
-	SharedListBase		*base,
-	int					index);
-
-extern void* SharedDoublyLinkedHead_First(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head);
-
-extern SharedDoubleLinks* SharedListBase_ToDoubleLinks(	
-	SharedListBase		*base,
-	int					index);
-
-extern void* SharedDoubleLinks_Next(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head,
-	void						*currentEle);
-
-extern void SharedDoubleLinks_Remove(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head,
-	void						*removeEle);
-
-extern void SharedDoublyLinkedHead_AddFirst(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head,
-	void						*ele);
-
-extern void SharedDoublyLinkedHead_AddLast(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head,
-	void						*ele);
-
-extern void* SharedDoublyLinkedHead_RemoveFirst(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head);
-
-extern void SharedDoubleLinks_AddBefore(
-	SharedListBase				*base,
-	SharedDoublyLinkedHead		*head,
-	void						*atEle,
-	void						*newEle);
-
-
-#endif   /* CDBSHAREDDOUBLYLINKED_H */
-
+ * cdbshareddoublylinked.h
+ *
+ *
+ *-------------------------------------------------------------------------
+ */
+ 
+#ifndef CDBSHAREDDOUBLYLINKED_H
+#define CDBSHAREDDOUBLYLINKED_H
+
+typedef struct SharedDoublyLinkedHead
+{
+	int		count;
+	int		first;
+	int		last;
+	
+} SharedDoublyLinkedHead;
+
+typedef struct SharedDoubleLinks
+{
+	int		index;
+	int		next;
+	int		prev;
+	
+} SharedDoubleLinks;
+
+typedef struct SharedListBase
+{
+	uint8		*data;
+	int			size;
+	int			offsetToDoubleLinks;
+	
+} SharedListBase;
+
+extern void SharedListBase_Init(
+	SharedListBase		*base,
+	void				*data,
+	int					size,
+	int					offsetToDoubleLinks);
+
+extern void SharedDoublyLinkedHead_Init(
+	SharedDoublyLinkedHead	*head);
+
+extern void SharedDoubleLinks_Init(
+	SharedDoubleLinks	*doubleLinks,
+	int					index);
+
+extern SharedDoubleLinks* SharedDoubleLinks_FromElement(	
+	SharedListBase				*base,
+	void						*current);
+
+extern void* SharedListBase_ToElement(	
+	SharedListBase		*base,
+	int					index);
+
+extern void* SharedDoublyLinkedHead_First(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head);
+
+extern SharedDoubleLinks* SharedListBase_ToDoubleLinks(	
+	SharedListBase		*base,
+	int					index);
+
+extern void* SharedDoubleLinks_Next(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head,
+	void						*currentEle);
+
+extern void SharedDoubleLinks_Remove(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head,
+	void						*removeEle);
+
+extern void SharedDoublyLinkedHead_AddFirst(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head,
+	void						*ele);
+
+extern void SharedDoublyLinkedHead_AddLast(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head,
+	void						*ele);
+
+extern void* SharedDoublyLinkedHead_RemoveFirst(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head);
+
+extern void SharedDoubleLinks_AddBefore(
+	SharedListBase				*base,
+	SharedDoublyLinkedHead		*head,
+	void						*atEle,
+	void						*newEle);
+
+
+#endif   /* CDBSHAREDDOUBLYLINKED_H */
+

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsharedoidsearch.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsharedoidsearch.h b/src/include/cdb/cdbsharedoidsearch.h
old mode 100755
new mode 100644
index 69bfd8a..099ada3
--- a/src/include/cdb/cdbsharedoidsearch.h
+++ b/src/include/cdb/cdbsharedoidsearch.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbsharedoidsearch.h
  *
- * Copyright (c) 2009-2010, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsharedstorageop.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsharedstorageop.h b/src/include/cdb/cdbsharedstorageop.h
index bd37810..7a3d12b 100644
--- a/src/include/cdb/cdbsharedstorageop.h
+++ b/src/include/cdb/cdbsharedstorageop.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbsharedstorageop.h
  *
- * Copyright (c) 2009-2013, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsreh.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsreh.h b/src/include/cdb/cdbsreh.h
index 9689fef..dfe5e2d 100644
--- a/src/include/cdb/cdbsreh.h
+++ b/src/include/cdb/cdbsreh.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
 *
 * cdbsreh.h
 *	  routines for single row error handling
 *
-* Copyright (c) 2007-2008, Greenplum inc
 *
 *-------------------------------------------------------------------------
 */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsrlz.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsrlz.h b/src/include/cdb/cdbsrlz.h
index 37dbeb0..e51dd14 100644
--- a/src/include/cdb/cdbsrlz.h
+++ b/src/include/cdb/cdbsrlz.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbsrlz.h
  *	  definitions for paln serialization utilities
  *
- * Copyright (c) 2004-2008, Greenplum inc
  *
  * NOTES
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsubplan.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsubplan.h b/src/include/cdb/cdbsubplan.h
index 03c1f20..8e73b82 100644
--- a/src/include/cdb/cdbsubplan.h
+++ b/src/include/cdb/cdbsubplan.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbsubplan.h
  * routines for preprocessing initPlan subplans
  *		and executing queries with initPlans *
- * Copyright (c) 2003-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbsubselect.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbsubselect.h b/src/include/cdb/cdbsubselect.h
index 82adf17..022c2c9 100644
--- a/src/include/cdb/cdbsubselect.h
+++ b/src/include/cdb/cdbsubselect.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbsubselect.c
  *	  Flattens subqueries, transforms them to joins.
  *
- * Copyright (c) 2007-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbtargeteddispatch.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbtargeteddispatch.h b/src/include/cdb/cdbtargeteddispatch.h
index 56222f2..f76384a 100644
--- a/src/include/cdb/cdbtargeteddispatch.h
+++ b/src/include/cdb/cdbtargeteddispatch.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * The targeted dispatch code will use query information to assign content ids
@@ -10,7 +29,6 @@
  *
  * See MPP-6939 for more information.
  *
- * Copyright (c) 2009, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbthreadwork.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbthreadwork.h b/src/include/cdb/cdbthreadwork.h
index cce9b43..a7a8ff0 100644
--- a/src/include/cdb/cdbthreadwork.h
+++ b/src/include/cdb/cdbthreadwork.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbthreadwork.h
  *	  Manages a work thread.
  *
- * Copyright (c) 2007, greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbtimer.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbtimer.h b/src/include/cdb/cdbtimer.h
index 48fee0d..9e72d34 100644
--- a/src/include/cdb/cdbtimer.h
+++ b/src/include/cdb/cdbtimer.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbtimer.h
  *	  Functions to manipulate timers used in a backend.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  * $Id$
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbtmpdir.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbtmpdir.h b/src/include/cdb/cdbtmpdir.h
index b5dc026..62d3046 100644
--- a/src/include/cdb/cdbtmpdir.h
+++ b/src/include/cdb/cdbtmpdir.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #ifndef CDBTMPDIR_H
 #define CDBTMPDIR_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbutil.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbutil.h b/src/include/cdb/cdbutil.h
index 9aea6bc..23b4acc 100644
--- a/src/include/cdb/cdbutil.h
+++ b/src/include/cdb/cdbutil.h
@@ -1,10 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbutil.h
  *	  Header file for routines in cdbutil.c and results returned by
  *	  those routines.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbvarblock.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbvarblock.h b/src/include/cdb/cdbvarblock.h
index 1ee10de..bfd64bb 100644
--- a/src/include/cdb/cdbvarblock.h
+++ b/src/include/cdb/cdbvarblock.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * cdbvarblock.h
@@ -8,7 +26,7 @@
  *
  *  Alignment:
  *      The first item will be aligned on an eight-byte (64 bit) boundary.
- *      If all items are a multiple or 8, 4, 2 in length � then they will
+ *      If all items are a multiple or 8, 4, 2 in length n then they will
  *      be aligned on those multiples.  If the items are any length, then
  *      the alignment is 1 byte.
  *
@@ -78,7 +96,6 @@
  *		    }
  *       }
  *        
- * Copyright (c) 2007, greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/cdbvars.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/cdbvars.h b/src/include/cdb/cdbvars.h
index e7c0a87..ed941d7 100644
--- a/src/include/cdb/cdbvars.h
+++ b/src/include/cdb/cdbvars.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbvars.h
  *	  definitions for Greenplum-specific global variables
  *
- * Copyright (c) 2003-2010, Greenplum inc
  *
  * NOTES
  *	  See src/backend/utils/misc/guc.c for variable external specification.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/dispatcher.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/dispatcher.h b/src/include/cdb/dispatcher.h
index 6fbbc49..099f592 100644
--- a/src/include/cdb/dispatcher.h
+++ b/src/include/cdb/dispatcher.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 
 #ifndef DISPATCHER_H
 #define DISPATCHER_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/dispatcher_mgt.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/dispatcher_mgt.h b/src/include/cdb/dispatcher_mgt.h
index d579bc9..a67db13 100644
--- a/src/include/cdb/dispatcher_mgt.h
+++ b/src/include/cdb/dispatcher_mgt.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 
 #ifndef DISPATCHER_MGT_H
 #define DISPATCHER_MGT_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/executormgr.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/executormgr.h b/src/include/cdb/executormgr.h
index 0805c05..e7fe9a0 100644
--- a/src/include/cdb/executormgr.h
+++ b/src/include/cdb/executormgr.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * executormgr.h
  *
- * Copyright (c) 2014-2014, Pivotal inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/htupfifo.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/htupfifo.h b/src/include/cdb/htupfifo.h
index d4f7fdd..6a768f9 100644
--- a/src/include/cdb/htupfifo.h
+++ b/src/include/cdb/htupfifo.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * htupfifo.h
@@ -9,7 +28,6 @@
  *	   would mean we would possibly need to make copies of tuples when they
  *	   are added and/or when they are retrieved.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/memquota.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/memquota.h b/src/include/cdb/memquota.h
index 1fdc3e8..4ccca95 100644
--- a/src/include/cdb/memquota.h
+++ b/src/include/cdb/memquota.h
@@ -1,9 +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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * memquota.h
  * Routines related to memory quota for queries.
  *
- * Copyright (c) 2005-2010, Greenplum inc
  *-------------------------------------------------------------------------*/
 #ifndef MEMQUOTA_H_
 #define MEMQUOTA_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/ml_ipc.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/ml_ipc.h b/src/include/cdb/ml_ipc.h
index 6a41691..2b37c4f 100644
--- a/src/include/cdb/ml_ipc.h
+++ b/src/include/cdb/ml_ipc.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
 * ml_ipc.h
 *	Motion Layer IPC Layer.
 *
-* Copyright (c) 2005-2008, Greenplum inc
 *-------------------------------------------------------------------------
 */
 #ifndef ML_IPC_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/partitionselection.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/partitionselection.h b/src/include/cdb/partitionselection.h
index 3dd69f0..de505b2 100644
--- a/src/include/cdb/partitionselection.h
+++ b/src/include/cdb/partitionselection.h
@@ -1,9 +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.
+ */
+
 /*--------------------------------------------------------------------------
  *
  * partitionselection.h
  *	 Definitions and API functions for partitionselection.c
  *
- * Copyright (c) Pivotal Inc.
  *
  *--------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/poolmgr.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/poolmgr.h b/src/include/cdb/poolmgr.h
index 0a0f967..2821dd9 100644
--- a/src/include/cdb/poolmgr.h
+++ b/src/include/cdb/poolmgr.h
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 
 #ifndef POOLMGR_H
 #define POOLMGR_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/tupchunk.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/tupchunk.h b/src/include/cdb/tupchunk.h
index c067183..9bff25f 100644
--- a/src/include/cdb/tupchunk.h
+++ b/src/include/cdb/tupchunk.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * tupchunk.h
  *	   The data-structures and functions for dealing with tuple chunks.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *-------------------------------------------------------------------------
  */
 #ifndef TUPCHUNK_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/tupchunklist.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/tupchunklist.h b/src/include/cdb/tupchunklist.h
index 9833551..2c55b66 100644
--- a/src/include/cdb/tupchunklist.h
+++ b/src/include/cdb/tupchunklist.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * tupchunklist.h
  *	   The data-structures and functions for dealing with tuple chunk lists.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *-------------------------------------------------------------------------
  */
 #ifndef TUPCHUNKLIST_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/tupser.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/tupser.h b/src/include/cdb/tupser.h
index da3cf49..ca73342 100644
--- a/src/include/cdb/tupser.h
+++ b/src/include/cdb/tupser.h
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * tupser.h
  *	   Functions for serializing and deserializing heap tuples.
  *
- * Copyright (c) 2005-2008, Greenplum inc
  *-------------------------------------------------------------------------
  */
 #ifndef TUPSER_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/cdb/workermgr.h
----------------------------------------------------------------------
diff --git a/src/include/cdb/workermgr.h b/src/include/cdb/workermgr.h
index 6805bd5..e26266d 100644
--- a/src/include/cdb/workermgr.h
+++ b/src/include/cdb/workermgr.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * workermgr.h
  *
- * Copyright (c) 2014-2014, Pivotal inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/execDML.h
----------------------------------------------------------------------
diff --git a/src/include/executor/execDML.h b/src/include/executor/execDML.h
index fb4f82e..f1f45c8 100644
--- a/src/include/executor/execDML.h
+++ b/src/include/executor/execDML.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * execDML.h
  *	  Prototypes for execDML.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/execDynamicScan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/execDynamicScan.h b/src/include/executor/execDynamicScan.h
index 3d21199..7190e1a 100644
--- a/src/include/executor/execDynamicScan.h
+++ b/src/include/executor/execDynamicScan.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.
+ */
 /*--------------------------------------------------------------------------
  *
  * execDynamicScan.h
  *	 Definitions and API functions for execDynamicScan.c
  *
- * Copyright (c) 2014, Pivotal, Inc.
- *
  *--------------------------------------------------------------------------
  */
 #ifndef EXECDYNAMICSCAN_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/execIndexscan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/execIndexscan.h b/src/include/executor/execIndexscan.h
index 24ddf55..fdc098a 100644
--- a/src/include/executor/execIndexscan.h
+++ b/src/include/executor/execIndexscan.h
@@ -1,7 +1,23 @@
 /*
- * execIndexScan.h
+ * 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
  *
- * Copyright (c) 2013 - present, EMC/Greenplum
+ * 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.
+ */
+/*
+ * execIndexScan.h
  */
 #ifndef EXECINDEXSCAN_H
 #define EXECINDEXSCAN_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/execWorkfile.h
----------------------------------------------------------------------
diff --git a/src/include/executor/execWorkfile.h b/src/include/executor/execWorkfile.h
index e9d8e1f..9677b58 100644
--- a/src/include/executor/execWorkfile.h
+++ b/src/include/executor/execWorkfile.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * execworkfile.h
  *    prototypes for execworkfiles.c
  *
- * Copyright (c) 2010, Greenplum Inc.
- *
  *-------------------------------------------------------------------------
  */
 #ifndef EXECWORKFILE_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeAssertOp.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeAssertOp.h b/src/include/executor/nodeAssertOp.h
index afdeb91..6cbcb3d 100644
--- a/src/include/executor/nodeAssertOp.h
+++ b/src/include/executor/nodeAssertOp.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeAssertOp.h
  *	  Prototypes for nodeAssertOp.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeDML.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeDML.h b/src/include/executor/nodeDML.h
index 4454e78..e6811a2 100644
--- a/src/include/executor/nodeDML.h
+++ b/src/include/executor/nodeDML.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeDML.h
  *	  Prototypes for nodeDML.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeDynamicIndexscan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeDynamicIndexscan.h b/src/include/executor/nodeDynamicIndexscan.h
index 5ff63c6..2188c53 100644
--- a/src/include/executor/nodeDynamicIndexscan.h
+++ b/src/include/executor/nodeDynamicIndexscan.h
@@ -1,7 +1,23 @@
 /*
- * nodeDynamicIndexScan.h
+ * 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
  *
- * Copyright (c) 2013 - present, EMC/Greenplum
+ * 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.
+ */
+/*
+ * nodeDynamicIndexScan.h
  */
 #ifndef NODEDYNAMICINDEXSCAN_H
 #define NODEDYNAMICINDEXSCAN_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeDynamicTableScan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeDynamicTableScan.h b/src/include/executor/nodeDynamicTableScan.h
index e2f6d2d..e5569f4 100644
--- a/src/include/executor/nodeDynamicTableScan.h
+++ b/src/include/executor/nodeDynamicTableScan.h
@@ -1,7 +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.
+ */
+/*
  * nodeDynamicTableScan.h
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
  */
 #ifndef NODEDYNAMICTABLESCAN_H
 #define NODEDYNAMICTABLESCAN_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeExternalscan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeExternalscan.h b/src/include/executor/nodeExternalscan.h
index 82d2ddc..16e1035 100644
--- a/src/include/executor/nodeExternalscan.h
+++ b/src/include/executor/nodeExternalscan.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.
+ */
 /*-------------------------------------------------------------------------
 *
 * nodeExternalscan.h
 *
-* Copyright (c) 2007-2008, Greenplum inc
-*
 *-------------------------------------------------------------------------
 */
 #ifndef NODEEXTERNALSCAN_H

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeParquetScan.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeParquetScan.h b/src/include/executor/nodeParquetScan.h
index 186c18c..a6ae6c7 100644
--- a/src/include/executor/nodeParquetScan.h
+++ b/src/include/executor/nodeParquetScan.h
@@ -1,4 +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.
+ */
+/*
  * nodeParquetScan.h
  *
  *  Created on: Jul 4, 2013

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodePartitionSelector.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodePartitionSelector.h b/src/include/executor/nodePartitionSelector.h
index e6626e2..b30b0de 100644
--- a/src/include/executor/nodePartitionSelector.h
+++ b/src/include/executor/nodePartitionSelector.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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodePartitionSelector.h
@@ -5,8 +23,6 @@
  *	  Oids based on a given set of predicates. It works for both constant
  *	  partition elimination and join partition elimination
  *
- * Copyright (c) 2014, Pivotal Inc.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/include/executor/nodeRepeat.h
----------------------------------------------------------------------
diff --git a/src/include/executor/nodeRepeat.h b/src/include/executor/nodeRepeat.h
index d6fd137..113b3b6 100644
--- a/src/include/executor/nodeRepeat.h
+++ b/src/include/executor/nodeRepeat.h
@@ -1,16 +1,24 @@
-/*-------------------------------------------------------------------------
- *
- * nodeRepeat.h
+/*
+ * 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 - present, Greenplum Inc.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * IDENTIFICATION:
- *     $Id$
+ * 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.
+ */
+/*-------------------------------------------------------------------------
  *
- * $File$
- * $Change$
- * $Author$
- * $DateTime$
+ * nodeRepeat.h
  *-------------------------------------------------------------------------
  */
 



Mime
View raw message