hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [11/14] incubator-hawq git commit: HAWQ-57. Add license header to source files and add the NOTICE file
Date Thu, 12 Nov 2015 03:35:46 GMT
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainerRequest.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainerRequest.h b/depends/libyarn/src/protocolrecords/StartContainerRequest.h
index 708455a..1af3756 100644
--- a/depends/libyarn/src/protocolrecords/StartContainerRequest.h
+++ b/depends/libyarn/src/protocolrecords/StartContainerRequest.h
@@ -1,8 +1,20 @@
 /*
- * StartContainerRequest.h
- *
- *  Created on: Jul 17, 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 STARTCONTAINERREQUEST_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainerResponse.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainerResponse.cpp b/depends/libyarn/src/protocolrecords/StartContainerResponse.cpp
index 2f87c7f..52a2bb1 100644
--- a/depends/libyarn/src/protocolrecords/StartContainerResponse.cpp
+++ b/depends/libyarn/src/protocolrecords/StartContainerResponse.cpp
@@ -1,8 +1,20 @@
 /*
- * StartContainerResponse.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 "StartContainerResponse.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainerResponse.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainerResponse.h b/depends/libyarn/src/protocolrecords/StartContainerResponse.h
index 1c0c48e..7a1ae44 100644
--- a/depends/libyarn/src/protocolrecords/StartContainerResponse.h
+++ b/depends/libyarn/src/protocolrecords/StartContainerResponse.h
@@ -1,8 +1,20 @@
 /*
- * StartContainerResponse.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 STARTCONTAINERRESPONSE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainersRequest.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainersRequest.cpp b/depends/libyarn/src/protocolrecords/StartContainersRequest.cpp
index 0db4e54..7fab9a1 100644
--- a/depends/libyarn/src/protocolrecords/StartContainersRequest.cpp
+++ b/depends/libyarn/src/protocolrecords/StartContainersRequest.cpp
@@ -1,8 +1,20 @@
 /*
- * StartContainersRequest.cpp
- *
- *  Created on: Jul 17, 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 "StartContainersRequest.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainersRequest.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainersRequest.h b/depends/libyarn/src/protocolrecords/StartContainersRequest.h
index 5b367d5..47044ef 100644
--- a/depends/libyarn/src/protocolrecords/StartContainersRequest.h
+++ b/depends/libyarn/src/protocolrecords/StartContainersRequest.h
@@ -1,8 +1,20 @@
 /*
- * StartContainersRequest.h
- *
- *  Created on: Jul 17, 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 STARTCONTAINERSREQUEST_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainersResponse.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainersResponse.cpp b/depends/libyarn/src/protocolrecords/StartContainersResponse.cpp
index f360d33..925c57b 100644
--- a/depends/libyarn/src/protocolrecords/StartContainersResponse.cpp
+++ b/depends/libyarn/src/protocolrecords/StartContainersResponse.cpp
@@ -1,8 +1,20 @@
 /*
- * StartContainersResponse.cpp
- *
- *  Created on: Jul 20, 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 "StartContainersResponse.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StartContainersResponse.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StartContainersResponse.h b/depends/libyarn/src/protocolrecords/StartContainersResponse.h
index 5c2eb77..2493fc4 100644
--- a/depends/libyarn/src/protocolrecords/StartContainersResponse.h
+++ b/depends/libyarn/src/protocolrecords/StartContainersResponse.h
@@ -1,10 +1,23 @@
 /*
- * StartContainersResponse.h
- *
- *  Created on: Jul 20, 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 STARTCONTAINERSRESPONSE_H_
 #define STARTCONTAINERSRESPONSE_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StopContainersRequest.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StopContainersRequest.cpp b/depends/libyarn/src/protocolrecords/StopContainersRequest.cpp
index 0a9e922..5d791bb 100644
--- a/depends/libyarn/src/protocolrecords/StopContainersRequest.cpp
+++ b/depends/libyarn/src/protocolrecords/StopContainersRequest.cpp
@@ -1,8 +1,20 @@
 /*
- * StopContainersRequest.cpp
- *
- *  Created on: Jul 18, 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 "StopContainersRequest.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StopContainersRequest.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StopContainersRequest.h b/depends/libyarn/src/protocolrecords/StopContainersRequest.h
index cfc36af..82e51c2 100644
--- a/depends/libyarn/src/protocolrecords/StopContainersRequest.h
+++ b/depends/libyarn/src/protocolrecords/StopContainersRequest.h
@@ -1,8 +1,20 @@
 /*
- * StopContainersRequest.h
- *
- *  Created on: Jul 18, 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 STOPCONTAINERSREQUEST_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StopContainersResponse.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StopContainersResponse.cpp b/depends/libyarn/src/protocolrecords/StopContainersResponse.cpp
index 38923ea..e8a6eb2 100644
--- a/depends/libyarn/src/protocolrecords/StopContainersResponse.cpp
+++ b/depends/libyarn/src/protocolrecords/StopContainersResponse.cpp
@@ -1,8 +1,20 @@
 /*
- * StopContainersResponse.cpp
- *
- *  Created on: Jul 21, 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 "StopContainersResponse.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/StopContainersResponse.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/StopContainersResponse.h b/depends/libyarn/src/protocolrecords/StopContainersResponse.h
index a3317af..80b658f 100644
--- a/depends/libyarn/src/protocolrecords/StopContainersResponse.h
+++ b/depends/libyarn/src/protocolrecords/StopContainersResponse.h
@@ -1,8 +1,20 @@
 /*
- * StopContainersResponse.h
- *
- *  Created on: Jul 21, 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 STOPCONTAINERSRESPONSE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.cpp b/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.cpp
index b094752..1372200 100644
--- a/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.cpp
+++ b/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.cpp
@@ -1,9 +1,22 @@
 /*
- * SubmitApplicationRequest.cpp
- *
- *  Created on: Jul 14, 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 <iostream>
 
 #include "SubmitApplicationRequest.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.h b/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.h
index 5f53bab..4fa2c5e 100644
--- a/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.h
+++ b/depends/libyarn/src/protocolrecords/SubmitApplicationRequest.h
@@ -1,8 +1,20 @@
 /*
- * SubmitApplicationRequest.h
- *
- *  Created on: Jul 14, 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 SUBMITAPPLICATIONREQUEST_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.cpp b/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.cpp
index 5142dbe..4301130 100644
--- a/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.cpp
+++ b/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.cpp
@@ -1,10 +1,23 @@
 /*
- * SubmitApplicationResponse.cpp
- *
- *  Created on: Jul 14, 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 "SubmitApplicationResponse.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.h b/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.h
index a5e44b4..352fed4 100644
--- a/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.h
+++ b/depends/libyarn/src/protocolrecords/SubmitApplicationResponse.h
@@ -1,8 +1,20 @@
 /*
- * SubmitApplicationResponse.h
- *
- *  Created on: Jul 14, 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 SUBMITAPPLICATIONRESPONSE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/AMCommand.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/AMCommand.h b/depends/libyarn/src/records/AMCommand.h
index e922b86..ad70ab9 100644
--- a/depends/libyarn/src/records/AMCommand.h
+++ b/depends/libyarn/src/records/AMCommand.h
@@ -1,8 +1,20 @@
 /*
- * 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 AMCOMMAND_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationACLMap.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationACLMap.cpp b/depends/libyarn/src/records/ApplicationACLMap.cpp
index 51e3a38..6ccb405 100644
--- a/depends/libyarn/src/records/ApplicationACLMap.cpp
+++ b/depends/libyarn/src/records/ApplicationACLMap.cpp
@@ -1,8 +1,20 @@
 /*
- * ApplicationACLMap.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 "ApplicationACLMap.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationACLMap.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationACLMap.h b/depends/libyarn/src/records/ApplicationACLMap.h
index 75f1d95..be17a39 100644
--- a/depends/libyarn/src/records/ApplicationACLMap.h
+++ b/depends/libyarn/src/records/ApplicationACLMap.h
@@ -1,8 +1,20 @@
 /*
- * ApplicationACLMap.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 APPLICATIONACLMAP_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationAccessType.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationAccessType.h b/depends/libyarn/src/records/ApplicationAccessType.h
index 210f03e..dc6173b 100644
--- a/depends/libyarn/src/records/ApplicationAccessType.h
+++ b/depends/libyarn/src/records/ApplicationAccessType.h
@@ -1,8 +1,20 @@
 /*
- * ApplicationAccessType.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 APPLICATIONACCESSTYPE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationAttemptId.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationAttemptId.cpp b/depends/libyarn/src/records/ApplicationAttemptId.cpp
index 5f6befa..1b47c07 100644
--- a/depends/libyarn/src/records/ApplicationAttemptId.cpp
+++ b/depends/libyarn/src/records/ApplicationAttemptId.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 "ApplicationAttemptId.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationAttemptId.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationAttemptId.h b/depends/libyarn/src/records/ApplicationAttemptId.h
index 9a63126..e9b70f9 100644
--- a/depends/libyarn/src/records/ApplicationAttemptId.h
+++ b/depends/libyarn/src/records/ApplicationAttemptId.h
@@ -1,10 +1,23 @@
 /*
- * 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 APPLICATIONATTEMPTID_H_
 #define APPLICATIONATTEMPTID_H_
 

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationID.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationID.h b/depends/libyarn/src/records/ApplicationID.h
index 60bf46a..6eda5b3 100644
--- a/depends/libyarn/src/records/ApplicationID.h
+++ b/depends/libyarn/src/records/ApplicationID.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 APPLICATIONIDS_H_
 #define APPLICATIONIDS_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationReport.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationReport.cpp b/depends/libyarn/src/records/ApplicationReport.cpp
index be6ddd9..2ac14ef 100644
--- a/depends/libyarn/src/records/ApplicationReport.cpp
+++ b/depends/libyarn/src/records/ApplicationReport.cpp
@@ -1,9 +1,22 @@
 /*
- * ApplicationReport.cpp
- *
- *  Created on: Jul 8, 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 "ApplicationReport.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationReport.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationReport.h b/depends/libyarn/src/records/ApplicationReport.h
index cb66eb9..4863fa2 100644
--- a/depends/libyarn/src/records/ApplicationReport.h
+++ b/depends/libyarn/src/records/ApplicationReport.h
@@ -1,8 +1,20 @@
 /*
- * ApplicationReport.h
- *
- *  Created on: Jul 8, 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 APPLICATIONREPORT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationResourceUsageReport.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationResourceUsageReport.cpp b/depends/libyarn/src/records/ApplicationResourceUsageReport.cpp
index 0ba7305..ee4c8bd 100644
--- a/depends/libyarn/src/records/ApplicationResourceUsageReport.cpp
+++ b/depends/libyarn/src/records/ApplicationResourceUsageReport.cpp
@@ -1,8 +1,20 @@
 /*
- * ApplicationResourceUsageReport.cpp
- *
- *  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.
  */
 
 #include "ApplicationResourceUsageReport.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationResourceUsageReport.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationResourceUsageReport.h b/depends/libyarn/src/records/ApplicationResourceUsageReport.h
