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:45 UTC

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/StrictPreemptionContract.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/StrictPreemptionContract.cpp b/depends/libyarn/src/records/StrictPreemptionContract.cpp
index 5808e6e..49366cb 100644
--- a/depends/libyarn/src/records/StrictPreemptionContract.cpp
+++ b/depends/libyarn/src/records/StrictPreemptionContract.cpp
@@ -1,10 +1,23 @@
 /*
- * StrictPreemptionContract.cpp
- *
- *  Created on: Jul 20, 2014
- *      Author: bwang
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
+
 #include "StrictPreemptionContract.h"
 
 namespace libyarn {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcAuth.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcAuth.cpp b/depends/libyarn/src/rpc/RpcAuth.cpp
index 2ad6ce1..0c21239 100644
--- a/depends/libyarn/src/rpc/RpcAuth.cpp
+++ b/depends/libyarn/src/rpc/RpcAuth.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "RpcAuth.h"
 
 #include "Exception.h"

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

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcChannel.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcChannel.cpp b/depends/libyarn/src/rpc/RpcChannel.cpp
index a688d7b..81d11d1 100644
--- a/depends/libyarn/src/rpc/RpcChannel.cpp
+++ b/depends/libyarn/src/rpc/RpcChannel.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "Exception.h"
 #include "ExceptionInternal.h"
 #include "YARNIpcConnectionContext.pb.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcChannelKey.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcChannelKey.cpp b/depends/libyarn/src/rpc/RpcChannelKey.cpp
index 3e354d7..fc1005f 100644
--- a/depends/libyarn/src/rpc/RpcChannelKey.cpp
+++ b/depends/libyarn/src/rpc/RpcChannelKey.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "RpcChannelKey.h"
 
 #include <vector>

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcClient.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcClient.cpp b/depends/libyarn/src/rpc/RpcClient.cpp
index cbf9ab3..ae93edc 100644
--- a/depends/libyarn/src/rpc/RpcClient.cpp
+++ b/depends/libyarn/src/rpc/RpcClient.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "Exception.h"
 #include "ExceptionInternal.h"
 #include "Logger.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcConfig.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcConfig.cpp b/depends/libyarn/src/rpc/RpcConfig.cpp
index 97fbfd6..4f28743 100644
--- a/depends/libyarn/src/rpc/RpcConfig.cpp
+++ b/depends/libyarn/src/rpc/RpcConfig.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "RpcConfig.h"
 
 #include <vector>

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcContentWrapper.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcContentWrapper.cpp b/depends/libyarn/src/rpc/RpcContentWrapper.cpp
index a6f5ee3..f0f478b 100644
--- a/depends/libyarn/src/rpc/RpcContentWrapper.cpp
+++ b/depends/libyarn/src/rpc/RpcContentWrapper.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include <google/protobuf/io/coded_stream.h>
 
 #include "RpcContentWrapper.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcProtocolInfo.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcProtocolInfo.cpp b/depends/libyarn/src/rpc/RpcProtocolInfo.cpp
index 6fd7116..a34f698 100644
--- a/depends/libyarn/src/rpc/RpcProtocolInfo.cpp
+++ b/depends/libyarn/src/rpc/RpcProtocolInfo.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "RpcProtocolInfo.h"
 
 namespace Yarn {

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcRemoteCall.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcRemoteCall.cpp b/depends/libyarn/src/rpc/RpcRemoteCall.cpp
index a5e0a17..693c1c8 100644
--- a/depends/libyarn/src/rpc/RpcRemoteCall.cpp
+++ b/depends/libyarn/src/rpc/RpcRemoteCall.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "Memory.h"
 #include "YARNProtobufRpcEngine.pb.h"
 #include "RpcCall.h"

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/RpcServerInfo.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/RpcServerInfo.cpp b/depends/libyarn/src/rpc/RpcServerInfo.cpp
index bcf9d14..40db2d1 100644
--- a/depends/libyarn/src/rpc/RpcServerInfo.cpp
+++ b/depends/libyarn/src/rpc/RpcServerInfo.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "RpcServerInfo.h"
 
 #include <string>

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/rpc/SaslClient.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/rpc/SaslClient.cpp b/depends/libyarn/src/rpc/SaslClient.cpp
index 14d5276..7773824 100644
--- a/depends/libyarn/src/rpc/SaslClient.cpp
+++ b/depends/libyarn/src/rpc/SaslClient.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include <algorithm>
 #include <cctype>
 

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/sync.sh
----------------------------------------------------------------------
diff --git a/depends/libyarn/sync.sh b/depends/libyarn/sync.sh
old mode 100755
new mode 100644
index 39240ef..73e06f2
--- a/depends/libyarn/sync.sh
+++ b/depends/libyarn/sync.sh
@@ -1 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 git status|grep modified|awk '{print $2}'|xargs -I{} scp {}  root@vm1:/root/libyarn/{}

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/function-secure.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/function-secure.xml b/depends/libyarn/test/data/function-secure.xml
index 10a1548..587e590 100644
--- a/depends/libyarn/test/data/function-secure.xml
+++ b/depends/libyarn/test/data/function-secure.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.
+-->
+
 <configuration>
 
 	<property>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/function-test.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/function-test.xml b/depends/libyarn/test/data/function-test.xml
index 69bfe3e..73ccc2d 100644
--- a/depends/libyarn/test/data/function-test.xml
+++ b/depends/libyarn/test/data/function-test.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.
+-->
+
 <configuration>
 
 	<property>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/invalid.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/invalid.xml b/depends/libyarn/test/data/invalid.xml
index 22749b7..79ceaba 100644
--- a/depends/libyarn/test/data/invalid.xml
+++ b/depends/libyarn/test/data/invalid.xml
@@ -1,6 +1,26 @@
+<?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.
+-->
+
 <configuration>
 
 	<property>
 		<name>hadoop.hdfs.configuration.version</name>
 		<value>1</value>
-		<description>version of this configuration file</description>
\ No newline at end of file
+		<description>version of this configuration file</description>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/invalidha.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/invalidha.xml b/depends/libyarn/test/data/invalidha.xml
index 99014a5..952448c 100644
--- a/depends/libyarn/test/data/invalidha.xml
+++ b/depends/libyarn/test/data/invalidha.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.
+-->
+
 <configuration>
         <property>
                 <name>hadoop.security.authentication</name>
@@ -26,4 +46,4 @@
                 <name>dfs.client.failover.proxy.provider.phdcluster</name>
                 <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
         </property>
-</configuration>
\ No newline at end of file
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/unit-config.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/unit-config.xml b/depends/libyarn/test/data/unit-config.xml
index dbf0ed9..5cf3f37 100644
--- a/depends/libyarn/test/data/unit-config.xml
+++ b/depends/libyarn/test/data/unit-config.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.
+-->
+
 <configuration>
 
 	<property>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/data/validha.xml
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/data/validha.xml b/depends/libyarn/test/data/validha.xml
index 0e5eb58..4618d2e 100644
--- a/depends/libyarn/test/data/validha.xml
+++ b/depends/libyarn/test/data/validha.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.
+-->
+
 <configuration>
         <property>
                 <name>hadoop.security.authentication</name>
@@ -32,4 +52,4 @@
                 <name>dfs.client.failover.proxy.provider.phdcluster</name>
                 <value>org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider</value>
         </property>
-</configuration>
\ No newline at end of file
+</configuration>

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/function/FunctionTestMain.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/function/FunctionTestMain.cpp b/depends/libyarn/test/function/FunctionTestMain.cpp
index a7de71a..713a16f 100644
--- a/depends/libyarn/test/function/FunctionTestMain.cpp
+++ b/depends/libyarn/test/function/FunctionTestMain.cpp
@@ -1,9 +1,22 @@
-/********************************************************************
- * Copyright (c) 2014, Pivotal Inc.
- * All rights reserved.
- *
- * Author: Zhanwei Wang
- ********************************************************************/
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 #include "gtest/gtest.h"
 
 int main(int argc, char ** argv) {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/test/function/TestLibYarnClient.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/test/function/TestLibYarnClient.cpp b/depends/libyarn/test/function/TestLibYarnClient.cpp
index c19486d..a39377d 100644
--- a/depends/libyarn/test/function/TestLibYarnClient.cpp
+++ b/depends/libyarn/test/function/TestLibYarnClient.cpp
@@ -1,9 +1,22 @@
 /*
- * TestLibYarnClient.cpp
- *
- *  Created on: Mar 2, 2015
- *      Author: weikui
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
+
 #include "gtest/gtest.h"
 #include "libyarnclient/LibYarnClient.h"
 #include "records/FinalApplicationStatus.h"