You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wl...@apache.org on 2015/11/12 04:35:49 UTC

[14/14] incubator-hawq git commit: HAWQ-57. Add license header to source files and add the NOTICE file

HAWQ-57. Add license header to source files and add the NOTICE file


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

Branch: refs/heads/master
Commit: a41ad6f2c1aa3b4f016bef05e4f52e964eb67693
Parents: d2862ff
Author: Wen Lin <wl...@pivotal.io>
Authored: Thu Nov 12 11:35:35 2015 +0800
Committer: Wen Lin <wl...@pivotal.io>
Committed: Thu Nov 12 11:35:35 2015 +0800

----------------------------------------------------------------------
 NOTICE                                          | 361 +++++++++
 depends/libyarn/mock/MockApplicationClient.h    |  19 +
 .../mock/MockApplicationClientProtocol.h        |  19 +
 depends/libyarn/mock/MockApplicationMaster.h    |  19 +
 .../mock/MockApplicationMasterProtocol.h        |  19 +
 depends/libyarn/mock/MockContainerManagement.h  |  19 +
 .../mock/MockContainerManagementProtocol.h      |  19 +
 depends/libyarn/mock/MockLibYarnClient.h        |  19 +
 .../libyarn/mock/TestContainerManagementStub.h  |  19 +
 depends/libyarn/mock/TestLibYarnClientStub.h    |  19 +
 depends/libyarn/releng/bin/cleanup-phd.sh       |  16 +
 depends/libyarn/releng/bin/gphdinst.sh          |  16 +
 depends/libyarn/releng/bin/ha_failover.sh       |  16 +
 depends/libyarn/releng/bin/install-phd.sh       |  16 +
 depends/libyarn/releng/bin/setup_gphdinst.sh    |  16 +
 .../releng/bin/templates/log4j-ha.properties    |  17 +
 depends/libyarn/releng/etc/ivy.xml              |  20 +
 .../libyarn/releng/make/dependencies/build.xml  |  20 +
 depends/libyarn/releng/make/dependencies/ivy.sh |  16 +
 .../libyarn/releng/make/dependencies/ivy.xml    |  20 +
 .../releng/make/dependencies/ivy_util.sh        |  16 +
 .../releng/make/dependencies/ivysettings.xml    |  20 +
 depends/libyarn/releng/publish/ivy.xml          |  20 +
 depends/libyarn/releng/publish/ivysettings.xml  |  20 +
 depends/libyarn/releng/set_bld_arch.sh          |  16 +
 depends/libyarn/src/common/Atomic.h             |  25 +-
 depends/libyarn/src/common/BigEndian.h          |  25 +-
 depends/libyarn/src/common/Checksum.h           |  25 +-
 depends/libyarn/src/common/DateTime.h           |  25 +-
 depends/libyarn/src/common/Exception.cpp        |  26 +-
 depends/libyarn/src/common/Exception.h          |  25 +-
 .../libyarn/src/common/ExceptionInternal.cpp    |  25 +-
 depends/libyarn/src/common/ExceptionInternal.h  |  25 +-
 depends/libyarn/src/common/Function.h           |  25 +-
 depends/libyarn/src/common/HWCrc32c.cpp         |  25 +-
 depends/libyarn/src/common/HWCrc32c.h           |  25 +-
 depends/libyarn/src/common/Hash.cpp             |  25 +-
 depends/libyarn/src/common/Hash.h               |  25 +-
 depends/libyarn/src/common/Logger.cpp           |  25 +-
 depends/libyarn/src/common/Logger.h             |  25 +-
 depends/libyarn/src/common/LruMap.h             |  25 +-
 depends/libyarn/src/common/Memory.h             |  25 +-
 depends/libyarn/src/common/SWCrc32c.cpp         |  25 +-
 depends/libyarn/src/common/SWCrc32c.h           |  25 +-
 depends/libyarn/src/common/SessionConfig.cpp    |  25 +-
 depends/libyarn/src/common/SessionConfig.h      |  25 +-
 depends/libyarn/src/common/StackPrinter.cpp     |  25 +-
 depends/libyarn/src/common/StackPrinter.h       |  25 +-
 depends/libyarn/src/common/StringUtil.h         |  25 +-
 depends/libyarn/src/common/Thread.cpp           |  24 +-
 depends/libyarn/src/common/Thread.h             |  25 +-
 depends/libyarn/src/common/Unordered.h          |  25 +-
 depends/libyarn/src/common/WritableUtils.cpp    |  25 +-
 depends/libyarn/src/common/WritableUtils.h      |  25 +-
 depends/libyarn/src/common/WriteBuffer.cpp      |  25 +-
 depends/libyarn/src/common/WriteBuffer.h        |  25 +-
 depends/libyarn/src/common/XmlConfig.cpp        |  25 +-
 depends/libyarn/src/common/XmlConfig.h          |  25 +-
 .../src/libyarnclient/ApplicationClient.cpp     |  19 +
 .../src/libyarnclient/ApplicationClient.h       |  19 +
 .../src/libyarnclient/ApplicationMaster.cpp     |  19 +
 .../src/libyarnclient/ApplicationMaster.h       |  20 +-
 .../src/libyarnclient/ContainerManagement.cpp   |  20 +-
 .../src/libyarnclient/ContainerManagement.h     |  20 +-
 .../libyarn/src/libyarnclient/LibYarnClient.cpp |  19 +
 .../libyarn/src/libyarnclient/LibYarnClient.h   |  19 +
 .../src/libyarnclient/LibYarnClientC.cpp        |  19 +
 .../libyarn/src/libyarnclient/LibYarnClientC.h  |  19 +
 .../src/libyarnclient/LibYarnConstants.h        |  19 +
 .../libyarn/src/libyarncommon/KerberosName.cpp  |  25 +-
 .../libyarn/src/libyarncommon/KerberosName.h    |  25 +-
 depends/libyarn/src/libyarncommon/RpcHelper.h   |  25 +-
 depends/libyarn/src/libyarncommon/Token.cpp     |  25 +-
 depends/libyarn/src/libyarncommon/Token.h       |  25 +-
 .../libyarn/src/libyarncommon/TokenInternal.h   |  25 +-
 depends/libyarn/src/libyarncommon/UserInfo.cpp  |  25 +-
 depends/libyarn/src/libyarncommon/UserInfo.h    |  25 +-
 .../libyarnserver/ApplicationClientProtocol.cpp |  19 +
 .../libyarnserver/ApplicationClientProtocol.h   |  19 +
 .../libyarnserver/ApplicationMasterProtocol.cpp |  20 +-
 .../libyarnserver/ApplicationMasterProtocol.h   |  20 +-
 .../ContainerManagementProtocol.cpp             |  21 +-
 .../libyarnserver/ContainerManagementProtocol.h |  20 +-
 .../src/network/BufferedSocketReader.cpp        |  25 +-
 .../libyarn/src/network/BufferedSocketReader.h  |  25 +-
 depends/libyarn/src/network/Socket.h            |  25 +-
 depends/libyarn/src/network/Syscall.h           |  25 +-
 depends/libyarn/src/network/TcpSocket.cpp       |  25 +-
 depends/libyarn/src/network/TcpSocket.h         |  25 +-
 .../src/protocolrecords/AllocateRequest.cpp     |  21 +-
 .../src/protocolrecords/AllocateRequest.h       |  20 +-
 .../src/protocolrecords/AllocateResponse.cpp    |  20 +-
 .../src/protocolrecords/AllocateResponse.h      |  20 +-
 .../FinishApplicationMasterRequest.cpp          |  20 +-
 .../FinishApplicationMasterRequest.h            |  20 +-
 .../FinishApplicationMasterResponse.cpp         |  20 +-
 .../FinishApplicationMasterResponse.h           |  20 +-
 .../GetApplicationReportRequest.cpp             |  20 +-
 .../GetApplicationReportRequest.h               |  20 +-
 .../GetApplicationReportResponse.cpp            |  20 +-
 .../GetApplicationReportResponse.h              |  21 +-
 .../protocolrecords/GetApplicationsRequest.cpp  |  20 +-
 .../protocolrecords/GetApplicationsRequest.h    |  21 +-
 .../protocolrecords/GetApplicationsResponse.cpp |  20 +-
 .../protocolrecords/GetApplicationsResponse.h   |  21 +-
 .../GetClusterMetricsRequest.cpp                |  21 +-
 .../protocolrecords/GetClusterMetricsRequest.h  |  20 +-
 .../GetClusterMetricsResponse.cpp               |  20 +-
 .../protocolrecords/GetClusterMetricsResponse.h |  20 +-
 .../protocolrecords/GetClusterNodesRequest.cpp  |  20 +-
 .../protocolrecords/GetClusterNodesRequest.h    |  20 +-
 .../protocolrecords/GetClusterNodesResponse.cpp |  20 +-
 .../protocolrecords/GetClusterNodesResponse.h   |  21 +-
 .../GetContainerStatusesRequest.cpp             |  20 +-
 .../GetContainerStatusesRequest.h               |  20 +-
 .../GetContainerStatusesResponse.cpp            |  20 +-
 .../GetContainerStatusesResponse.h              |  20 +-
 .../protocolrecords/GetContainersRequest.cpp    |  20 +-
 .../src/protocolrecords/GetContainersRequest.h  |  20 +-
 .../protocolrecords/GetContainersResponse.cpp   |  21 +-
 .../src/protocolrecords/GetContainersResponse.h |  20 +-
 .../GetNewApplicationRequest.cpp                |  20 +-
 .../protocolrecords/GetNewApplicationRequest.h  |  20 +-
 .../GetNewApplicationResponse.cpp               |  20 +-
 .../protocolrecords/GetNewApplicationResponse.h |  20 +-
 .../src/protocolrecords/GetQueueInfoRequest.cpp |  20 +-
 .../src/protocolrecords/GetQueueInfoRequest.h   |  20 +-
 .../protocolrecords/GetQueueInfoResponse.cpp    |  19 +
 .../src/protocolrecords/GetQueueInfoResponse.h  |  21 +-
 .../GetQueueUserAclsInfoRequest.cpp             |  20 +-
 .../GetQueueUserAclsInfoRequest.h               |  20 +-
 .../GetQueueUserAclsInfoResponse.cpp            |  20 +-
 .../GetQueueUserAclsInfoResponse.h              |  21 +-
 .../protocolrecords/KillApplicationRequest.cpp  |  20 +-
 .../protocolrecords/KillApplicationRequest.h    |  20 +-
 .../protocolrecords/KillApplicationResponse.cpp |  20 +-
 .../protocolrecords/KillApplicationResponse.h   |  20 +-
 .../RegisterApplicationMasterRequest.cpp        |  21 +-
 .../RegisterApplicationMasterRequest.h          |  20 +-
 .../RegisterApplicationMasterResponse.cpp       |  20 +-
 .../RegisterApplicationMasterResponse.h         |  20 +-
 .../protocolrecords/StartContainerRequest.cpp   |  20 +-
 .../src/protocolrecords/StartContainerRequest.h |  20 +-
 .../protocolrecords/StartContainerResponse.cpp  |  20 +-
 .../protocolrecords/StartContainerResponse.h    |  20 +-
 .../protocolrecords/StartContainersRequest.cpp  |  20 +-
 .../protocolrecords/StartContainersRequest.h    |  20 +-
 .../protocolrecords/StartContainersResponse.cpp |  20 +-
 .../protocolrecords/StartContainersResponse.h   |  21 +-
 .../protocolrecords/StopContainersRequest.cpp   |  20 +-
 .../src/protocolrecords/StopContainersRequest.h |  20 +-
 .../protocolrecords/StopContainersResponse.cpp  |  20 +-
 .../protocolrecords/StopContainersResponse.h    |  20 +-
 .../SubmitApplicationRequest.cpp                |  21 +-
 .../protocolrecords/SubmitApplicationRequest.h  |  20 +-
 .../SubmitApplicationResponse.cpp               |  21 +-
 .../protocolrecords/SubmitApplicationResponse.h |  20 +-
 depends/libyarn/src/records/AMCommand.h         |  20 +-
 .../libyarn/src/records/ApplicationACLMap.cpp   |  20 +-
 depends/libyarn/src/records/ApplicationACLMap.h |  20 +-
 .../libyarn/src/records/ApplicationAccessType.h |  20 +-
 .../src/records/ApplicationAttemptId.cpp        |  21 +-
 .../libyarn/src/records/ApplicationAttemptId.h  |  21 +-
 depends/libyarn/src/records/ApplicationID.cpp   |  19 +
 depends/libyarn/src/records/ApplicationID.h     |  21 +-
 .../libyarn/src/records/ApplicationReport.cpp   |  21 +-
 depends/libyarn/src/records/ApplicationReport.h |  20 +-
 .../records/ApplicationResourceUsageReport.cpp  |  20 +-
 .../records/ApplicationResourceUsageReport.h    |  20 +-
 .../records/ApplicationSubmissionContext.cpp    |  20 +-
 .../src/records/ApplicationSubmissionContext.h  |  20 +-
 depends/libyarn/src/records/Container.cpp       |  21 +-
 depends/libyarn/src/records/Container.h         |  21 +-
 .../src/records/ContainerExceptionMap.cpp       |  20 +-
 .../libyarn/src/records/ContainerExceptionMap.h |  20 +-
 .../libyarn/src/records/ContainerExitStatus.h   |  20 +-
 depends/libyarn/src/records/ContainerId.cpp     |  21 +-
 depends/libyarn/src/records/ContainerId.h       |  21 +-
 .../src/records/ContainerLaunchContext.cpp      |  20 +-
 .../src/records/ContainerLaunchContext.h        |  20 +-
 depends/libyarn/src/records/ContainerReport.cpp |  20 +-
 depends/libyarn/src/records/ContainerReport.h   |  20 +-
 depends/libyarn/src/records/ContainerState.h    |  19 +
 depends/libyarn/src/records/ContainerStatus.cpp |  20 +-
 depends/libyarn/src/records/ContainerStatus.h   |  20 +-
 .../src/records/FinalApplicationStatus.h        |  20 +-
 depends/libyarn/src/records/FunctionResult.h    |  19 +
 depends/libyarn/src/records/LocalResource.cpp   |  20 +-
 depends/libyarn/src/records/LocalResource.h     |  20 +-
 depends/libyarn/src/records/LocalResourceType.h |  21 +-
 .../src/records/LocalResourceVisibility.h       |  20 +-
 depends/libyarn/src/records/NMToken.cpp         |  20 +-
 depends/libyarn/src/records/NMToken.h           |  21 +-
 depends/libyarn/src/records/NodeId.cpp          |  21 +-
 depends/libyarn/src/records/NodeId.h            |  21 +-
 depends/libyarn/src/records/NodeReport.cpp      |  20 +-
 depends/libyarn/src/records/NodeReport.h        |  19 +
 depends/libyarn/src/records/NodeState.h         |  20 +-
 .../libyarn/src/records/PreemptionContainer.cpp |  20 +-
 .../libyarn/src/records/PreemptionContainer.h   |  20 +-
 .../libyarn/src/records/PreemptionContract.cpp  |  20 +-
 .../libyarn/src/records/PreemptionContract.h    |  20 +-
 .../libyarn/src/records/PreemptionMessage.cpp   |  20 +-
 depends/libyarn/src/records/PreemptionMessage.h |  20 +-
 .../src/records/PreemptionResourceRequest.cpp   |  20 +-
 .../src/records/PreemptionResourceRequest.h     |  20 +-
 depends/libyarn/src/records/Priority.cpp        |  21 +-
 depends/libyarn/src/records/Priority.h          |  21 +-
 depends/libyarn/src/records/QueueACL.h          |  20 +-
 depends/libyarn/src/records/QueueInfo.cpp       |  20 +-
 depends/libyarn/src/records/QueueInfo.h         |  20 +-
 depends/libyarn/src/records/QueueState.h        |  21 +-
 .../libyarn/src/records/QueueUserACLInfo.cpp    |  20 +-
 depends/libyarn/src/records/QueueUserACLInfo.h  |  20 +-
 depends/libyarn/src/records/Resource.cpp        |  20 +-
 depends/libyarn/src/records/Resource.h          |  20 +-
 .../src/records/ResourceBlacklistRequest.cpp    |  21 +-
 .../src/records/ResourceBlacklistRequest.h      |  21 +-
 depends/libyarn/src/records/ResourceRequest.cpp |  21 +-
 depends/libyarn/src/records/ResourceRequest.h   |  21 +-
 .../libyarn/src/records/SerializedException.cpp |  20 +-
 .../libyarn/src/records/SerializedException.h   |  20 +-
 .../src/records/StrictPreemptionContract.cpp    |  21 +-
 .../src/records/StrictPreemptionContract.h      |  20 +-
 depends/libyarn/src/records/StringBytesMap.cpp  |  21 +-
 depends/libyarn/src/records/StringBytesMap.h    |  20 +-
 .../src/records/StringLocalResourceMap.cpp      |  21 +-
 .../src/records/StringLocalResourceMap.h        |  20 +-
 depends/libyarn/src/records/StringStringMap.cpp |  20 +-
 depends/libyarn/src/records/StringStringMap.h   |  20 +-
 depends/libyarn/src/records/Token.cpp           |  21 +-
 depends/libyarn/src/records/Token.h             |  21 +-
 depends/libyarn/src/records/URL.cpp             |  20 +-
 depends/libyarn/src/records/URL.h               |  20 +-
 .../libyarn/src/records/YarnApplicationState.h  |  20 +-
 .../libyarn/src/records/YarnClusterMetrics.cpp  |  21 +-
 .../libyarn/src/records/YarnClusterMetrics.h    |  21 +-
 depends/libyarn/src/rpc/RpcAuth.cpp             |  25 +-
 depends/libyarn/src/rpc/RpcAuth.h               |  25 +-
 depends/libyarn/src/rpc/RpcCall.h               |  25 +-
 depends/libyarn/src/rpc/RpcChannel.cpp          |  25 +-
 depends/libyarn/src/rpc/RpcChannel.h            |  25 +-
 depends/libyarn/src/rpc/RpcChannelKey.cpp       |  25 +-
 depends/libyarn/src/rpc/RpcChannelKey.h         |  25 +-
 depends/libyarn/src/rpc/RpcClient.cpp           |  25 +-
 depends/libyarn/src/rpc/RpcClient.h             |  25 +-
 depends/libyarn/src/rpc/RpcConfig.cpp           |  25 +-
 depends/libyarn/src/rpc/RpcConfig.h             |  25 +-
 depends/libyarn/src/rpc/RpcContentWrapper.cpp   |  25 +-
 depends/libyarn/src/rpc/RpcContentWrapper.h     |  25 +-
 depends/libyarn/src/rpc/RpcProtocolInfo.cpp     |  25 +-
 depends/libyarn/src/rpc/RpcProtocolInfo.h       |  25 +-
 depends/libyarn/src/rpc/RpcRemoteCall.cpp       |  25 +-
 depends/libyarn/src/rpc/RpcRemoteCall.h         |  25 +-
 depends/libyarn/src/rpc/RpcServerInfo.cpp       |  25 +-
 depends/libyarn/src/rpc/RpcServerInfo.h         |  25 +-
 depends/libyarn/src/rpc/SaslClient.cpp          |  25 +-
 depends/libyarn/src/rpc/SaslClient.h            |  25 +-
 depends/libyarn/sync.sh                         |  16 +
 depends/libyarn/test/data/function-secure.xml   |  20 +
 depends/libyarn/test/data/function-test.xml     |  20 +
 depends/libyarn/test/data/invalid.xml           |  22 +-
 depends/libyarn/test/data/invalidha.xml         |  22 +-
 depends/libyarn/test/data/unit-config.xml       |  20 +
 depends/libyarn/test/data/validha.xml           |  22 +-
 .../libyarn/test/function/FunctionTestMain.cpp  |  25 +-
 .../libyarn/test/function/TestLibYarnClient.cpp |  21 +-
 .../TestMockApplicationClientProtocol.cpp       |  20 +-
 .../TestMockApplicationMasterProtocol.cpp       |  20 +-
 .../test/secure/FunctionTestSecureMain.cpp      |  25 +-
 .../libyarn/test/secure/SecureFunctionTest.cpp  |  25 +-
 .../libyarn/test/unit/TestApplicationClient.cpp |  21 +-
 .../libyarn/test/unit/TestApplicationMaster.cpp |  21 +-
 .../test/unit/TestContainerManagement.cpp       |  20 +-
 depends/libyarn/test/unit/TestLibYarnClient.cpp |  20 +-
 .../libyarn/test/unit/TestLibYarnClientC.cpp    |  20 +-
 depends/libyarn/test/unit/UnitTestMain.cpp      |  25 +-
 depends/libyarn/ztest/c_client_main.c           |  19 +
 depends/libyarn/ztest/client_main.cpp           |  21 +-
 depends/libyarn/ztest/wangbo/Makefile           |  16 -
 depends/libyarn/ztest/wangbo/am_main.cpp        |  23 -
 depends/libyarn/ztest/wangbo/client_main.cpp    | 113 ---
 depends/libyarn/ztest/wangbo/newTest_main.cpp   |  17 -
 .../libyarn/ztest/wangbo/new_application_wang.c | 181 -----
 depends/libyarn/ztest/wangbo/test_main.cpp      |  18 -
 depends/libyarn/ztest_c/c_client_main.c         |  19 +
 depends/libyarn/ztest_c/c_client_main_profile.c |  19 +
 src/backend/access/appendonly/appendonlyam.c    |   0
 .../appendonly/appendonlyblockdirectory.c       |  27 +-
 src/backend/access/appendonly/appendonlytid.c   |  21 +-
 .../access/appendonly/appendonlywriter.c        |   0
 src/backend/access/appendonly/test/aomd_test.c  |  19 +
 src/backend/access/external/fileam.c            |  20 +-
 src/backend/access/external/ha_config.c         |  19 +
 src/backend/access/external/hd_work_mgr.c       |  21 +-
 src/backend/access/external/libchurl.c          |  19 +
 src/backend/access/external/pxfcomutils.c       |  21 +-
 src/backend/access/external/pxffilters.c        |  20 +-
 src/backend/access/external/pxfheaders.c        |  19 +
 src/backend/access/external/pxfmasterapi.c      |  21 +-
 src/backend/access/external/pxfuriparser.c      |  19 +
 src/backend/access/external/pxfutils.c          |  19 +
 .../access/external/test/ha_config_mock.c       |  21 +-
 .../access/external/test/ha_config_test.c       |  19 +
 ...k_mgr_allocate_fragments_to_datanodes_test.c |  19 +
 ...ork_mgr_distribute_work_2_gp_segments_test.c |  19 +
 ...ork_mgr_do_segment_clustering_by_host_test.c |  19 +
 .../access/external/test/hd_work_mgr_mock.c     |  19 +
 .../access/external/test/hd_work_mgr_mock.h     |  19 +
 .../access/external/test/hd_work_mgr_test.c     |  19 +
 .../access/external/test/pxffilters_test.c      |  19 +
 .../access/external/test/pxfheaders_test.c      |  19 +
 .../access/external/test/pxfmasterapi_test.c    |  19 +
 .../access/external/test/pxfuriparser_test.c    |  19 +
 src/backend/access/external/url.c               |  17 +-
 .../parquet/metadatautil_c++/MetadataUtil.cpp   |  19 +
 .../parquet/metadatautil_c++/MetadataUtil.h     |  19 +
 .../metadatautil_c++/Metadatainterface.cpp      |  19 +
 .../parquet/metadatautil_c++/parquet_types.cpp  |  19 +
 .../parquet/metadatautil_c++/parquet_types.h    |  19 +
 .../test/Metadatainterface_test.cpp             |  19 +
 .../parquet/metadatautil_c++/thrift-util.h      |  19 +
 src/backend/access/parquet/parquetam.c          |  19 +
 src/backend/access/parquet/parquetsegfiles.c    |  19 +
 src/backend/catalog/caql/caller.py              |  16 +
 src/backend/catalog/caql/caqlaccess.c           |  19 +
 src/backend/catalog/caql/caqlanalyze.c          |  19 +
 src/backend/catalog/caql/test/caqlaccess_test.c |  19 +
 .../catalog/caql/test/caqlanalyze_test.c        |  19 +
 src/backend/catalog/caql/test/catquery_mock.c   |  19 +
 src/backend/catalog/caql/test/catquery_test.c   |  19 +
 src/backend/catalog/caql/test/gram_test.c       |  19 +
 .../caql/test_discard/caqlanalyze_test.c        |  19 +
 .../catalog/caql/test_discard/catquery_mock.c   |  19 +
 .../catalog/caql/test_discard/catquery_test.c   |  19 +
 .../catalog/caql/test_discard/gram_test.c       |  19 +
 src/backend/catalog/core/catcore.c              |  19 +
 src/backend/catalog/core/catcoregen.py          |  16 +
 src/backend/catalog/core/catheader.py           |  16 +
 src/backend/catalog/core/test/catcore_test.c    |  19 +
 src/backend/catalog/gp_fastsequence.c           |  24 +-
 src/backend/catalog/gp_global_sequence.c        |  20 +-
 src/backend/catalog/gp_persistent.c             |  20 +-
 src/backend/catalog/hcatalog/externalmd.c       |  20 +-
 src/backend/cdb/cdbanalyze.c                    |  21 +-
 src/backend/cdb/cdbappendonlystorage.c          |  21 +-
 src/backend/cdb/cdbappendonlystorageformat.c    |  21 +-
 src/backend/cdb/cdbappendonlystorageread.c      |  21 +-
 src/backend/cdb/cdbappendonlystoragewrite.c     |  21 +-
 src/backend/cdb/cdbbackup.c                     |  19 +
 src/backend/cdb/cdbbufferedappend.c             |  21 +-
 src/backend/cdb/cdbbufferedread.c               |  21 +-
 src/backend/cdb/cdbcat.c                        |  21 +-
 src/backend/cdb/cdbcellbuf.c                    |  21 +-
 src/backend/cdb/cdbchunkpool.c                  |  21 +-
 src/backend/cdb/cdbconn.c                       |  21 +-
 src/backend/cdb/cdbcopy.c                       |  21 +-
 src/backend/cdb/cdbdatabaseinfo.c               |  21 +-
 src/backend/cdb/cdbdatalocality.c               |  21 +-
 src/backend/cdb/cdbdirectopen.c                 |  21 +-
 src/backend/cdb/cdbdisp.c                       |  22 +-
 src/backend/cdb/cdbdispatchedtablespaceinfo.c   |  21 +-
 src/backend/cdb/cdbdispatchresult.c             |  22 +-
 src/backend/cdb/cdbdistributedxacts.c           |  19 +
 src/backend/cdb/cdbdistributedxid.c             |  19 +
 src/backend/cdb/cdbdistributedxidmap.c          |  21 +-
 src/backend/cdb/cdbdoublylinked.c               |  21 +-
 src/backend/cdb/cdbexplain.c                    |  21 +-
 src/backend/cdb/cdbfilerep.c                    |  19 +
 src/backend/cdb/cdbfilesplit.c                  |  20 +-
 src/backend/cdb/cdbfilesystemcredential.c       |  21 +-
 src/backend/cdb/cdbfts.c                        |  21 +-
 src/backend/cdb/cdbgang.c                       |  21 +-
 src/backend/cdb/cdbglobalsequence.c             |  21 +-
 src/backend/cdb/cdbgroup.c                      |  19 +
 src/backend/cdb/cdbhash.c                       |  21 +-
 src/backend/cdb/cdbheap.c                       |  21 +-
 src/backend/cdb/cdbinmemheapam.c                |  21 +-
 src/backend/cdb/cdblink.c                       |  21 +-
 src/backend/cdb/cdbllize.c                      |  23 +-
 src/backend/cdb/cdblogsync.c                    |  19 +
 src/backend/cdb/cdbmaxdistributedxid.c          |  19 +
 src/backend/cdb/cdbmetadatacache.c              |  19 +
 src/backend/cdb/cdbmetadatacache_process.c      |  19 +
 src/backend/cdb/cdbmetadatacache_test.c         |  19 +
 src/backend/cdb/cdbmirroredappendonly.c         |  21 +-
 src/backend/cdb/cdbmirroredbufferpool.c         |  21 +-
 src/backend/cdb/cdbmirroredfilesysobj.c         |  21 +-
 src/backend/cdb/cdbmirroredflatfile.c           |  21 +-
 src/backend/cdb/cdbmutate.c                     |  21 +-
 src/backend/cdb/cdboidsync.c                    |  21 +-
 src/backend/cdb/cdbparquetbitstreamutil.c       |  19 +
 src/backend/cdb/cdbparquetbytepacker.c          |  19 +
 src/backend/cdb/cdbparquetcolumn.c              |  19 +
 src/backend/cdb/cdbparquetfooterbuffer.c        |  19 +
 src/backend/cdb/cdbparquetfooterprocessor.c     |  19 +
 src/backend/cdb/cdbparquetfooterserializer.c    |  19 +
 .../cdb/cdbparquetfooterserializer_protocol.c   |  19 +
 src/backend/cdb/cdbparquetrleencoder.c          |  19 +
 src/backend/cdb/cdbparquetrowgroup.c            |  19 +
 src/backend/cdb/cdbparquetstorageread.c         |  19 +
 src/backend/cdb/cdbparquetstoragewrite.c        |  19 +
 src/backend/cdb/cdbpartindex.c                  |  21 +-
 src/backend/cdb/cdbpartition.c                  |  21 +-
 src/backend/cdb/cdbpath.c                       |  21 +-
 src/backend/cdb/cdbpathlocus.c                  |  21 +-
 src/backend/cdb/cdbpathtoplan.c                 |  21 +-
 src/backend/cdb/cdbpersistentbuild.c            |  21 +-
 src/backend/cdb/cdbpersistentdatabase.c         |  21 +-
 src/backend/cdb/cdbpersistentfilespace.c        |  21 +-
 src/backend/cdb/cdbpersistentfilesysobj.c       |  21 +-
 src/backend/cdb/cdbpersistentrecovery.c         |  21 +-
 src/backend/cdb/cdbpersistentrelation.c         |  21 +-
 src/backend/cdb/cdbpersistentrelfile.c          |  21 +-
 src/backend/cdb/cdbpersistentstore.c            |  21 +-
 src/backend/cdb/cdbpersistenttablespace.c       |  21 +-
 src/backend/cdb/cdbpgdatabase.c                 |  19 +
 src/backend/cdb/cdbplan.c                       |  21 +-
 src/backend/cdb/cdbpullup.c                     |  21 +-
 src/backend/cdb/cdbquerycontextdispatching.c    |  21 +-
 src/backend/cdb/cdbrelsize.c                    |  22 +-
 .../cdb/cdbresynchronizechangetracking.c        |  21 +-
 src/backend/cdb/cdbsetop.c                      |  19 +
 src/backend/cdb/cdbshareddoublylinked.c         | 759 ++++++++++---------
 src/backend/cdb/cdbsharedoidsearch.c            |  21 +-
 src/backend/cdb/cdbsharedstorageop.c            |  21 +-
 src/backend/cdb/cdbsreh.c                       |  21 +-
 src/backend/cdb/cdbsrlz.c                       |  23 +-
 src/backend/cdb/cdbsubplan.c                    |  21 +-
 src/backend/cdb/cdbsubselect.c                  |  21 +-
 src/backend/cdb/cdbtargeteddispatch.c           |  21 +-
 src/backend/cdb/cdbthreadwork.c                 |  21 +-
 src/backend/cdb/cdbtimer.c                      |  23 +-
 src/backend/cdb/cdbtm.c                         |  21 +-
 src/backend/cdb/cdbtmpdir.c                     |  19 +
 src/backend/cdb/cdbutil.c                       |  21 +-
 src/backend/cdb/cdbvarblock.c                   |  22 +-
 src/backend/cdb/cdbvars.c                       |  22 +-
 src/backend/cdb/dispatcher.c                    |  19 +
 src/backend/cdb/dispatcher_mgt.c                |  19 +
 src/backend/cdb/executormgr.c                   |  19 +
 src/backend/cdb/motion/cdbmotion.c              |  21 +-
 src/backend/cdb/motion/htupfifo.c               |  21 +-
 src/backend/cdb/motion/ic_common.c              |  21 +-
 src/backend/cdb/motion/ic_tcp.c                 |  21 +-
 src/backend/cdb/motion/ic_udp.c                 |  23 +-
 src/backend/cdb/motion/tupchunklist.c           |  21 +-
 src/backend/cdb/motion/tupser.c                 |  21 +-
 src/backend/cdb/partitionselection.c            |  21 +-
 src/backend/cdb/poolmgr.c                       |  19 +
 src/backend/cdb/test/cdbbufferedread_test.c     |  19 +
 src/backend/cdb/test/cdbdisp_test.c             |  19 +
 src/backend/cdb/test/cdbinmemheapam_test.c      |  19 +
 .../cdb/test_discard/cdbbufferedread_test.c     |  19 +
 src/backend/cdb/test_discard/cdbdisp_test.c     |  19 +
 src/backend/cdb/workermgr.c                     |  19 +
 src/backend/executor/execAOScan.c               |  20 +-
 src/backend/executor/execBitmapParquetScan.c    |  19 +-
 src/backend/executor/execDML.c                  |  20 +-
 src/backend/executor/execDynamicScan.c          |  21 +-
 src/backend/executor/execGpmon.c                |  20 +-
 src/backend/executor/execIndexscan.c            |  20 +-
 src/backend/executor/execParquetScan.c          |  18 +
 src/backend/executor/execWorkfile.c             |  21 +-
 src/backend/executor/nodeAssertOp.c             |  20 +-
 src/backend/executor/nodeDML.c                  |  20 +-
 src/backend/executor/nodeDynamicIndexscan.c     |  19 +-
 src/backend/executor/nodeDynamicTableScan.c     |  20 +-
 src/backend/executor/nodeExternalscan.c         |  20 +-
 src/backend/executor/nodeMotion.c               |  20 +-
 src/backend/executor/nodeParquetScan.c          |  19 +
 src/backend/executor/nodePartitionSelector.c    |  21 +-
 src/backend/executor/nodeRepeat.c               |  21 +-
 src/backend/executor/nodeRowTrigger.c           |  20 +-
 src/backend/executor/nodeSequence.c             |  20 +-
 src/backend/executor/nodeSplitUpdate.c          |  20 +-
 src/backend/executor/nodeTableScan.c            |  19 +-
 src/backend/executor/nodeWindow.c               |  21 +-
 src/backend/postmaster/identity.c               |  20 +-
 .../communication/rmcomm_AsyncComm.c            |  19 +
 .../communication/rmcomm_Connect.c              |  19 +
 .../communication/rmcomm_Message.c              |  19 +
 .../communication/rmcomm_MessageHandler.c       |  19 +
 .../communication/rmcomm_MessageServer.c        |  19 +
 .../communication/rmcomm_QD2RM.c                |  19 +
 .../communication/rmcomm_QE2RMSEG.c             |  19 +
 .../communication/rmcomm_RM2RMSEG.c             |  19 +
 .../communication/rmcomm_RMSEG2RM.c             |  19 +
 .../communication/rmcomm_SyncComm.c             |  19 +
 src/backend/resourcemanager/conntrack.c         |  19 +
 src/backend/resourcemanager/errorcode.c         |  19 +
 src/backend/resourcemanager/hawqsite.c          |  19 +
 .../include/communication/rmcomm_AsyncComm.h    |  19 +
 .../include/communication/rmcomm_Connect.h      |  19 +
 .../include/communication/rmcomm_Message.h      |  19 +
 .../communication/rmcomm_MessageHandler.h       |  19 +
 .../communication/rmcomm_MessageProtocol.h      |  19 +
 .../communication/rmcomm_MessageServer.h        |  19 +
 .../include/communication/rmcomm_QD2RM.h        |  19 +
 .../communication/rmcomm_QD_RM_Protocol.h       |  19 +
 .../include/communication/rmcomm_QE2RM.h        |  19 +
 .../include/communication/rmcomm_QE2RMSEG.h     |  19 +
 .../communication/rmcomm_QE_RMSEG_Protocol.h    |  19 +
 .../include/communication/rmcomm_RM2GRM.h       |  19 +
 .../communication/rmcomm_RM2GRM_libyarn.h       |  19 +
 .../include/communication/rmcomm_RM2GRM_none.h  |  19 +
 .../include/communication/rmcomm_RM2RMSEG.h     |  19 +
 .../include/communication/rmcomm_RMSEG2RM.h     |  19 +
 .../communication/rmcomm_RMSEG_RM_Protocol.h    |  19 +
 .../communication/rmcomm_RM_RMSEG_Protocol.h    |  19 +
 .../include/communication/rmcomm_SyncComm.h     |  19 +
 src/backend/resourcemanager/include/conntrack.h |  19 +
 src/backend/resourcemanager/include/dynrm.h     |  19 +
 src/backend/resourcemanager/include/envswitch.h |  19 +
 src/backend/resourcemanager/include/errorcode.h |  19 +
 .../include/resourcebroker/resourcebroker_API.h |  19 +
 .../resourcebroker/resourcebroker_LIBYARN.h     |  19 +
 .../resourcebroker/resourcebroker_NONE.h        |  19 +
 .../resourcebroker_RM_RB_Protocol.h             |  19 +
 .../include/resourceenforcer/resourceenforcer.h |  19 +
 .../resourceenforcer/resourceenforcer_hash.h    |  19 +
 .../resourceenforcer/resourceenforcer_list.h    |  19 +
 .../resourceenforcer/resourceenforcer_message.h |  19 +
 .../resourceenforcer/resourceenforcer_pair.h    |  19 +
 .../resourceenforcer/resourceenforcer_queue.h   |  19 +
 .../resourceenforcer_simpstring.h               |  19 +
 .../resourcemanager/include/resourcemanager.h   |  19 +
 .../resourcemanager/include/resourcepool.h      |  19 +
 .../resourcemanager/include/resqueuecommand.h   |  19 +
 .../resourcemanager/include/resqueuedeadlock.h  |  19 +
 .../resourcemanager/include/resqueuemanager.h   |  19 +
 src/backend/resourcemanager/include/rmcommon.h  |  19 +
 .../resourcemanager/include/utils/balancedbst.h |  19 +
 .../include/utils/filesystem_utils.h            |  19 +
 .../resourcemanager/include/utils/hashtable.h   |  19 +
 .../include/utils/kvproperties.h                |  19 +
 .../resourcemanager/include/utils/linkedlist.h  |  19 +
 .../include/utils/memutilities.h                |  19 +
 .../include/utils/network_utils.h               |  19 +
 .../include/utils/nullablebool.h                |  19 +
 .../resourcemanager/include/utils/pair.h        |  19 +
 .../include/utils/simplestring.h                |  19 +
 src/backend/resourcemanager/requesthandler.c    |  19 +
 .../resourcemanager/requesthandler_RMSEG.c      |  19 +
 .../resourcemanager/requesthandler_ddl.c        |  19 +
 .../resourcebroker/resourcebroker_API.c         |  19 +
 .../resourcebroker/resourcebroker_LIBYARN.c     |  19 +
 .../resourcebroker_LIBYARN_proc.c               |  19 +
 .../resourcebroker/resourcebroker_NONE.c        |  19 +
 .../resourceenforcer/resourceenforcer.c         |  19 +
 .../resourceenforcer/resourceenforcer_hash.c    |  19 +
 .../resourceenforcer/resourceenforcer_list.c    |  19 +
 .../resourceenforcer/resourceenforcer_pair.c    |  19 +
 .../resourceenforcer/resourceenforcer_queue.c   |  19 +
 .../resourceenforcer_simpstring.c               |  19 +
 src/backend/resourcemanager/resourcemanager.c   |  19 +
 .../resourcemanager/resourcemanager_RMSEG.c     |  19 +
 src/backend/resourcemanager/resourcepool.c      |  19 +
 src/backend/resourcemanager/resqueuecommand.c   |  19 +
 src/backend/resourcemanager/resqueuedeadlock.c  |  19 +
 src/backend/resourcemanager/resqueuemanager.c   |  19 +
 .../resourcemanager/test/rpc/ResMgrClient.py    |  16 +
 src/backend/resourcemanager/utils/balancedbst.c |  19 +
 .../resourcemanager/utils/filesystem_utils.c    |  19 +
 src/backend/resourcemanager/utils/hashtable.c   |  19 +
 .../resourcemanager/utils/kvproperties.c        |  19 +
 src/backend/resourcemanager/utils/linkedlist.c  |  19 +
 .../resourcemanager/utils/memutilities.c        |  19 +
 .../resourcemanager/utils/network_utils.c       |  19 +
 src/backend/resourcemanager/utils/pair.c        |  19 +
 .../resourcemanager/utils/simplestring.c        |  19 +
 src/backend/utils/mdver/mdver_dep_translator.c  |  21 +-
 src/backend/utils/mdver/mdver_global_handler.c  |  21 +-
 src/backend/utils/mdver/mdver_global_mdvsn.c    |  21 +-
 src/backend/utils/mdver/mdver_local_handler.c   |  21 +-
 src/backend/utils/mdver/mdver_local_mdvsn.c     |  21 +-
 src/backend/utils/mdver/mdver_utils.c           |  21 +-
 src/backend/utils/misc/atomic.c                 |  21 +-
 src/backend/utils/misc/etc/hawq-site.xml        |  20 +
 src/backend/utils/misc/etc/hdfs-client.xml      |  20 +
 .../utils/misc/etc/template-hawq-site.xml       |  20 +
 src/backend/utils/misc/etc/yarn-client.xml      |  20 +
 src/backend/utils/misc/faultinjector.c          |  22 +-
 src/backend/utils/misc/fstream/fstream.c        |  19 +
 src/backend/utils/misc/fstream/gfile.c          |  19 +
 src/backend/utils/misc/netcheck.c               |  21 +-
 src/backend/utils/misc/simexsys.c               |  20 +-
 src/backend/utils/misc/size.c                   |  20 +-
 src/backend/utils/misc/syncbitvector.c          |  20 +-
 src/backend/utils/misc/test/atomic_test.c       |  19 +
 src/backend/utils/misc/test/guc_test.c          |  19 +
 src/backend/utils/misc/testutils.c              |  20 +-
 src/backend/utils/mmgr/event_version.c          |  22 +-
 src/backend/utils/mmgr/idle_tracker.c           |  21 +-
 src/backend/utils/mmgr/memaccounting.c          |  23 +-
 src/backend/utils/mmgr/memprot.c                |  23 +-
 src/backend/utils/mmgr/mpool.c                  |  19 +
 src/backend/utils/mmgr/redzone_handler.c        |  21 +-
 src/backend/utils/mmgr/runaway_cleaner.c        |  21 +-
 src/backend/utils/mmgr/test/aset_test.c         |  19 +
 .../utils/mmgr/test/event_version_test.c        |  19 +
 src/backend/utils/mmgr/test/idle_tracker_test.c |  19 +
 src/backend/utils/mmgr/test/mcxt_test.c         |  19 +
 .../utils/mmgr/test/memaccounting_test.c        |  19 +
 .../utils/mmgr/test/redzone_handler_test.c      |  19 +
 .../utils/mmgr/test/runaway_cleaner_test.c      |  19 +
 src/backend/utils/mmgr/test/vmem_tracker_test.c |  19 +
 src/backend/utils/mmgr/vmem_tracker.c           |  21 +-
 src/backend/utils/session_state.c               |  24 +-
 src/include/catalog/aoblkdir.h                  |  24 +-
 src/include/catalog/aoseg.h                     |  20 +-
 src/include/catalog/caqlparse.h                 |  18 +
 src/include/catalog/catcore.h                   |  18 +
 src/include/catalog/catquery.h                  |  21 +-
 src/include/catalog/gp_configuration.h          |  20 +-
 src/include/catalog/gp_fastsequence.h           |  21 +-
 src/include/catalog/gp_global_sequence.h        |  21 +-
 src/include/catalog/gp_id.h                     |  20 +-
 src/include/catalog/gp_master_mirroring.h       |  18 +
 src/include/catalog/gp_persistent.h             |  20 +-
 src/include/catalog/gp_policy.h                 |  20 +-
 src/include/catalog/gp_san_config.h             |  20 +-
 src/include/catalog/gp_segment_config.h         |  20 +-
 src/include/catalog/gp_verification_history.h   |  19 +-
 src/include/catalog/hcatalog/externalmd.h       |  18 +
 src/include/catalog/hcatalog/hcatalogmd.h       |  18 +
 src/include/cdb/cdbanalyze.h                    |  21 +-
 src/include/cdb/cdbappendonlyblockdirectory.h   |  21 +-
 src/include/cdb/cdbappendonlystorage.h          |  21 +-
 src/include/cdb/cdbappendonlystorage_int.h      |  23 +-
 src/include/cdb/cdbappendonlystorageformat.h    |  21 +-
 src/include/cdb/cdbappendonlystoragelayer.h     |  21 +-
 src/include/cdb/cdbappendonlystorageread.h      |  21 +-
 src/include/cdb/cdbappendonlystoragewrite.h     |  21 +-
 src/include/cdb/cdbbackup.h                     |  19 +
 src/include/cdb/cdbbufferedappend.h             |  23 +-
 src/include/cdb/cdbbufferedread.h               |  21 +-
 src/include/cdb/cdbcat.h                        |  21 +-
 src/include/cdb/cdbcellbuf.h                    |  21 +-
 src/include/cdb/cdbchunkpool.h                  |  21 +-
 src/include/cdb/cdbconn.h                       |  20 +-
 src/include/cdb/cdbcopy.h                       |  21 +-
 src/include/cdb/cdbdatabaseinfo.h               |  20 +-
 src/include/cdb/cdbdatalocality.h               |  21 +-
 src/include/cdb/cdbdef.h                        |  21 +-
 src/include/cdb/cdbdirectopen.h                 |  21 +-
 src/include/cdb/cdbdisp.h                       |  21 +-
 src/include/cdb/cdbdispatchedtablespaceinfo.h   |  21 +-
 src/include/cdb/cdbdispatchresult.h             |  21 +-
 src/include/cdb/cdbdoublylinked.h               |  21 +-
 src/include/cdb/cdbexplain.h                    |  21 +-
 src/include/cdb/cdbfilerep.h                    |  21 +-
 src/include/cdb/cdbfilesystemcredential.h       |  21 +-
 src/include/cdb/cdbfts.h                        |  19 +
 src/include/cdb/cdbgang.h                       |  20 +-
 src/include/cdb/cdbglobalsequence.h             |  20 +-
 src/include/cdb/cdbhash.h                       |  20 +-
 src/include/cdb/cdbheap.h                       |  20 +-
 src/include/cdb/cdbicudpfaultinjection.h        |  19 +
 src/include/cdb/cdbinmemheapam.h                |  20 +-
 src/include/cdb/cdbinterconnect.h               |  20 +-
 src/include/cdb/cdbllize.h                      |  20 +-
 src/include/cdb/cdblogsync.h                    |  19 +
 src/include/cdb/cdbmetadatacache.h              |  19 +
 src/include/cdb/cdbmetadatacache_internal.h     |  19 +
 src/include/cdb/cdbmirroredappendonly.h         |  20 +-
 src/include/cdb/cdbmirroredbufferpool.h         |  20 +-
 src/include/cdb/cdbmirroredfilesysobj.h         |  20 +-
 src/include/cdb/cdbmirroredflatfile.h           |  21 +-
 src/include/cdb/cdbmotion.h                     |  21 +-
 src/include/cdb/cdbmutate.h                     |  21 +-
 src/include/cdb/cdboidsync.h                    |  19 +
 src/include/cdb/cdbparquetam.h                  |  19 +
 src/include/cdb/cdbparquetbitstreamutils.h      |  19 +
 src/include/cdb/cdbparquetbytepacker.h          |  19 +
 src/include/cdb/cdbparquetcolumn.h              |  19 +
 src/include/cdb/cdbparquetfooterbuffer.h        |  22 +-
 src/include/cdb/cdbparquetfooterprocessor.h     |  19 +
 src/include/cdb/cdbparquetfooterserializer.h    |  19 +
 .../cdb/cdbparquetfooterserializer_protocol.h   |  19 +
 src/include/cdb/cdbparquetrleencoder.h          |  19 +
 src/include/cdb/cdbparquetrowgroup.h            |  19 +
 src/include/cdb/cdbparquetstorageread.h         |  19 +
 src/include/cdb/cdbparquetstoragewrite.h        |  19 +
 src/include/cdb/cdbpartition.h                  |  21 +-
 src/include/cdb/cdbpath.h                       |  21 +-
 src/include/cdb/cdbpathlocus.h                  |  20 +-
 src/include/cdb/cdbpathtoplan.h                 |  20 +-
 src/include/cdb/cdbpersistentdatabase.h         |  20 +-
 src/include/cdb/cdbpersistentfilespace.h        |  20 +-
 src/include/cdb/cdbpersistentfilesysobj.h       |  20 +-
 src/include/cdb/cdbpersistentrecovery.h         |  20 +-
 src/include/cdb/cdbpersistentrelation.h         |  20 +-
 src/include/cdb/cdbpersistentrelfile.h          |  20 +-
 src/include/cdb/cdbpersistentstore.h            |  21 +-
 src/include/cdb/cdbpersistenttablespace.h       |  20 +-
 src/include/cdb/cdbplan.h                       |  20 +-
 src/include/cdb/cdbptrbuf.h                     |  20 +-
 src/include/cdb/cdbpublic.h                     |  20 +-
 src/include/cdb/cdbpullup.h                     |  20 +-
 src/include/cdb/cdbquerycontextdispatching.h    |  20 +-
 src/include/cdb/cdbrelsize.h                    |  20 +-
 .../cdb/cdbresynchronizechangetracking.h        |  20 +-
 src/include/cdb/cdbselect.h                     |  20 +-
 src/include/cdb/cdbsetop.h                      |  20 +-
 src/include/cdb/cdbshareddoublylinked.h         | 210 ++---
 src/include/cdb/cdbsharedoidsearch.h            |  20 +-
 src/include/cdb/cdbsharedstorageop.h            |  20 +-
 src/include/cdb/cdbsreh.h                       |  20 +-
 src/include/cdb/cdbsrlz.h                       |  20 +-
 src/include/cdb/cdbsubplan.h                    |  20 +-
 src/include/cdb/cdbsubselect.h                  |  20 +-
 src/include/cdb/cdbtargeteddispatch.h           |  20 +-
 src/include/cdb/cdbthreadwork.h                 |  20 +-
 src/include/cdb/cdbtimer.h                      |  20 +-
 src/include/cdb/cdbtmpdir.h                     |  19 +
 src/include/cdb/cdbutil.h                       |  20 +-
 src/include/cdb/cdbvarblock.h                   |  21 +-
 src/include/cdb/cdbvars.h                       |  20 +-
 src/include/cdb/dispatcher.h                    |  19 +
 src/include/cdb/dispatcher_mgt.h                |  19 +
 src/include/cdb/executormgr.h                   |  20 +-
 src/include/cdb/htupfifo.h                      |  20 +-
 src/include/cdb/memquota.h                      |  20 +-
 src/include/cdb/ml_ipc.h                        |  20 +-
 src/include/cdb/partitionselection.h            |  20 +-
 src/include/cdb/poolmgr.h                       |  19 +
 src/include/cdb/tupchunk.h                      |  20 +-
 src/include/cdb/tupchunklist.h                  |  20 +-
 src/include/cdb/tupser.h                        |  20 +-
 src/include/cdb/workermgr.h                     |  21 +-
 src/include/executor/execDML.h                  |  20 +-
 src/include/executor/execDynamicScan.h          |  20 +-
 src/include/executor/execIndexscan.h            |  20 +-
 src/include/executor/execWorkfile.h             |  20 +-
 src/include/executor/nodeAssertOp.h             |  20 +-
 src/include/executor/nodeDML.h                  |  20 +-
 src/include/executor/nodeDynamicIndexscan.h     |  20 +-
 src/include/executor/nodeDynamicTableScan.h     |  19 +-
 src/include/executor/nodeExternalscan.h         |  20 +-
 src/include/executor/nodeParquetScan.h          |  18 +
 src/include/executor/nodePartitionSelector.h    |  20 +-
 src/include/executor/nodeRepeat.h               |  28 +-
 src/include/executor/nodeRowTrigger.h           |  20 +-
 src/include/executor/nodeSequence.h             |  19 +-
 src/include/executor/nodeSplitUpdate.h          |  20 +-
 src/include/executor/nodeTableFunction.h        |  20 +-
 src/include/executor/nodeTableScan.h            |  19 +-
 src/include/executor/nodeWindow.h               |  21 +-
 src/include/utils/session_state.h               |  20 +-
 750 files changed, 14387 insertions(+), 2385 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..636755e
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,361 @@
+Apache HAWQ (incubating) 
+Copyright 2015 The Apache Software Foundation.
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+The following is a listing of the open source components detailed in
+this document. This list is provided for your convenience; please read
+further if you wish to review the copyright notice(s) and the full text
+of the license associated with each component.
+
+SECTION 1: Apache License, V2.0
+
+   >>> Hadoop
+   >>> HBase
+   >>> Tomcat
+   >>> Commons Codec
+   >>> Commons Collections
+   >>> Commons Configuration
+   >>> Commons Lang
+   >>> Commons Logging
+   >>> Avro
+   >>> log4j
+   >>> gradle
+   >>> gradle-download-task
+   >>> Jackson JSON processor databind
+   >>> Powermock
+   >>> Parquet
+
+SECTION 2: CDDL 1.1
+   >>> Jersey
+
+SECTION 3: Eclipse Public License - v 1.0
+   >>> JUnit
+
+SECTION 4: BSD
+   >>> Protocol Buffers
+
+SECTION 5: MIT
+   >>> Mockito
+
+-------- SECTION 1: Apache License, V2.0 Detailed List to include for NOTICE --------
+
+>>> Hadoop
+This product includes software developed by The Apache Software
+Foundation (http://www.apache.org/).
+
+>>> HBase
+Apache HBase
+Copyright 2007-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+--
+This product incorporates portions of the 'Hadoop' project
+
+Copyright 2007-2009 The Apache Software Foundation
+
+Licensed under the Apache License v2.0
+--
+Our Orca logo we got here: http://www.vectorfree.com/jumping-orca
+It is licensed Creative Commons Attribution 3.0.
+See https://creativecommons.org/licenses/by/3.0/us/
+We changed the logo by stripping the colored background, inverting
+it and then rotating it some.
+
+Later we found that vectorfree.com image is not properly licensed.
+The original is owned by vectorportal.com. The original was
+relicensed so we could use it as Creative Commons Attribution 3.0.
+The license is bundled with the download available here:
+http://www.vectorportal.com/subcategory/205/KILLER-WHALE-FREE-VECTOR.eps/ifile/9136/detailtest.asp
+--
+This product includes portions of the Bootstrap project v3.0.0
+
+Copyright 2013 Twitter, Inc.
+
+Licensed under the Apache License v2.0
+
+This product uses the Glyphicons Halflings icon set.
+
+http://glyphicons.com/
+
+Copyright Jan Kovařík
+
+Licensed under the Apache License v2.0 as a part of the Bootstrap project.
+
+--
+This product includes portions of the Guava project v14, specifically
+'hbase-common/src/main/java/org/apache/hadoop/hbase/io/LimitInputStream.java'
+
+Copyright (C) 2007 The Guava Authors
+
+Licensed under the Apache License, Version 2.0
+
+>>> Tomcat
+Apache Tomcat
+Copyright 1999-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This software contains code derived from netty-native
+developed by the Netty project
+(http://netty.io, https://github.com/netty/netty-tcnative/)
+and from finagle-native developed at Twitter
+(https://github.com/twitter/finagle).
+
+The Windows Installer is built with the Nullsoft
+Scriptable Install System (NSIS), which is
+open source software.  The original software and
+related information is available at
+http://nsis.sourceforge.net.
+
+Java compilation software for JSP pages is provided by the Eclipse
+JDT Core Batch Compiler component, which is open source software.
+The original software and related information is available at
+http://www.eclipse.org/jdt/core/.
+
+For portions of the Tomcat JNI OpenSSL API and the OpenSSL JSSE integration
+The org.apache.tomcat.jni and the org.apache.tomcat.net.openssl packages
+are derivative work originating from the Netty project and the finagle-native
+project developed at Twitter
+* Copyright 2014 The Netty Project
+* Copyright 2014 Twitter
+
+The original XML Schemas for Java EE Deployment Descriptors:
+ - javaee_5.xsd
+ - javaee_web_services_1_2.xsd
+ - javaee_web_services_client_1_2.xsd
+ - javaee_6.xsd
+ - javaee_web_services_1_3.xsd
+ - javaee_web_services_client_1_3.xsd
+ - jsp_2_2.xsd
+ - web-app_3_0.xsd
+ - web-common_3_0.xsd
+ - web-fragment_3_0.xsd
+ - javaee_7.xsd
+ - javaee_web_services_1_4.xsd
+ - javaee_web_services_client_1_4.xsd
+ - jsp_2_3.xsd
+ - web-app_3_1.xsd
+ - web-common_3_1.xsd
+ - web-fragment_3_1.xsd
+
+may be obtained from:
+http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html
+
+>>> Commons Codec
+Apache Commons Codec
+Copyright 2002-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
+contains test data from http://aspell.net/test/orig/batch0.tab.
+Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org)
+
+===============================================================================
+
+The content of package org.apache.commons.codec.language.bm has been translated
+from the original php source code available at http://stevemorse.org/phoneticinfo.htm
+with permission from the original authors.
+Original source copyright:
+Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
+
+>>> Commons Collections
+Apache Commons Collections
+Copyright 2001-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+>>> Commons Configuration
+Apache Commons Configuration
+Copyright 2001-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+>>> Commons Lang
+Apache Commons Lang
+Copyright 2001-2015 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This product includes software from the Spring Framework,
+under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+>>> Commons Logging
+Apache Commons Logging
+Copyright 2003-2014 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+>>> Avro
+Apache Avro
+Copyright 2010 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+C JSON parsing provided by Jansson and
+written by Petri Lehtinen. The original software is
+available from http://www.digip.org/jansson/.
+
+>>> log4j
+Apache log4j
+Copyright 2010 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+>>> gradle
+Copyright 2007-2011 the original author or authors
+
+Licensed under the Apache License, Version 2.0 (the “License”);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an “AS IS” BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+>>> gradle-download-task
+The plugin is licensed under the Apache License, Version 2.0.
+
+Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
+
+>>> Jackson JSON processor databind
+This copy of Jackson JSON processor databind module is licensed under the
+Apache (Software) License, version 2.0 ("the License").
+See the License for details about distribution rights, and the
+specific rights regarding derivate works.
+
+You may obtain a copy of the License at:
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+>>> Powermock
+You may obtain a copy of the License at:
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+>>> Parquet
+Copyright 2014 Apache Software Foundation
+Licensed under the Apache License v2.0
+
+http://parquet.apache.org
+
+-------- SECTION 2 CDDL v1.1 Detailed List to include for NOTICE --------
+>>> Jersey
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+
+Classpath Exception to the GPL
+Certain source files distributed by Oracle America and/or its affiliates are subject to the following clarification and special exception to the GPL, but only where Oracle has expressly included in the particular source file’s header the words “Oracle designates this particular file as subject to the ”Classpath“ exception as provided by Oracle in the LICENSE file that accompanied this code.”
+
+	Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.
+	As a special exception, the copyright holders of this library
+	give you permission to link this library with independent modules
+	to produce an executable, regardless of the license terms of these
+	independent modules, and to copy and distribute the resulting
+	executable under terms of your choice, provided that you also meet,
+	for each linked independent module, the terms and conditions of the
+	license of that module.  An independent module is a module which is
+	not derived from or based on this library.  If you modify this
+	library, you may extend this exception to your version of the
+	library, but you are not obligated to do so.  If you do not wish to
+	do so, delete this exception statement from your version.
+
+
+-------- SECTION 3 Eclipse Public License - v 1.0 Detailed List to include for NOTICE --------
+ 
+ >>> JUnit
+   ===================================================================================
+   ==  Notices and attributions required by libraries that the project depends on   ==
+   ===================================================================================
+
+ The JUnit depends on Java Hamcrest (http://hamcrest.org/JavaHamcrest/).
+
+-------- SECTION 4 Google License Detailed List to include for NOTICE --------
+>>> protocol buffers
+
+This license applies to all parts of Protocol Buffers except the following:
+
+  - Atomicops support for generic gcc, located in
+    src/google/protobuf/stubs/atomicops_internals_generic_gcc.h.
+    This file is copyrighted by Red Hat Inc.
+
+  - Atomicops support for AIX/POWER, located in
+    src/google/protobuf/stubs/atomicops_internals_aix.h.
+    This file is copyrighted by Bloomberg Finance LP.
+
+Copyright 2014, Google Inc.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+    * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Code generated by the Protocol Buffer compiler is owned by the owner
+of the input file used when generating it.  This code is not
+standalone and requires a support library to be linked with it.  This
+support library is itself covered by the above license.
+
+
+-------- SECTION 5 MIT License Detailed List to include for NOTICE --------
+>>> Mockito
+The MIT License
+
+Copyright (c) 2007 Mockito contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockApplicationClient.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockApplicationClient.h b/depends/libyarn/mock/MockApplicationClient.h
index d094adb..f097519 100644
--- a/depends/libyarn/mock/MockApplicationClient.h
+++ b/depends/libyarn/mock/MockApplicationClient.h
@@ -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.
+ */
+
+/*
  * MockApplicationClient.h
  *
  *  Created on: Mar 11, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockApplicationClientProtocol.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockApplicationClientProtocol.h b/depends/libyarn/mock/MockApplicationClientProtocol.h
index f563304..04a46db 100644
--- a/depends/libyarn/mock/MockApplicationClientProtocol.h
+++ b/depends/libyarn/mock/MockApplicationClientProtocol.h
@@ -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.
+ */
+
+/*
  * MockApplicationClientProtocol.h
  *
  *  Created on: Mar 5, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockApplicationMaster.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockApplicationMaster.h b/depends/libyarn/mock/MockApplicationMaster.h
index cbf3340..b3fa96b 100644
--- a/depends/libyarn/mock/MockApplicationMaster.h
+++ b/depends/libyarn/mock/MockApplicationMaster.h
@@ -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.
+ */
+
+/*
  * MockApplicationMaster.h
  *
  *  Created on: Mar 11, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockApplicationMasterProtocol.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockApplicationMasterProtocol.h b/depends/libyarn/mock/MockApplicationMasterProtocol.h
index c2e81aa..a81dacf 100644
--- a/depends/libyarn/mock/MockApplicationMasterProtocol.h
+++ b/depends/libyarn/mock/MockApplicationMasterProtocol.h
@@ -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.
+ */
+
+/*
  * MockApplicationMasterProtocol.h
  *
  *  Created on: Mar 6, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockContainerManagement.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockContainerManagement.h b/depends/libyarn/mock/MockContainerManagement.h
index c970d5a..9f293f2 100644
--- a/depends/libyarn/mock/MockContainerManagement.h
+++ b/depends/libyarn/mock/MockContainerManagement.h
@@ -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.
+ */
+
+/*
  * MockContainerManagement.h
  *
  *  Created on: Mar 11, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockContainerManagementProtocol.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockContainerManagementProtocol.h b/depends/libyarn/mock/MockContainerManagementProtocol.h
index 2ef59ad..0d7268e 100644
--- a/depends/libyarn/mock/MockContainerManagementProtocol.h
+++ b/depends/libyarn/mock/MockContainerManagementProtocol.h
@@ -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.
+ */
+
+/*
  * MockContainerManagementProtocol.h
  *
  *  Created on: Mar 9, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/MockLibYarnClient.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/MockLibYarnClient.h b/depends/libyarn/mock/MockLibYarnClient.h
index fb00d18..9e763e0 100644
--- a/depends/libyarn/mock/MockLibYarnClient.h
+++ b/depends/libyarn/mock/MockLibYarnClient.h
@@ -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.
+ */
+
+/*
  * MockLibYarnClient.h
  *
  *  Created on: Mar 3, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/TestContainerManagementStub.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/TestContainerManagementStub.h b/depends/libyarn/mock/TestContainerManagementStub.h
index c8004a3..8531e60 100644
--- a/depends/libyarn/mock/TestContainerManagementStub.h
+++ b/depends/libyarn/mock/TestContainerManagementStub.h
@@ -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.
+ */
+
+/*
  * TestContainerManagementStub.h
  *
  *  Created on: Mar 9, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/mock/TestLibYarnClientStub.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/mock/TestLibYarnClientStub.h b/depends/libyarn/mock/TestLibYarnClientStub.h
index 1cd2a94..bc1940b 100644
--- a/depends/libyarn/mock/TestLibYarnClientStub.h
+++ b/depends/libyarn/mock/TestLibYarnClientStub.h
@@ -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.
+ */
+
+/*
  * TestLibYarnClientStub.h
  *
  *  Created on: Mar 11, 2015

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/cleanup-phd.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/cleanup-phd.sh b/depends/libyarn/releng/bin/cleanup-phd.sh
old mode 100755
new mode 100644
index 47ced42..7a9c2ff
--- a/depends/libyarn/releng/bin/cleanup-phd.sh
+++ b/depends/libyarn/releng/bin/cleanup-phd.sh
@@ -1,4 +1,20 @@
 #!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 if [ "x${DATA_PATH}" != "x" ]; then
 	if [ -e ${DATA_PATH} ]; then

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/gphdinst.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/gphdinst.sh b/depends/libyarn/releng/bin/gphdinst.sh
old mode 100755
new mode 100644
index 57dea83..99b7085
--- a/depends/libyarn/releng/bin/gphdinst.sh
+++ b/depends/libyarn/releng/bin/gphdinst.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.
 ## ======================================================================
 ## TODO
 ## * make script work for single and muli-node installs

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/ha_failover.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/ha_failover.sh b/depends/libyarn/releng/bin/ha_failover.sh
old mode 100755
new mode 100644
index 081699d..f596041
--- a/depends/libyarn/releng/bin/ha_failover.sh
+++ b/depends/libyarn/releng/bin/ha_failover.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.
 
 nn1_status=`/usr/bin/hdfs haadmin -getServiceState nn1`
 echo nn1 status is: $nn1_status

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/install-phd.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/install-phd.sh b/depends/libyarn/releng/bin/install-phd.sh
old mode 100755
new mode 100644
index 395fe9b..4d63191
--- a/depends/libyarn/releng/bin/install-phd.sh
+++ b/depends/libyarn/releng/bin/install-phd.sh
@@ -1,4 +1,20 @@
 #!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 
 if [ -z ${DATA_PATH} ]; then
 	echo "DATA_PATH not set"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/setup_gphdinst.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/setup_gphdinst.sh b/depends/libyarn/releng/bin/setup_gphdinst.sh
old mode 100755
new mode 100644
index 7fe0ea4..64a82c1
--- a/depends/libyarn/releng/bin/setup_gphdinst.sh
+++ b/depends/libyarn/releng/bin/setup_gphdinst.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.
 #
 # Usage: ./setup_gphdinst.sh setup / start HK / stop HK 
 # HK means this is for HA/Kerberos

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/bin/templates/log4j-ha.properties
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/bin/templates/log4j-ha.properties b/depends/libyarn/releng/bin/templates/log4j-ha.properties
index a4d03fe..88c4a75 100644
--- a/depends/libyarn/releng/bin/templates/log4j-ha.properties
+++ b/depends/libyarn/releng/bin/templates/log4j-ha.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Define some default values that can be overridden by system properties
 zookeeper.root.logger=INFO, CONSOLE
 zookeeper.console.threshold=INFO

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/etc/ivy.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/etc/ivy.xml b/depends/libyarn/releng/etc/ivy.xml
index 808ab8f..3356da4 100644
--- a/depends/libyarn/releng/etc/ivy.xml
+++ b/depends/libyarn/releng/etc/ivy.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <ivy-module version="2.0">
   <info organisation="Pivotal" module="libyarn" revision="<version>" status="release" publication="<time>">
     <license name="Pivotal"/>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/make/dependencies/build.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/make/dependencies/build.xml b/depends/libyarn/releng/make/dependencies/build.xml
index a83916c..26236f0 100644
--- a/depends/libyarn/releng/make/dependencies/build.xml
+++ b/depends/libyarn/releng/make/dependencies/build.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <project name="cdb2" default="resolve" xmlns:ivy="antlib:org.apache.ivy.ant">
 
   <target name="resolve" if="BLD_ARCH">

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/make/dependencies/ivy.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/make/dependencies/ivy.sh b/depends/libyarn/releng/make/dependencies/ivy.sh
old mode 100755
new mode 100644
index 06ccd1e..540e42e
--- a/depends/libyarn/releng/make/dependencies/ivy.sh
+++ b/depends/libyarn/releng/make/dependencies/ivy.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.
 ## ======================================================================
 ## Post download untar trigger : For EXT 
 ## ======================================================================

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/make/dependencies/ivy.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/make/dependencies/ivy.xml b/depends/libyarn/releng/make/dependencies/ivy.xml
index 6249170..f3ba333 100644
--- a/depends/libyarn/releng/make/dependencies/ivy.xml
+++ b/depends/libyarn/releng/make/dependencies/ivy.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <ivy-module version="2.0">
     <info organisation="Pivotal"
           module="libyarn" />

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/make/dependencies/ivy_util.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/make/dependencies/ivy_util.sh b/depends/libyarn/releng/make/dependencies/ivy_util.sh
old mode 100755
new mode 100644
index 31f545f..37545a3
--- a/depends/libyarn/releng/make/dependencies/ivy_util.sh
+++ b/depends/libyarn/releng/make/dependencies/ivy_util.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.
 ## ======================================================================
 ## Post download untar trigger
 ## ======================================================================

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/make/dependencies/ivysettings.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/make/dependencies/ivysettings.xml b/depends/libyarn/releng/make/dependencies/ivysettings.xml
index 256058a..236f5f7 100644
--- a/depends/libyarn/releng/make/dependencies/ivysettings.xml
+++ b/depends/libyarn/releng/make/dependencies/ivysettings.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <ivysettings>
 
   <!-- ====================================================================== -->

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/publish/ivy.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/publish/ivy.xml b/depends/libyarn/releng/publish/ivy.xml
index 30fdb55..64a9e5d 100644
--- a/depends/libyarn/releng/publish/ivy.xml
+++ b/depends/libyarn/releng/publish/ivy.xml
@@ -1,3 +1,23 @@
+<?xml version='1.0'?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <ivy-module version="2.0">
   <info organisation="Pivotal" module="libyarn"/>
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/releng/publish/ivysettings.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/releng/publish/ivysettings.xml b/depends/libyarn/releng/publish/ivysettings.xml
index d26ca1d..f825c4e 100644
--- a/depends/libyarn/releng/publish/ivysettings.xml
+++ b/depends/libyarn/releng/publish/ivysettings.xml
@@ -1,4 +1,24 @@
 <?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <ivysettings>
 
   <!-- ====================================================================== -->