index 9414e6c..69db371 100644
--- a/depends/libyarn/src/records/ApplicationResourceUsageReport.h
+++ b/depends/libyarn/src/records/ApplicationResourceUsageReport.h
@@ -1,8 +1,20 @@
 /*
- * ApplicationResourceUsageReport.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 APPLICATIONRESOURCEUSAGEREPORT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationSubmissionContext.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationSubmissionContext.cpp b/depends/libyarn/src/records/ApplicationSubmissionContext.cpp
index a57b160..da9e9b4 100644
--- a/depends/libyarn/src/records/ApplicationSubmissionContext.cpp
+++ b/depends/libyarn/src/records/ApplicationSubmissionContext.cpp
@@ -1,8 +1,20 @@
 /*
- * ApplicationSubmissionContext.cpp
- *
- *  Created on: Jul 14, 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 "ApplicationSubmissionContext.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ApplicationSubmissionContext.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ApplicationSubmissionContext.h b/depends/libyarn/src/records/ApplicationSubmissionContext.h
index 7dffa50..0e3c6cc 100644
--- a/depends/libyarn/src/records/ApplicationSubmissionContext.h
+++ b/depends/libyarn/src/records/ApplicationSubmissionContext.h
@@ -1,8 +1,20 @@
 /*
- * ApplicationSubmissionContext.h
- *
- *  Created on: Jul 14, 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 APPLICATIONSUBMISSIONCONTEXT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/Container.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/Container.cpp b/depends/libyarn/src/records/Container.cpp
index 792be13..f734737 100644
--- a/depends/libyarn/src/records/Container.cpp
+++ b/depends/libyarn/src/records/Container.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 "Container.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/Container.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/Container.h b/depends/libyarn/src/records/Container.h
index 42b155c..f982b32 100644
--- a/depends/libyarn/src/records/Container.h
+++ b/depends/libyarn/src/records/Container.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 CONTAINER_H_
 #define CONTAINER_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerExceptionMap.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerExceptionMap.cpp b/depends/libyarn/src/records/ContainerExceptionMap.cpp
index 80bfdbb..c965d4d 100644
--- a/depends/libyarn/src/records/ContainerExceptionMap.cpp
+++ b/depends/libyarn/src/records/ContainerExceptionMap.cpp
@@ -1,8 +1,20 @@
 /*
- * ContainerExceptionMap.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 "ContainerExceptionMap.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerExceptionMap.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerExceptionMap.h b/depends/libyarn/src/records/ContainerExceptionMap.h
index 47c7aa3..365e826 100644
--- a/depends/libyarn/src/records/ContainerExceptionMap.h
+++ b/depends/libyarn/src/records/ContainerExceptionMap.h
@@ -1,8 +1,20 @@
 /*
- * ContainerExceptionMap.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 CONTAINEREXCEPTIONMAP_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerExitStatus.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerExitStatus.h b/depends/libyarn/src/records/ContainerExitStatus.h
index 7fb9837..9682552 100644
--- a/depends/libyarn/src/records/ContainerExitStatus.h
+++ b/depends/libyarn/src/records/ContainerExitStatus.h
@@ -1,8 +1,20 @@
 /*
- * ContainerExitStatus.h
- *
- *  Created on: Jan 5, 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.
  */
 
 #ifndef CONTAINEREXITSTATUS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerId.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerId.cpp b/depends/libyarn/src/records/ContainerId.cpp
