diff --git metastore/src/java/org/apache/hadoop/hive/metastore/hbase/stats/IExtrapolatePartStatus.java metastore/src/java/org/apache/hadoop/hive/metastore/hbase/stats/IExtrapolatePartStatus.java
index 99af060..13bb4e1 100644
--- metastore/src/java/org/apache/hadoop/hive/metastore/hbase/stats/IExtrapolatePartStatus.java
+++ metastore/src/java/org/apache/hadoop/hive/metastore/hbase/stats/IExtrapolatePartStatus.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.metastore.hbase.stats;
import java.util.Map;
diff --git metastore/src/model/org/apache/hadoop/hive/metastore/model/MConstraint.java metastore/src/model/org/apache/hadoop/hive/metastore/model/MConstraint.java
index 5876060..b736591 100644
--- metastore/src/model/org/apache/hadoop/hive/metastore/model/MConstraint.java
+++ metastore/src/model/org/apache/hadoop/hive/metastore/model/MConstraint.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.metastore.model;
import java.io.Serializable;
diff --git orc/src/java/org/apache/orc/impl/DataReaderProperties.java orc/src/java/org/apache/orc/impl/DataReaderProperties.java
index bb73d53..e868d3b 100644
--- orc/src/java/org/apache/orc/impl/DataReaderProperties.java
+++ orc/src/java/org/apache/orc/impl/DataReaderProperties.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.orc.impl;
import com.google.common.base.Preconditions;
diff --git orc/src/test/org/apache/orc/impl/TestDataReaderProperties.java orc/src/test/org/apache/orc/impl/TestDataReaderProperties.java
index b9918f2..c6e2668 100644
--- orc/src/test/org/apache/orc/impl/TestDataReaderProperties.java
+++ orc/src/test/org/apache/orc/impl/TestDataReaderProperties.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.orc.impl;
import org.apache.hadoop.fs.FileSystem;
diff --git pom.xml pom.xml
index 41522de..21300a8 100644
--- pom.xml
+++ pom.xml
@@ -1057,6 +1057,7 @@
**/README.md
**/*.iml
**/*.txt
+ **/serviceCheckScript.sql
**/*.log
**/*.arcconfig
**/package-info.java
diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/SparkJobUtils.java ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/SparkJobUtils.java
index 383d76f..9dfd6c1 100644
--- ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/SparkJobUtils.java
+++ ql/src/java/org/apache/hadoop/hive/ql/exec/spark/status/impl/SparkJobUtils.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.ql.exec.spark.status.impl;
import java.util.LinkedHashMap;
diff --git ql/src/java/org/apache/hadoop/hive/ql/txn/AcidWriteSetService.java ql/src/java/org/apache/hadoop/hive/ql/txn/AcidWriteSetService.java
index 9085a6a..2419cdc 100644
--- ql/src/java/org/apache/hadoop/hive/ql/txn/AcidWriteSetService.java
+++ ql/src/java/org/apache/hadoop/hive/ql/txn/AcidWriteSetService.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.ql.txn;
import org.apache.hadoop.hive.conf.HiveConf;
diff --git ql/src/test/org/apache/hadoop/hive/ql/plan/TestTezWorkConcurrency.java ql/src/test/org/apache/hadoop/hive/ql/plan/TestTezWorkConcurrency.java
index c59fd10..e8b27b9 100644
--- ql/src/test/org/apache/hadoop/hive/ql/plan/TestTezWorkConcurrency.java
+++ ql/src/test/org/apache/hadoop/hive/ql/plan/TestTezWorkConcurrency.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.ql.plan;
import com.google.common.collect.Lists;
diff --git serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftFormatter.java serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftFormatter.java
index a4c120e..18224ab 100644
--- serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftFormatter.java
+++ serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftFormatter.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.serde2.thrift;
import java.io.IOException;
@@ -37,4 +55,4 @@ public Object convert(Object row, ObjectInspector rowOI) throws Exception {
@Override
public void close() throws IOException {
}
-}
\ No newline at end of file
+}
diff --git storage-api/src/test/org/apache/hadoop/hive/ql/util/JavaDataModelTest.java storage-api/src/test/org/apache/hadoop/hive/ql/util/JavaDataModelTest.java
index 35976cc..1cb3a94 100644
--- storage-api/src/test/org/apache/hadoop/hive/ql/util/JavaDataModelTest.java
+++ storage-api/src/test/org/apache/hadoop/hive/ql/util/JavaDataModelTest.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.hadoop.hive.ql.util;
import org.junit.After;
@@ -56,4 +74,4 @@ public void testGetModelForSystemWhenUndefined() throws Exception {
System.clearProperty(DATA_MODEL_PROPERTY);
assertSame(JavaDataModel.JAVA64, JavaDataModel.getModelForSystem());
}
-}
\ No newline at end of file
+}