hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [2/8] incubator-hawq git commit: HAWQ-184. Add license header to source files
Date Fri, 27 Nov 2015 07:43:01 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/regress/test_regress_gpssh.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/regress/test_regress_gpssh.py b/tools/bin/gppylib/test/regress/test_regress_gpssh.py
index 015a6de..d89b794 100755
--- a/tools/bin/gppylib/test/regress/test_regress_gpssh.py
+++ b/tools/bin/gppylib/test/regress/test_regress_gpssh.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os, signal, time, re
 import unittest2 as unittest

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/regress/test_regress_pygresql.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/regress/test_regress_pygresql.py b/tools/bin/gppylib/test/regress/test_regress_pygresql.py
index 5de7d77..e086265 100755
--- a/tools/bin/gppylib/test/regress/test_regress_pygresql.py
+++ b/tools/bin/gppylib/test/regress/test_regress_pygresql.py
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """ Unittesting for pygres module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/test_pg8000.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/test_pg8000.py b/tools/bin/gppylib/test/test_pg8000.py
index 8d8b166..2a83899 100644
--- a/tools/bin/gppylib/test/test_pg8000.py
+++ b/tools/bin/gppylib/test/test_pg8000.py
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """ Unittesting for pg8000 module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/__init__.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/__init__.py b/tools/bin/gppylib/test/unit/__init__.py
index 303655b..8a9ff7b 100644
--- a/tools/bin/gppylib/test/unit/__init__.py
+++ b/tools/bin/gppylib/test/unit/__init__.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # Make sure Python loads the modules of this package via absolute paths.
 from os.path import abspath as _abspath
 __path__[0] = _abspath(__path__[0])

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/test_unit_gparray.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/test_unit_gparray.py b/tools/bin/gppylib/test/unit/test_unit_gparray.py
index dd744b8..30c78ad 100755
--- a/tools/bin/gppylib/test/unit/test_unit_gparray.py
+++ b/tools/bin/gppylib/test/unit/test_unit_gparray.py
@@ -1,9 +1,23 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # -*- coding: utf-8 -*-
 # Line too long - pylint: disable=C0301
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved. 
-#
+
 
 """ Unittesting for gplog module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/test_unit_gphostcachelookup.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/test_unit_gphostcachelookup.py b/tools/bin/gppylib/test/unit/test_unit_gphostcachelookup.py
index 6b68fa9..7cafe74 100755
--- a/tools/bin/gppylib/test/unit/test_unit_gphostcachelookup.py
+++ b/tools/bin/gppylib/test/unit/test_unit_gphostcachelookup.py
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2012. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """ Unittesting for gphostcachelookup module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/test_unit_gplog.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/test_unit_gplog.py b/tools/bin/gppylib/test/unit/test_unit_gplog.py
index 0d19275..34abace 100755
--- a/tools/bin/gppylib/test/unit/test_unit_gplog.py
+++ b/tools/bin/gppylib/test/unit/test_unit_gplog.py
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 """ Unittesting for gplog module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/test_unit_gpversion.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/test_unit_gpversion.py b/tools/bin/gppylib/test/unit/test_unit_gpversion.py
index 34e9dcb..e4abc98 100755
--- a/tools/bin/gppylib/test/unit/test_unit_gpversion.py
+++ b/tools/bin/gppylib/test/unit/test_unit_gpversion.py
@@ -1,7 +1,21 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2010. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 """ 
 Unit testing for gpversion module
 """

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/test/unit/test_unit_userinput.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/test/unit/test_unit_userinput.py b/tools/bin/gppylib/test/unit/test_unit_userinput.py
index c24f6f1..f494332 100755
--- a/tools/bin/gppylib/test/unit/test_unit_userinput.py
+++ b/tools/bin/gppylib/test/unit/test_unit_userinput.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import sys, os, getpass
 import unittest2 as unittest

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/__init__.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/__init__.py b/tools/bin/gppylib/testold/__init__.py
index bb0e52c..3ac40b9 100644
--- a/tools/bin/gppylib/testold/__init__.py
+++ b/tools/bin/gppylib/testold/__init__.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # $Id: $
 
 # Make sure Python loads the modules of this package via absolute paths.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/programs/test_clsAddMirrors.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/programs/test_clsAddMirrors.py b/tools/bin/gppylib/testold/programs/test_clsAddMirrors.py
index 80b15a0..ef0213d 100755
--- a/tools/bin/gppylib/testold/programs/test_clsAddMirrors.py
+++ b/tools/bin/gppylib/testold/programs/test_clsAddMirrors.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 #
 from gppylib.testold.testDriver import TestDriver

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/programs/test_clsInjectFault.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/programs/test_clsInjectFault.py b/tools/bin/gppylib/testold/programs/test_clsInjectFault.py
index 70992e8..365fbe9 100755
--- a/tools/bin/gppylib/testold/programs/test_clsInjectFault.py
+++ b/tools/bin/gppylib/testold/programs/test_clsInjectFault.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 #
 from gppylib.testold.testDriver import TestDriver

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/programs/test_clsRecoverSegment.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/programs/test_clsRecoverSegment.py b/tools/bin/gppylib/testold/programs/test_clsRecoverSegment.py
index b8ea257..3e8f6d9 100755
--- a/tools/bin/gppylib/testold/programs/test_clsRecoverSegment.py
+++ b/tools/bin/gppylib/testold/programs/test_clsRecoverSegment.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 #
 from gppylib.testold.testDriver import TestDriver

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/programs/test_clsSystemState.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/programs/test_clsSystemState.py b/tools/bin/gppylib/testold/programs/test_clsSystemState.py
index f0e6576..e85c8ff 100755
--- a/tools/bin/gppylib/testold/programs/test_clsSystemState.py
+++ b/tools/bin/gppylib/testold/programs/test_clsSystemState.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 #
 from gppylib.testold.testDriver import TestDriver

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/testold/testUtils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/testold/testUtils.py b/tools/bin/gppylib/testold/testUtils.py
index 4eda9c9..5c2ad75 100644
--- a/tools/bin/gppylib/testold/testUtils.py
+++ b/tools/bin/gppylib/testold/testUtils.py
@@ -1,6 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 #
 # THIS IMPORT MUST COME FIRST
@@ -226,4 +240,4 @@ def testOutputGpArray(gpArray):
 
         lines.append(line)
 
-    testTableOutput(lines)
\ No newline at end of file
+    testTableOutput(lines)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/userinput.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/userinput.py b/tools/bin/gppylib/userinput.py
index f3441da..3f4e193 100644
--- a/tools/bin/gppylib/userinput.py
+++ b/tools/bin/gppylib/userinput.py
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved. 
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import getpass
 from  gppylib import gplog

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/__init__.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/__init__.py b/tools/bin/gppylib/util/__init__.py
index f892ef8..08f419e 100644
--- a/tools/bin/gppylib/util/__init__.py
+++ b/tools/bin/gppylib/util/__init__.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # Make sure Python loads the modules of this package via absolute paths.
 from os.path import abspath as _abspath
-__path__[0] = _abspath(__path__[0])
\ No newline at end of file
+__path__[0] = _abspath(__path__[0])

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/gp_utils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/gp_utils.py b/tools/bin/gppylib/util/gp_utils.py
index 90ec483..803a569 100644
--- a/tools/bin/gppylib/util/gp_utils.py
+++ b/tools/bin/gppylib/util/gp_utils.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 #
 # Greenplum DB related utility functions
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/san_utils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/san_utils.py b/tools/bin/gppylib/util/san_utils.py
index 6bb9f93..6eac43e 100644
--- a/tools/bin/gppylib/util/san_utils.py
+++ b/tools/bin/gppylib/util/san_utils.py
@@ -1,7 +1,21 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Greenplum SAN related utility functions
 
 import os

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/ssh_utils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/ssh_utils.py b/tools/bin/gppylib/util/ssh_utils.py
index 0c3b840..3194e11 100644
--- a/tools/bin/gppylib/util/ssh_utils.py
+++ b/tools/bin/gppylib/util/ssh_utils.py
@@ -1,6 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 # This file contains ssh Session class and support functions/classes.
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/test/__init__.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/test/__init__.py b/tools/bin/gppylib/util/test/__init__.py
index 139597f..57823fc 100644
--- a/tools/bin/gppylib/util/test/__init__.py
+++ b/tools/bin/gppylib/util/test/__init__.py
@@ -1,2 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/util/test/unit/test_unit_ssh_utils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/util/test/unit/test_unit_ssh_utils.py b/tools/bin/gppylib/util/test/unit/test_unit_ssh_utils.py
index 0342581..6a64dc8 100755
--- a/tools/bin/gppylib/util/test/unit/test_unit_ssh_utils.py
+++ b/tools/bin/gppylib/util/test/unit/test_unit_ssh_utils.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import sys, os, pwd
 import unittest2 as unittest

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gppylib/utils.py
----------------------------------------------------------------------
diff --git a/tools/bin/gppylib/utils.py b/tools/bin/gppylib/utils.py
index 9a25d33..7113332 100644
--- a/tools/bin/gppylib/utils.py
+++ b/tools/bin/gppylib/utils.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 import shutil, filecmp,re
 import os, fcntl, select, getpass, socket
 import stat

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gpscp
----------------------------------------------------------------------
diff --git a/tools/bin/gpscp b/tools/bin/gpscp
index 4685524..d00f15d 100755
--- a/tools/bin/gpscp
+++ b/tools/bin/gpscp
@@ -1,4 +1,20 @@
 #!/usr/bin/env python 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 '''
 gpscp -- scp to multiple hosts at once

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gpsd
----------------------------------------------------------------------
diff --git a/tools/bin/gpsd b/tools/bin/gpsd
index 370f4c5..18c1035 100755
--- a/tools/bin/gpsd
+++ b/tools/bin/gpsd
@@ -1,8 +1,21 @@
 #!/usr/bin/env perl
-#
-# Copyright (C) 2007 - 2011  Greenplum Inc.
-# Florian Waas (flw@greenplum.com)
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 use Getopt::Long;
 use Pod::Usage;
 use strict;

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gpssh
----------------------------------------------------------------------
diff --git a/tools/bin/gpssh b/tools/bin/gpssh
index 2d45580..aa2c4b4 100755
--- a/tools/bin/gpssh
+++ b/tools/bin/gpssh
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 '''
 gpssh -- ssh access to multiple hosts at once

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gpssh-exkeys
----------------------------------------------------------------------
diff --git a/tools/bin/gpssh-exkeys b/tools/bin/gpssh-exkeys
index abbe718..c02c980 100755
--- a/tools/bin/gpssh-exkeys
+++ b/tools/bin/gpssh-exkeys
@@ -1,4 +1,20 @@
 #!/usr/bin/env python 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # -*- indent-tabs-mode: nil; tab-width:4 -*-
 # vim:set tabstop=4 expandtab:
 '''

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/gpsys1
----------------------------------------------------------------------
diff --git a/tools/bin/gpsys1 b/tools/bin/gpsys1
index 03cab73..991f60e 100755
--- a/tools/bin/gpsys1
+++ b/tools/bin/gpsys1
@@ -1,4 +1,21 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 """
 gpsys1 -- print system info on a host
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawq
----------------------------------------------------------------------
diff --git a/tools/bin/hawq b/tools/bin/hawq
index f9ca034..2931fb9 100755
--- a/tools/bin/hawq
+++ b/tools/bin/hawq
@@ -1,7 +1,21 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Pivotal Inc 2015. All Rights Reserved.
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 import os
 import sys
 import subprocess

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawq_ctl
----------------------------------------------------------------------
diff --git a/tools/bin/hawq_ctl b/tools/bin/hawq_ctl
index d36dfa0..993dc57 100755
--- a/tools/bin/hawq_ctl
+++ b/tools/bin/hawq_ctl
@@ -1,7 +1,20 @@
 #!/usr/bin/env python