index 8ea488c..fab48cc 100644
--- a/depends/libyarn/src/records/ContainerId.cpp
+++ b/depends/libyarn/src/records/ContainerId.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 "ContainerId.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerId.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerId.h b/depends/libyarn/src/records/ContainerId.h
index 23b81da..b92c8b3 100644
--- a/depends/libyarn/src/records/ContainerId.h
+++ b/depends/libyarn/src/records/ContainerId.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 CONTAINERID_H_
 #define CONTAINERID_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerLaunchContext.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerLaunchContext.cpp b/depends/libyarn/src/records/ContainerLaunchContext.cpp
index fe89181..a27abd4 100644
--- a/depends/libyarn/src/records/ContainerLaunchContext.cpp
+++ b/depends/libyarn/src/records/ContainerLaunchContext.cpp
@@ -1,8 +1,20 @@
 /*
- * ContainerLaunchContext.cpp
- *
- *  Created on: Jul 14, 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 "ContainerLaunchContext.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerLaunchContext.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerLaunchContext.h b/depends/libyarn/src/records/ContainerLaunchContext.h
index 23eadd7..0477f2c 100644
--- a/depends/libyarn/src/records/ContainerLaunchContext.h
+++ b/depends/libyarn/src/records/ContainerLaunchContext.h
@@ -1,8 +1,20 @@
 /*
- * ContainerLaunchContext.h
- *
- *  Created on: Jul 14, 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 CONTAINERLAUNCHCONTEXT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerReport.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerReport.cpp b/depends/libyarn/src/records/ContainerReport.cpp
index 3856a55..a13f038 100644
--- a/depends/libyarn/src/records/ContainerReport.cpp
+++ b/depends/libyarn/src/records/ContainerReport.cpp
@@ -1,8 +1,20 @@
 /*
- * ContainerReport.cpp
- *
- *  Created on: Jan 5, 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 "ContainerReport.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerReport.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerReport.h b/depends/libyarn/src/records/ContainerReport.h
index 2f3132a..41d0c54 100644
--- a/depends/libyarn/src/records/ContainerReport.h
+++ b/depends/libyarn/src/records/ContainerReport.h
@@ -1,8 +1,20 @@
 /*
- * ContainerReport.h
- *
- *  Created on: Jan 5, 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.
  */
 
 #ifndef CONTAINERREPORT_H_

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

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerStatus.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerStatus.cpp b/depends/libyarn/src/records/ContainerStatus.cpp
index 9f3c88b..ac9dab9 100644
--- a/depends/libyarn/src/records/ContainerStatus.cpp
+++ b/depends/libyarn/src/records/ContainerStatus.cpp
@@ -1,8 +1,20 @@
 /*
- * ContainerStatus.cpp
- *
- *  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 "ContainerStatus.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/ContainerStatus.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/ContainerStatus.h b/depends/libyarn/src/records/ContainerStatus.h
index deff270..ae4efa0 100644
--- a/depends/libyarn/src/records/ContainerStatus.h
+++ b/depends/libyarn/src/records/ContainerStatus.h
@@ -1,8 +1,20 @@
 /*
- * ContainerStatus.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 CONTAINERSTATUS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/FinalApplicationStatus.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/FinalApplicationStatus.h b/depends/libyarn/src/records/FinalApplicationStatus.h
index 14ff039..cc1c81f 100644
--- a/depends/libyarn/src/records/FinalApplicationStatus.h
+++ b/depends/libyarn/src/records/FinalApplicationStatus.h
@@ -1,8 +1,20 @@
 /*
- * FinalApplicationStatus.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 FINALAPPLICATIONSTATUS_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/FunctionResult.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/FunctionResult.h b/depends/libyarn/src/records/FunctionResult.h
index b200342..ba61167 100644
--- a/depends/libyarn/src/records/FunctionResult.h
+++ b/depends/libyarn/src/records/FunctionResult.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.
+ */
+
+/*
  * FunctionResult.h
  */
 #ifndef FUNCTIONRESULT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/LocalResource.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/LocalResource.cpp b/depends/libyarn/src/records/LocalResource.cpp
