hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [06/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:41 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/dispatcher_mgt.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/dispatcher_mgt.c b/src/backend/cdb/dispatcher_mgt.c
index 4768c2b..173ea35 100644
--- a/src/backend/cdb/dispatcher_mgt.c
+++ b/src/backend/cdb/dispatcher_mgt.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * dispatcher_mgt.c

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/executormgr.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/executormgr.c b/src/backend/cdb/executormgr.c
index 871bef3..6216d23 100644
--- a/src/backend/cdb/executormgr.c
+++ b/src/backend/cdb/executormgr.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.
+ */
+
+/*
  * executormgr.c
  *
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/cdbmotion.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/cdbmotion.c b/src/backend/cdb/motion/cdbmotion.c
index 46517e6..03a9633 100644
--- a/src/backend/cdb/motion/cdbmotion.c
+++ b/src/backend/cdb/motion/cdbmotion.c
@@ -1,11 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * cdbmotion.c
  *		Access into the motion-layer in order to send and receive tuples
  *		within a motion node ID within a particular process group id.
  *
- * Copyright (c) 2005-2008, Greenplum inc
- *
  * Reviewers: jzhang, tkordas
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/htupfifo.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/htupfifo.c b/src/backend/cdb/motion/htupfifo.c
index 676f04c..ca9bb42 100644
--- a/src/backend/cdb/motion/htupfifo.c
+++ b/src/backend/cdb/motion/htupfifo.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * htupfifo.c
  *	   A FIFO queue for HeapTuples.
  *
- * Copyright (c) 2005-2008, Greenplum inc
- *
  * Reviewers: tkordas
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/ic_common.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/ic_common.c b/src/backend/cdb/motion/ic_common.c
index 677c23a..7eba340 100644
--- a/src/backend/cdb/motion/ic_common.c
+++ b/src/backend/cdb/motion/ic_common.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * ic_common.c
  *	   Interconnect code shared between UDP, and TCP IPC Layers.
  *
- * Copyright (c) 2005-2008, Greenplum
- *
  * Reviewers: jzhang, tkordas
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/ic_tcp.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/ic_tcp.c b/src/backend/cdb/motion/ic_tcp.c
index ab371c7..5d3b16b 100644
--- a/src/backend/cdb/motion/ic_tcp.c
+++ b/src/backend/cdb/motion/ic_tcp.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * ic_tcp.c
  *	   Interconnect code specific to TCP transport.
  *
- * Copyright (c) 2005-2008, Greenplum
- *
  * Reviewers: jzhang, tkordas
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/ic_udp.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/ic_udp.c b/src/backend/cdb/motion/ic_udp.c
index cf47d55..56201bb 100644
--- a/src/backend/cdb/motion/ic_udp.c
+++ b/src/backend/cdb/motion/ic_udp.c
@@ -1,10 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 /*-------------------------------------------------------------------------
  * ic_udp.c
  *	   Interconnect code specific to UDP transport.
- *
- * Copyright (c) 2005-2011, Greenplum Inc.
- * Copyright (c) 2011-2012, EMC Corporation
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/tupchunklist.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/tupchunklist.c b/src/backend/cdb/motion/tupchunklist.c
index d826efc..7d34bf2 100644
--- a/src/backend/cdb/motion/tupchunklist.c
+++ b/src/backend/cdb/motion/tupchunklist.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * tupchunklist.c
  *	  The data-structures and functions for dealing with tuple chunk lists.
  *
- * Copyright (c) 2005-2008, Greenplum
- *
  * Reviewers: jzhang, ftian, tkordas
  *-------------------------------------------------------------------------
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/motion/tupser.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/motion/tupser.c b/src/backend/cdb/motion/tupser.c
index 7078760..0e7909c 100644
--- a/src/backend/cdb/motion/tupser.c
+++ b/src/backend/cdb/motion/tupser.c
@@ -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.
+ */
+
 /*-------------------------------------------------------------------------
  * tupser.c
  *	   Functions for serializing and deserializing a heap tuple.
  *
- * Copyright (c) 2005-2008, Greenplum inc
- *
  *      Reviewers: jzhang, ftian, tkordas
  *
  *-------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/partitionselection.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/partitionselection.c b/src/backend/cdb/partitionselection.c
index d919208..3cd4dbb 100644
--- a/src/backend/cdb/partitionselection.c
+++ b/src/backend/cdb/partitionselection.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.
+ */
+
 /*--------------------------------------------------------------------------
  *
  * partitionselection.c
  *	  Provides utility routines to support partition selection.
  *
- * Copyright (c) Pivotal Inc.
- *
  *--------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/poolmgr.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/poolmgr.c b/src/backend/cdb/poolmgr.c
index 26990b3..eae0f04 100644
--- a/src/backend/cdb/poolmgr.c
+++ b/src/backend/cdb/poolmgr.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.
+ */
+
+/*
  * poolmgr.c
  *	Have to be accessed in main thread!!!!
  */

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/cdb/test/cdbbufferedread_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/test/cdbbufferedread_test.c b/src/backend/cdb/test/cdbbufferedread_test.c
index fac19eb..a8e60cb 100644
--- a/src/backend/cdb/test/cdbbufferedread_test.c
+++ b/src/backend/cdb/test/cdbbufferedread_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/cdb/test/cdbdisp_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/test/cdbdisp_test.c b/src/backend/cdb/test/cdbdisp_test.c
index c4cc08f..305764f 100644
--- a/src/backend/cdb/test/cdbdisp_test.c
+++ b/src/backend/cdb/test/cdbdisp_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/cdb/test/cdbinmemheapam_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/test/cdbinmemheapam_test.c b/src/backend/cdb/test/cdbinmemheapam_test.c
index 157101e..9712fbb 100644
--- a/src/backend/cdb/test/cdbinmemheapam_test.c
+++ b/src/backend/cdb/test/cdbinmemheapam_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/cdb/test_discard/cdbbufferedread_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/test_discard/cdbbufferedread_test.c b/src/backend/cdb/test_discard/cdbbufferedread_test.c
index fac19eb..a8e60cb 100644
--- a/src/backend/cdb/test_discard/cdbbufferedread_test.c
+++ b/src/backend/cdb/test_discard/cdbbufferedread_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/cdb/test_discard/cdbdisp_test.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/test_discard/cdbdisp_test.c b/src/backend/cdb/test_discard/cdbdisp_test.c
index 44d090b..9de6ad4 100644
--- a/src/backend/cdb/test_discard/cdbdisp_test.c
+++ b/src/backend/cdb/test_discard/cdbdisp_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/cdb/workermgr.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/workermgr.c b/src/backend/cdb/workermgr.c
index b21ba0a..137d08f 100644
--- a/src/backend/cdb/workermgr.c
+++ b/src/backend/cdb/workermgr.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.
+ */
+
+/*
  * workermgr.c
  *	Worker manager is designed to delivery a general thread-based task framework.
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execAOScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execAOScan.c b/src/backend/executor/execAOScan.c
index abc61ac..053494f 100644
--- a/src/backend/executor/execAOScan.c
+++ b/src/backend/executor/execAOScan.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.
+ */
+
+/*
  * execAppendOnlyScan.c
  *   Support routines for scanning AppendOnly tables.
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
  */
 #include "postgres.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execBitmapParquetScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execBitmapParquetScan.c b/src/backend/executor/execBitmapParquetScan.c
index 7e9a493..ec960b6 100644
--- a/src/backend/executor/execBitmapParquetScan.c
+++ b/src/backend/executor/execBitmapParquetScan.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.
+ */
+/*
  * execBitmapParquetScan.c
  *   Support routines for scanning parquet tables using bitmaps.
  *
- * Copyright (c) 2014 Pivotal, Inc.
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execDML.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execDML.c b/src/backend/executor/execDML.c
index 381eea8..d36e9ed 100644
--- a/src/backend/executor/execDML.c
+++ b/src/backend/executor/execDML.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * execDML.c
  *        Implementation of execDML.
  *        This file performs INSERT, DELETE and UPDATE DML operations.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execDynamicScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execDynamicScan.c b/src/backend/executor/execDynamicScan.c
index 45913d2..2ae8bda 100644
--- a/src/backend/executor/execDynamicScan.c
+++ b/src/backend/executor/execDynamicScan.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * execDynamicScan.c
  *	  Support routines for iterating through dynamically chosen partitions of a relation
  *
- * Portions Copyright (c) 2014, Pivotal, Inc.
- *
  *-------------------------------------------------------------------------
  */
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execGpmon.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execGpmon.c b/src/backend/executor/execGpmon.c
index 9eb84ae..4b3799b 100644
--- a/src/backend/executor/execGpmon.c
+++ b/src/backend/executor/execGpmon.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.
+ */
+
+/*
  * execGpmon.c
  *   Gpmon related functions inside executor.
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
  */
 #include "postgres.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execIndexscan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execIndexscan.c b/src/backend/executor/execIndexscan.c
index 97a5414..0e41c95 100644
--- a/src/backend/executor/execIndexscan.c
+++ b/src/backend/executor/execIndexscan.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.
+ */
+
+/*
  * execIndexscan.c
  * 	Define common routines that are used by IndexScan, BitmapIndexScan, and DynamicIndexScan nodes.
  *
- * Copyright (c) 2013 - present, EMC/Greenplum
  */
 #include "postgres.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execParquetScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execParquetScan.c b/src/backend/executor/execParquetScan.c
index 7999e83..f56ff36 100644
--- a/src/backend/executor/execParquetScan.c
+++ b/src/backend/executor/execParquetScan.c
@@ -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.
+ */
+/*
  * execParquetScan.c
  *
  *  Created on: Oct 11, 2013

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/execWorkfile.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execWorkfile.c b/src/backend/executor/execWorkfile.c
index 28619d2..05adea8 100644
--- a/src/backend/executor/execWorkfile.c
+++ b/src/backend/executor/execWorkfile.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * execworkfile.c
  *    Management of temporary work files used by the executor nodes.
  *
- * Copyright (c) 2010. Greenplum Inc.
- *
  * WorkFiles provide a general interface to different implementations of
  * temporary files used by the executor nodes.
  *-------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeAssertOp.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeAssertOp.c b/src/backend/executor/nodeAssertOp.c
index 65cc161..5f906ff 100644
--- a/src/backend/executor/nodeAssertOp.c
+++ b/src/backend/executor/nodeAssertOp.c
@@ -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.c
  *	  Implementation of nodeAssertOp.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeDML.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeDML.c b/src/backend/executor/nodeDML.c
index f3efde9..db103ce 100644
--- a/src/backend/executor/nodeDML.c
+++ b/src/backend/executor/nodeDML.c
@@ -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.c
  *	  Implementation of nodeDML.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeDynamicIndexscan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeDynamicIndexscan.c b/src/backend/executor/nodeDynamicIndexscan.c
index 74d8b5f..8156987 100644
--- a/src/backend/executor/nodeDynamicIndexscan.c
+++ b/src/backend/executor/nodeDynamicIndexscan.c
@@ -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.
+ */
+/*
  * nodeDynamicIndexscan.c 
  *	Support routines for scanning one or more indexes that
  *	are determined at runtime.
@@ -7,7 +25,6 @@
  *	For each index, it opens the index, scans the index, and returns
  *	relevant tuples.
  *
- * Copyright (c) 2013 - present, EMC/Greenplum
  */
 
 #include "postgres.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeDynamicTableScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeDynamicTableScan.c b/src/backend/executor/nodeDynamicTableScan.c
index d31a34a..94da2ad 100644
--- a/src/backend/executor/nodeDynamicTableScan.c
+++ b/src/backend/executor/nodeDynamicTableScan.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.
+ */
+
+/*
  * nodeDynamicTableScan.c
  *    Support routines for scanning one or more relations that are determined
  * at run time. The relations could be Heap, AppendOnly Row, AppendOnly Columnar.
@@ -6,7 +25,6 @@
  * DynamicTableScan node scans each relation one after the other. For each relation,
  * it opens the table, scans the tuple, and returns relevant tuples.
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
  */
 #include "postgres.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeExternalscan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeExternalscan.c b/src/backend/executor/nodeExternalscan.c
index 78c7498..b19b25e 100644
--- a/src/backend/executor/nodeExternalscan.c
+++ b/src/backend/executor/nodeExternalscan.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeExternalscan.c
  *	  Support routines for scans of external relations (on flat files for example)
  *
- * Copyright (c) 2007-2008, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeMotion.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeMotion.c b/src/backend/executor/nodeMotion.c
index 0a129bc..e85a3c9 100644
--- a/src/backend/executor/nodeMotion.c
+++ b/src/backend/executor/nodeMotion.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeMotion.c
  *	  Routines to handle moving tuples around in Greenplum Database.
  *
- * Copyright (c) 2005-2008, Greenplum inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeParquetScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeParquetScan.c b/src/backend/executor/nodeParquetScan.c
index 4b506e4..90c1c1d 100644
--- a/src/backend/executor/nodeParquetScan.c
+++ b/src/backend/executor/nodeParquetScan.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.
+ */
+
+/*
  * nodeParquetScan.c
  *
  *  Created on: Jul 4, 2013

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodePartitionSelector.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodePartitionSelector.c b/src/backend/executor/nodePartitionSelector.c
index 28a7619..c7de1f5 100644
--- a/src/backend/executor/nodePartitionSelector.c
+++ b/src/backend/executor/nodePartitionSelector.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * nodePartitionSelector.c
@@ -5,8 +24,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/backend/executor/nodeRepeat.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeRepeat.c b/src/backend/executor/nodeRepeat.c
index a60b006..b33f547 100644
--- a/src/backend/executor/nodeRepeat.c
+++ b/src/backend/executor/nodeRepeat.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.
+ */
+
 /*-------------------------------------------------------------------------
  *
  * nodeRepeat.c
@@ -12,8 +31,6 @@
  *    For example, it is useful in grouping extension queries where the query
  *    contain duplicate grouping sets.
  *
- * Copyright (c) 2008 - present, Greenplum Inc.
- *
  * IDENTIFICATION:
  *     $Id$
  *

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeRowTrigger.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeRowTrigger.c b/src/backend/executor/nodeRowTrigger.c
index 5d44345..0b84eee 100644
--- a/src/backend/executor/nodeRowTrigger.c
+++ b/src/backend/executor/nodeRowTrigger.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeRowTriggerOp.c
  *	  Implementation of nodeRowTriggerOp.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  * The semantics of triggers is the following:
  * After triggers are executed after each tuple is processed, which
  * is not the case for DML statements going through the planner.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeSequence.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeSequence.c b/src/backend/executor/nodeSequence.c
index a61b858..4ccb739 100644
--- a/src/backend/executor/nodeSequence.c
+++ b/src/backend/executor/nodeSequence.c
@@ -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.
+ */
+/*
  * nodeSequence.c
  *   Routines to handle Sequence node.
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
- *
  * Sequence node contains a list of subplans, which will be processed in the 
  * order of left-to-right. Result tuples from the last subplan will be outputted
  * as the results of the Sequence node.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeSplitUpdate.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeSplitUpdate.c b/src/backend/executor/nodeSplitUpdate.c
index 40746f4..3094a62 100644
--- a/src/backend/executor/nodeSplitUpdate.c
+++ b/src/backend/executor/nodeSplitUpdate.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeSplitUpdate.c
  *	  Implementation of nodeSplitUpdate.
  *
- * Copyright (c) 2012, EMC Corp.
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeTableScan.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeTableScan.c b/src/backend/executor/nodeTableScan.c
index 2e2de77..cbbe8cd 100644
--- a/src/backend/executor/nodeTableScan.c
+++ b/src/backend/executor/nodeTableScan.c
@@ -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.
+ */
+/*
  * nodeTableScan.c
  *    Support routines for scanning a relation. This relation can be Heap,
  * AppendOnly Row, or AppendOnly Columnar.
  *
- * Copyright (c) 2012 - present, EMC/Greenplum
  */
 #include "postgres.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/executor/nodeWindow.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/nodeWindow.c b/src/backend/executor/nodeWindow.c
index cd4fba8..3551410 100644
--- a/src/backend/executor/nodeWindow.c
+++ b/src/backend/executor/nodeWindow.c
@@ -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.
+ */
 /*-------------------------------------------------------------------------
  *
  * nodeWindowNew.c
  *	  Routines to handle window nodes.
  *
- *
- * Copyright (c) 2007-2012, Greenplum inc *
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/postmaster/identity.c
----------------------------------------------------------------------
diff --git a/src/backend/postmaster/identity.c b/src/backend/postmaster/identity.c
index 7d1bcf0..889c252 100644
--- a/src/backend/postmaster/identity.c
+++ b/src/backend/postmaster/identity.c
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 /*-------------------------------------------------------------------------
  *
  * identity.c
@@ -6,8 +24,6 @@
  *	  static one used to locate server(phasical segment). The other one is used
  *	  to run the work(query).
  *
- * Copyright (c) 2014-2014, Pivotal inc
- *
  *-------------------------------------------------------------------------
  */
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_AsyncComm.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_AsyncComm.c b/src/backend/resourcemanager/communication/rmcomm_AsyncComm.c
index f8bb555..039a1cb 100644
--- a/src/backend/resourcemanager/communication/rmcomm_AsyncComm.c
+++ b/src/backend/resourcemanager/communication/rmcomm_AsyncComm.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 "communication/rmcomm_AsyncComm.h"
 #include "communication/rmcomm_Connect.h"
 #include "utils/network_utils.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_Connect.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_Connect.c b/src/backend/resourcemanager/communication/rmcomm_Connect.c
index 1349d18..db1640e 100644
--- a/src/backend/resourcemanager/communication/rmcomm_Connect.c
+++ b/src/backend/resourcemanager/communication/rmcomm_Connect.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 "communication/rmcomm_Connect.h"
 #include "utils/network_utils.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_Message.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_Message.c b/src/backend/resourcemanager/communication/rmcomm_Message.c
index d1627ef..663a88d 100644
--- a/src/backend/resourcemanager/communication/rmcomm_Message.c
+++ b/src/backend/resourcemanager/communication/rmcomm_Message.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 "communication/rmcomm_Message.h"
 #include "communication/rmcomm_MessageHandler.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_MessageHandler.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_MessageHandler.c b/src/backend/resourcemanager/communication/rmcomm_MessageHandler.c
index 3163795..2dc6aa8 100644
--- a/src/backend/resourcemanager/communication/rmcomm_MessageHandler.c
+++ b/src/backend/resourcemanager/communication/rmcomm_MessageHandler.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 "communication/rmcomm_MessageHandler.h"
 #include "dynrm.h"
 #include "communication/rmcomm_MessageProtocol.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_MessageServer.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_MessageServer.c b/src/backend/resourcemanager/communication/rmcomm_MessageServer.c
index d511085..1f472fe 100644
--- a/src/backend/resourcemanager/communication/rmcomm_MessageServer.c
+++ b/src/backend/resourcemanager/communication/rmcomm_MessageServer.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 "communication/rmcomm_MessageServer.h"
 #include "communication/rmcomm_Message.h"
 #include "conntrack.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_QE2RMSEG.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_QE2RMSEG.c b/src/backend/resourcemanager/communication/rmcomm_QE2RMSEG.c
index 874b53d..ece493e 100644
--- a/src/backend/resourcemanager/communication/rmcomm_QE2RMSEG.c
+++ b/src/backend/resourcemanager/communication/rmcomm_QE2RMSEG.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 "resourcemanager/communication/rmcomm_QE2RMSEG.h"
 
 bool QE2RMSEG_Initialized = false;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c b/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
index d3b1d61..a1b242e 100644
--- a/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
+++ b/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.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 "communication/rmcomm_RM2RMSEG.h"
 #include "communication/rmcomm_Message.h"
 #include "communication/rmcomm_MessageHandler.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_RMSEG2RM.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_RMSEG2RM.c b/src/backend/resourcemanager/communication/rmcomm_RMSEG2RM.c
index 4adeb44..976c896 100644
--- a/src/backend/resourcemanager/communication/rmcomm_RMSEG2RM.c
+++ b/src/backend/resourcemanager/communication/rmcomm_RMSEG2RM.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 "communication/rmcomm_RMSEG2RM.h"
 #include "communication/rmcomm_Message.h"
 #include "communication/rmcomm_MessageHandler.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/communication/rmcomm_SyncComm.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_SyncComm.c b/src/backend/resourcemanager/communication/rmcomm_SyncComm.c
index 1d0645c..316bedd 100644
--- a/src/backend/resourcemanager/communication/rmcomm_SyncComm.c
+++ b/src/backend/resourcemanager/communication/rmcomm_SyncComm.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 "communication/rmcomm_SyncComm.h"
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/conntrack.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/conntrack.c b/src/backend/resourcemanager/conntrack.c
index 62dea4c..75756f4 100644
--- a/src/backend/resourcemanager/conntrack.c
+++ b/src/backend/resourcemanager/conntrack.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 "dynrm.h"
 #include "communication/rmcomm_MessageServer.h"
 #include "communication/rmcomm_MessageHandler.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/hawqsite.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/hawqsite.c b/src/backend/resourcemanager/hawqsite.c
index a125c4c..c9d79ef 100644
--- a/src/backend/resourcemanager/hawqsite.c
+++ b/src/backend/resourcemanager/hawqsite.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 "dynrm.h"
 #include "resourcemanager/resourcemanager.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_AsyncComm.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_AsyncComm.h b/src/backend/resourcemanager/include/communication/rmcomm_AsyncComm.h
index 0f8ae9f..21736bc 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_AsyncComm.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_AsyncComm.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_ASYNCCOMM_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_ASYNCCOMM_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_Connect.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_Connect.h b/src/backend/resourcemanager/include/communication/rmcomm_Connect.h
index 584906f..fe6d830 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_Connect.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_Connect.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_CONNECT_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_CONNECT_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_Message.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_Message.h b/src/backend/resourcemanager/include/communication/rmcomm_Message.h
index e6d1d0a..3d3b37a 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_Message.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_Message.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGE_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGE_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_MessageHandler.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_MessageHandler.h b/src/backend/resourcemanager/include/communication/rmcomm_MessageHandler.h
index 2529bc0..b95a4f7 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_MessageHandler.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_MessageHandler.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MSGHANDLER_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MSGHANDLER_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_MessageProtocol.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_MessageProtocol.h b/src/backend/resourcemanager/include/communication/rmcomm_MessageProtocol.h
index f44b11a..dc2fb6e 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_MessageProtocol.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_MessageProtocol.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGEPROTO_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGEPROTO_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_MessageServer.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_MessageServer.h b/src/backend/resourcemanager/include/communication/rmcomm_MessageServer.h
index ee0147f..2e09d19 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_MessageServer.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_MessageServer.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGESERVER_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_MESSAGESERVER_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_QD2RM.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_QD2RM.h b/src/backend/resourcemanager/include/communication/rmcomm_QD2RM.h
index bdb9400..493f340 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_QD2RM.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_QD2RM.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_QD2RM_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_QD2RM_H
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/src/backend/resourcemanager/include/communication/rmcomm_QD_RM_Protocol.h
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/include/communication/rmcomm_QD_RM_Protocol.h b/src/backend/resourcemanager/include/communication/rmcomm_QD_RM_Protocol.h
index a275d0e..db65527 100644
--- a/src/backend/resourcemanager/include/communication/rmcomm_QD_RM_Protocol.h
+++ b/src/backend/resourcemanager/include/communication/rmcomm_QD_RM_Protocol.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 RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_QD_RM_PROTOCOL_H
 #define RESOURCE_MAMANGER_INTER_PROCESS_COMMUNICATION_QD_RM_PROTOCOL_H
 



Mime
View raw message