-#
-# Copyright (c) Pivotal Inc 2015. All Rights Reserved.
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os
 import sys

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqconfig
----------------------------------------------------------------------
diff --git a/tools/bin/hawqconfig b/tools/bin/hawqconfig
index 26e56ff..f425972 100755
--- a/tools/bin/hawqconfig
+++ b/tools/bin/hawqconfig
@@ -1,5 +1,20 @@
 #!/usr/bin/env python
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os, sys, re
 from optparse import Option, OptionParser

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqextract
----------------------------------------------------------------------
diff --git a/tools/bin/hawqextract b/tools/bin/hawqextract
index 2379b84..9a2e182 100755
--- a/tools/bin/hawqextract
+++ b/tools/bin/hawqextract
@@ -1,5 +1,22 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 '''
 gpextract [options] tablename
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqfilespace
----------------------------------------------------------------------
diff --git a/tools/bin/hawqfilespace b/tools/bin/hawqfilespace
index d3a4251..eba7c5b 100755
--- a/tools/bin/hawqfilespace
+++ b/tools/bin/hawqfilespace
@@ -1,5 +1,22 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 '''
   hawqfilespace [options]
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqpylib/HAWQ_HELP.py
----------------------------------------------------------------------
diff --git a/tools/bin/hawqpylib/HAWQ_HELP.py b/tools/bin/hawqpylib/HAWQ_HELP.py
index a6c8d30..357e869 100755
--- a/tools/bin/hawqpylib/HAWQ_HELP.py
+++ b/tools/bin/hawqpylib/HAWQ_HELP.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 COMMON_HELP = """ 
 usage: hawq <command> [<object>] [options]

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqpylib/hawqlib.py
----------------------------------------------------------------------
diff --git a/tools/bin/hawqpylib/hawqlib.py b/tools/bin/hawqpylib/hawqlib.py
index bf9168c..23fb381 100755
--- a/tools/bin/hawqpylib/hawqlib.py
+++ b/tools/bin/hawqpylib/hawqlib.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os, sys
 import subprocess

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/hawqstate
----------------------------------------------------------------------
diff --git a/tools/bin/hawqstate b/tools/bin/hawqstate
index 5b2e4d8..a445196 100755
--- a/tools/bin/hawqstate
+++ b/tools/bin/hawqstate
@@ -1,5 +1,20 @@
 #!/usr/bin/env python
-#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os
 import sys

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/__init__.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/__init__.py b/tools/bin/lib/__init__.py
index 50d26ca..0af028a 100755
--- a/tools/bin/lib/__init__.py
+++ b/tools/bin/lib/__init__.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # $Id$
 
 # Make sure Python loads the modules of this package via absolute paths.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gp_bash_functions.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gp_bash_functions.sh b/tools/bin/lib/gp_bash_functions.sh
index 6376108..4c000bf 100755
--- a/tools/bin/lib/gp_bash_functions.sh
+++ b/tools/bin/lib/gp_bash_functions.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# 
 #	Filename:-		gp_bash_functions.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$
@@ -7,8 +24,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		March 2006
 #	Release stat:-		Greenplum Internal
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) Greenplum 2005. All Rights Reserved
 #	Brief descn:-		Common functions used by various scripts
 #******************************************************************************
 # Update History

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpcheckcat
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpcheckcat b/tools/bin/lib/gpcheckcat
index 5c602d1..a7c2f16 100755
--- a/tools/bin/lib/gpcheckcat
+++ b/tools/bin/lib/gpcheckcat
@@ -1,4 +1,21 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 '''
 Usage: gpcheckcat [<option>] [dbname]
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpcheckdb.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpcheckdb.py b/tools/bin/lib/gpcheckdb.py
index 52cf8b9..bc19cb0 100644
--- a/tools/bin/lib/gpcheckdb.py
+++ b/tools/bin/lib/gpcheckdb.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 '''
 gpcheckdb - checks db for required upkeep actions

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpconfigurenewsegment
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpconfigurenewsegment b/tools/bin/lib/gpconfigurenewsegment
index 5e630d0..b6612c7 100755
--- a/tools/bin/lib/gpconfigurenewsegment
+++ b/tools/bin/lib/gpconfigurenewsegment
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import sys
 import os

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpdircheck
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpdircheck b/tools/bin/lib/gpdircheck
index e5cd2bf..d95aa55 100755
--- a/tools/bin/lib/gpdircheck
+++ b/tools/bin/lib/gpdircheck
@@ -1,4 +1,21 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # -*- mode:sh -*-
 # 
 # Usage:

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpenv.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpenv.sh b/tools/bin/lib/gpenv.sh
index bd31e25..7a17cb1 100755
--- a/tools/bin/lib/gpenv.sh
+++ b/tools/bin/lib/gpenv.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 # gpmigrator requires calling itself on individual hosts, but it is a python script
 # so it needs certain environment variables to be setup before it can successfully

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpgetconfig.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpgetconfig.py b/tools/bin/lib/gpgetconfig.py
index a92a0a5..b54f99e 100644
--- a/tools/bin/lib/gpgetconfig.py
+++ b/tools/bin/lib/gpgetconfig.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 '''
 gpgetconfig -- obtain gp_configuration

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gphostcachelookup.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gphostcachelookup.py b/tools/bin/lib/gphostcachelookup.py
index acb4b5c..7a66088 100755
--- a/tools/bin/lib/gphostcachelookup.py
+++ b/tools/bin/lib/gphostcachelookup.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 '''
 gphostcachelookup.py -- look up the hostname for a list of interfaces
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gplogextract.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gplogextract.py b/tools/bin/lib/gplogextract.py
index 7973828..52fee4c 100755
--- a/tools/bin/lib/gplogextract.py
+++ b/tools/bin/lib/gplogextract.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # -*- coding: utf-8 -*-
 '''
   gplogextract.py [options] file ...

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gppinggpfdist.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gppinggpfdist.py b/tools/bin/lib/gppinggpfdist.py
index 419fdaa..371d6e7 100644
--- a/tools/bin/lib/gppinggpfdist.py
+++ b/tools/bin/lib/gppinggpfdist.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import sys, httplib, getopt, socket
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsegcron.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsegcron.sh b/tools/bin/lib/gpsegcron.sh
index 9f76142..743a740 100755
--- a/tools/bin/lib/gpsegcron.sh
+++ b/tools/bin/lib/gpsegcron.sh
@@ -1,4 +1,21 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 #	Filename:-		gpsegcron.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$	
@@ -7,8 +24,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		Dec 2006
 #	Release stat:-		Released
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) 2007 Greenplum Inc
 #******************************************************************************
 # Update History
 #******************************************************************************

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsegdbrestore.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsegdbrestore.sh b/tools/bin/lib/gpsegdbrestore.sh
index eac424c..45683b3 100755
--- a/tools/bin/lib/gpsegdbrestore.sh
+++ b/tools/bin/lib/gpsegdbrestore.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #	Filename:-		gpsegcron.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$	
@@ -7,8 +23,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		Nov 2007
 #	Release stat:-		Released
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) 2007 Greenplum Inc
 #******************************************************************************
 # Update History
 #******************************************************************************

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsegdelete.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsegdelete.sh b/tools/bin/lib/gpsegdelete.sh
index d8f4a3f..4d9ff7a 100755
--- a/tools/bin/lib/gpsegdelete.sh
+++ b/tools/bin/lib/gpsegdelete.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #	Filename:-		gpsegdelete.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$	
@@ -7,8 +23,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		Dec 2006
 #	Release stat:-		Released
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) 2007 Greenplum Inc
 #******************************************************************************
 # Update History
 #******************************************************************************

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsegsize.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsegsize.sh b/tools/bin/lib/gpsegsize.sh
index 52386c3..cbc0662 100755
--- a/tools/bin/lib/gpsegsize.sh
+++ b/tools/bin/lib/gpsegsize.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #	Filename:-		gpsegsize.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$
@@ -7,8 +23,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		Dec 2006
 #	Release stat:-		Released
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) 2007 Greenplum Inc
 #******************************************************************************
 # Update History
 #******************************************************************************

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsegstate.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsegstate.sh b/tools/bin/lib/gpsegstate.sh
index eb793bc..e9dee36 100755
--- a/tools/bin/lib/gpsegstate.sh
+++ b/tools/bin/lib/gpsegstate.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #	Filename:-		gpsegstate.sh
 #	Version:-		$Revision$
 #	Updated:-		$Date$	
@@ -7,8 +23,6 @@
 #	Contact:-		gcoombe@greenplum.com
 #	Release date:-		Dec 2006
 #	Release stat:-		Released
-#                               Copyright (c) Metapa 2005. All Rights Reserved.
-#                               Copyright (c) 2007 Greenplum Inc
 #******************************************************************************
 # Update History
 #******************************************************************************

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsnap.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsnap.py b/tools/bin/lib/gpsnap.py
index 83a984f..fa0e746 100644
--- a/tools/bin/lib/gpsnap.py
+++ b/tools/bin/lib/gpsnap.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 '''
 gpsnap -- snapshot a gpdb array

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpstate.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpstate.py b/tools/bin/lib/gpstate.py
index 33d19e8..e26d0d5 100755
--- a/tools/bin/lib/gpstate.py
+++ b/tools/bin/lib/gpstate.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 #
 # Recovers Greenplum segment instances that are marked as invalid, if
 # mirroring is configured and operational

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/gpsys.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/gpsys.py b/tools/bin/lib/gpsys.py
index 9f0bf3c..5e5cca4 100755
--- a/tools/bin/lib/gpsys.py
+++ b/tools/bin/lib/gpsys.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 '''
 gpsys.py -- print system properties
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/hawq_bash_functions.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/hawq_bash_functions.sh b/tools/bin/lib/hawq_bash_functions.sh
index f547c30..2a4f51e 100755
--- a/tools/bin/lib/hawq_bash_functions.sh
+++ b/tools/bin/lib/hawq_bash_functions.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 #Check that SHELL is /bin/bash
 if [ $SHELL != /bin/bash ] && [ `ls -al /bin/sh|grep -c bash` -ne 1 ];then

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/hawqinit.sh
----------------------------------------------------------------------
diff --git a/tools/bin/lib/hawqinit.sh b/tools/bin/lib/hawqinit.sh
index 312f3c1..61d6766 100755
--- a/tools/bin/lib/hawqinit.sh
+++ b/tools/bin/lib/hawqinit.sh
@@ -1,4 +1,20 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 object_type=$1
 GPHOME=$2

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/multidd
----------------------------------------------------------------------
diff --git a/tools/bin/lib/multidd b/tools/bin/lib/multidd
index 17c7c54..e9c0340 100755
--- a/tools/bin/lib/multidd
+++ b/tools/bin/lib/multidd
@@ -1,4 +1,21 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 '''
 multidd - run multiple dd concurrently to determine disk throughput
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/pxssh.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/pxssh.py b/tools/bin/lib/pxssh.py
index a0ef01f..4296c0c 100755
--- a/tools/bin/lib/pxssh.py
+++ b/tools/bin/lib/pxssh.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 from pexpect import *
 #import os, sys, getopt, shutil
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/pysync.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/pysync.py b/tools/bin/lib/pysync.py
index 74f385d..80aa1c8 100755
--- a/tools/bin/lib/pysync.py
+++ b/tools/bin/lib/pysync.py
@@ -1,4 +1,20 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 import os,sys
 if sys.hexversion<0x2040400:

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/lib/pysync_remote.py
----------------------------------------------------------------------
diff --git a/tools/bin/lib/pysync_remote.py b/tools/bin/lib/pysync_remote.py
index 4955bc9..7668401 100644
--- a/tools/bin/lib/pysync_remote.py
+++ b/tools/bin/lib/pysync_remote.py
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 '''
 The pysync_remote module is a companion to the pysync module containing the
 components required for the remote end of a synchronization pair.

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/run_operator_tests.pl
----------------------------------------------------------------------
diff --git a/tools/bin/run_operator_tests.pl b/tools/bin/run_operator_tests.pl
index 2eb8f86..5a457d1 100755
--- a/tools/bin/run_operator_tests.pl
+++ b/tools/bin/run_operator_tests.pl
@@ -1,4 +1,20 @@
 #!/usr/bin/env perl
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 ####################################################
 #Author  : Bharath

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/src/gpfdist.py
----------------------------------------------------------------------
diff --git a/tools/bin/src/gpfdist.py b/tools/bin/src/gpfdist.py
index db6db15..f8b4cac 100755
--- a/tools/bin/src/gpfdist.py
+++ b/tools/bin/src/gpfdist.py
@@ -1,4 +1,21 @@
 #!/usr/bin/env python
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 '''
 gpfdist -- file distribution web server 
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/src/stream/mysecond.c
----------------------------------------------------------------------
diff --git a/tools/bin/src/stream/mysecond.c b/tools/bin/src/stream/mysecond.c
index 47508b8..604436e 100644
--- a/tools/bin/src/stream/mysecond.c
+++ b/tools/bin/src/stream/mysecond.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.
+ */
+
 /* A gettimeofday routine to give access to the wall
    clock timer on most UNIX-like systems.
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f28a25b6/tools/bin/src/stream/stream.c
----------------------------------------------------------------------
diff --git a/tools/bin/src/stream/stream.c b/tools/bin/src/stream/stream.c
index 2bc0dac..9285b9a 100644
--- a/tools/bin/src/stream/stream.c
+++ b/tools/bin/src/stream/stream.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.
+ */
+
 /*-----------------------------------------------------------------------*/
 /* Program: Stream                                                       */
 /* Original code developed by John D. McCalpin                           */



Mime
View raw message