index 58b7f43..e6ea156 100644
--- a/depends/libyarn/src/records/LocalResource.cpp
+++ b/depends/libyarn/src/records/LocalResource.cpp
@@ -1,8 +1,20 @@
 /*
- * LocalResource.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 "LocalResource.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/LocalResource.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/LocalResource.h b/depends/libyarn/src/records/LocalResource.h
index 36f2126..87b9c6f 100644
--- a/depends/libyarn/src/records/LocalResource.h
+++ b/depends/libyarn/src/records/LocalResource.h
@@ -1,8 +1,20 @@
 /*
- * LocalResource.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 LOCALRESOURCE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/LocalResourceType.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/LocalResourceType.h b/depends/libyarn/src/records/LocalResourceType.h
index 6e19fec..db038d9 100644
--- a/depends/libyarn/src/records/LocalResourceType.h
+++ b/depends/libyarn/src/records/LocalResourceType.h
@@ -1,10 +1,23 @@
 /*
- * LocalResourceType.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 LOCALRESOURCETYPE_H_
 #define LOCALRESOURCETYPE_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/LocalResourceVisibility.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/LocalResourceVisibility.h b/depends/libyarn/src/records/LocalResourceVisibility.h
index 569eb5f..4351629 100644
--- a/depends/libyarn/src/records/LocalResourceVisibility.h
+++ b/depends/libyarn/src/records/LocalResourceVisibility.h
@@ -1,8 +1,20 @@
 /*
- * LocalResourceVisibility.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 LOCALRESOURCEVISIBILITY_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NMToken.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NMToken.cpp b/depends/libyarn/src/records/NMToken.cpp
index f5e2c18..47ff971 100644
--- a/depends/libyarn/src/records/NMToken.cpp
+++ b/depends/libyarn/src/records/NMToken.cpp
@@ -1,8 +1,20 @@
 /*
- * NMToken.cpp
- *
- *  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 "NMToken.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NMToken.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NMToken.h b/depends/libyarn/src/records/NMToken.h
index 99bd8f3..e1122bd 100644
--- a/depends/libyarn/src/records/NMToken.h
+++ b/depends/libyarn/src/records/NMToken.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 NMTOKEN_H_
 #define NMTOKEN_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NodeId.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NodeId.cpp b/depends/libyarn/src/records/NodeId.cpp
index ae3a74c..87a0c9c 100644
--- a/depends/libyarn/src/records/NodeId.cpp
+++ b/depends/libyarn/src/records/NodeId.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 "NodeId.h"
 
 namespace libyarn {

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NodeId.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NodeId.h b/depends/libyarn/src/records/NodeId.h
index 98757ba..e735110 100644
--- a/depends/libyarn/src/records/NodeId.h
+++ b/depends/libyarn/src/records/NodeId.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 NODEID_H_
 #define NODEID_H_
 

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NodeReport.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NodeReport.cpp b/depends/libyarn/src/records/NodeReport.cpp
index 113abac..6e38bc0 100644
--- a/depends/libyarn/src/records/NodeReport.cpp
+++ b/depends/libyarn/src/records/NodeReport.cpp
@@ -1,8 +1,20 @@
 /*
- * NodeReport.cpp
- *
- *  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 "NodeReport.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NodeReport.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NodeReport.h b/depends/libyarn/src/records/NodeReport.h
index 7b3eb32..e426e2f 100644
--- a/depends/libyarn/src/records/NodeReport.h
+++ b/depends/libyarn/src/records/NodeReport.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.
+ */
+
+/*
  * NodeReport.h
  *
  *  Created on: Jul 16, 2014

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/NodeState.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/NodeState.h b/depends/libyarn/src/records/NodeState.h
index 3a6cca2..6ea53bf 100644
--- a/depends/libyarn/src/records/NodeState.h
+++ b/depends/libyarn/src/records/NodeState.h
@@ -1,8 +1,20 @@
 /*
- * NodeState.h
- *
- *  Created on: Jul 18, 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 NODESTATE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionContainer.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionContainer.cpp b/depends/libyarn/src/records/PreemptionContainer.cpp
index 530ddf3..8389fb3 100644
--- a/depends/libyarn/src/records/PreemptionContainer.cpp
+++ b/depends/libyarn/src/records/PreemptionContainer.cpp
@@ -1,8 +1,20 @@
 /*
- * PreemptionContainer.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 "PreemptionContainer.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionContainer.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionContainer.h b/depends/libyarn/src/records/PreemptionContainer.h
index 09a4bec..019f126 100644
--- a/depends/libyarn/src/records/PreemptionContainer.h
+++ b/depends/libyarn/src/records/PreemptionContainer.h
@@ -1,8 +1,20 @@
 /*
- * PreemptionContainer.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 PREEMPTIONCONTAINER_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionContract.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionContract.cpp b/depends/libyarn/src/records/PreemptionContract.cpp
index f94b1d4..dbf4724 100644
--- a/depends/libyarn/src/records/PreemptionContract.cpp
+++ b/depends/libyarn/src/records/PreemptionContract.cpp
@@ -1,8 +1,20 @@
 /*
- * PreemptionContract.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 "PreemptionContract.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionContract.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionContract.h b/depends/libyarn/src/records/PreemptionContract.h
index 89c277d..83ed203 100644
--- a/depends/libyarn/src/records/PreemptionContract.h
+++ b/depends/libyarn/src/records/PreemptionContract.h
@@ -1,8 +1,20 @@
 /*
- * PreemptionContract.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 PREEMPTIONCONTRACT_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionMessage.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionMessage.cpp b/depends/libyarn/src/records/PreemptionMessage.cpp
index 538b298..09e5161 100644
--- a/depends/libyarn/src/records/PreemptionMessage.cpp
+++ b/depends/libyarn/src/records/PreemptionMessage.cpp
@@ -1,8 +1,20 @@
 /*
- * PreemptionMessage.cpp
- *
- *  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 "PreemptionMessage.h"

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionMessage.h
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionMessage.h b/depends/libyarn/src/records/PreemptionMessage.h
index 19aac20..0547d12 100644
--- a/depends/libyarn/src/records/PreemptionMessage.h
+++ b/depends/libyarn/src/records/PreemptionMessage.h
@@ -1,8 +1,20 @@
 /*
- * PreemptionMessage.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 PREEMPTIONMESSAGE_H_

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a41ad6f2/depends/libyarn/src/records/PreemptionResourceRequest.cpp
----------------------------------------------------------------------
diff --git a/depends/libyarn/src/records/PreemptionResourceRequest.cpp b/depends/libyarn/src/records/PreemptionResourceRequest.cpp
index b4ab1df..6b871f2 100644
--- a/depends/libyarn/src/records/PreemptionResourceRequest.cpp
+++ b/depends/libyarn/src/records/PreemptionResourceRequest.cpp
@@ -1,8 +1,20 @@
 /*
- * PreemptionResourceRequest.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 "PreemptionResourceRequest.h"



Mime
View raw message