This is an automated email from the ASF dual-hosted git repository.

gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 028354e  Adding licenses and enable apache-rat-plugin. (#6215)
028354e is described below

commit 028354eea8871f66dc5d0b446602fb6efa703d7e
Author: Slim Bouguerra <[email protected]>
AuthorDate: Tue Sep 18 08:39:26 2018 -0700

    Adding licenses and enable apache-rat-plugin. (#6215)
    
    * Adding licenses and enable apache-rat-plugi.
    
    Change-Id: I4685a2d9f1e147855dba69329b286f2d5bee3c18
    
    * restore the copywrite of demo_table and add it to the list of allowed ones
    
    Change-Id: I2a9efde6f4b984bc1ac90483e90d98e71f818a14
    
    * revirew comments
    
    Change-Id: I0256c930b7f9a5bb09b44b5e7a149e6ec48cb0ca
    
    * more fixup
    
    Change-Id: I1355e8a2549e76cd44487abec142be79bec59de2
    
    * align
    
    Change-Id: I70bc47ecb577bdf6b91639dd91b6f5642aa6b02f
---
 examples/bin/broker.sh                             | 14 ++++
 examples/bin/coordinator.sh                        | 14 ++++
 examples/bin/generate-example-metrics              | 17 ++++
 examples/bin/historical.sh                         | 14 ++++
 examples/bin/init                                  | 14 ++++
 examples/bin/middleManager.sh                      | 14 ++++
 examples/bin/node.sh                               | 14 ++++
 examples/bin/overlord.sh                           | 14 ++++
 .../quickstart/tutorial/hadoop/docker/Dockerfile   | 16 ++++
 .../quickstart/tutorial/hadoop/docker/bootstrap.sh | 14 ++++
 .../tutorial/hadoop/docker/core-site.xml.template  | 20 ++++-
 .../tutorial/hadoop/docker/hdfs-site.xml           | 18 +++++
 .../tutorial/hadoop/docker/mapred-site.xml         | 18 +++++
 .../tutorial/hadoop/docker/yarn-site.xml           | 18 +++++
 .../druid/extendedset/intset/ConciseSetUtils.java  | 20 +++++
 .../druid/extendedset/utilities/IntList.java       | 20 +++++
 .../druid/data/input/influx/InfluxLineProtocol.g4  | 18 +++++
 .../resources/indexer_static/js/console-0.0.1.js   | 18 +++++
 integration-tests/docker-base/Dockerfile           | 16 ++++
 integration-tests/docker-base/setup.sh             | 14 ++++
 integration-tests/docker/Dockerfile                | 15 ++++
 integration-tests/run_cluster.sh                   | 18 ++++-
 integration-tests/stop_cluster.sh                  | 16 ++++
 pom.xml                                            | 93 ++++++++++++++++++++++
 .../resources/static/old-console/css/config.css    | 18 +++++
 .../resources/static/old-console/css/enable.css    | 18 +++++
 .../resources/static/old-console/css/index.css     | 18 +++++
 .../resources/static/old-console/css/rules.css     | 18 +++++
 .../resources/static/old-console/css/style.css     | 18 +++++
 .../static/old-console/js/config-0.0.2.js          | 18 +++++
 .../static/old-console/js/druidTable-0.0.1.js      | 18 +++++
 .../static/old-console/js/enable-0.0.1.js          | 18 +++++
 .../static/old-console/js/handlers-0.0.2.js        | 18 +++++
 .../resources/static/old-console/js/init-0.0.2.js  | 18 +++++
 .../old-console/js/jquery.dataTables-1.8.2.js      | 10 +--
 .../resources/static/old-console/js/kill-0.0.1.js  | 18 +++++
 .../resources/static/old-console/js/rules-0.0.2.js | 18 +++++
 .../static/old-console/js/tablehelper-0.0.2.js     | 18 +++++
 services/src/bin/run.sh                            | 16 ++++
 upload.sh                                          | 14 ++++
 40 files changed, 734 insertions(+), 7 deletions(-)

diff --git a/examples/bin/broker.sh b/examples/bin/broker.sh
index 5ad12ac..188bf11 100644
--- a/examples/bin/broker.sh
+++ b/examples/bin/broker.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 usage="Usage: broker.sh (start|stop|status)"
 
diff --git a/examples/bin/coordinator.sh b/examples/bin/coordinator.sh
index d7425b1..8e105c8 100644
--- a/examples/bin/coordinator.sh
+++ b/examples/bin/coordinator.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 usage="Usage: coordinator.sh (start|stop|status)"
 
diff --git a/examples/bin/generate-example-metrics 
b/examples/bin/generate-example-metrics
index 57f78fe..3bec6af 100755
--- a/examples/bin/generate-example-metrics
+++ b/examples/bin/generate-example-metrics
@@ -1,5 +1,22 @@
 #!/usr/bin/env python
 
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 import argparse
 import json
 import random
diff --git a/examples/bin/historical.sh b/examples/bin/historical.sh
index cee469b..dc2b9e2 100644
--- a/examples/bin/historical.sh
+++ b/examples/bin/historical.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 usage="Usage: historical.sh (start|stop|status)"
 
diff --git a/examples/bin/init b/examples/bin/init
index d849b44..eba2b5a 100644
--- a/examples/bin/init
+++ b/examples/bin/init
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# 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.
 
 gzip -c -d quickstart/wikiticker-2015-09-12-sampled.json.gz > 
"quickstart/wikiticker-2015-09-12-sampled.json"
 
diff --git a/examples/bin/middleManager.sh b/examples/bin/middleManager.sh
index da20a19..345d2fa 100644
--- a/examples/bin/middleManager.sh
+++ b/examples/bin/middleManager.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 usage="Usage: middleManager.sh (start|stop|status)"
 
diff --git a/examples/bin/node.sh b/examples/bin/node.sh
index cb5f7a7..5ad9748 100644
--- a/examples/bin/node.sh
+++ b/examples/bin/node.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# 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.
 
 ## Initialization script for druid nodes
 ## Runs druid nodes as a daemon
diff --git a/examples/bin/overlord.sh b/examples/bin/overlord.sh
index a1fb008..2980ef1 100644
--- a/examples/bin/overlord.sh
+++ b/examples/bin/overlord.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -eu
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 usage="Usage: overlord.sh (start|stop|status)"
 
diff --git a/examples/quickstart/tutorial/hadoop/docker/Dockerfile 
b/examples/quickstart/tutorial/hadoop/docker/Dockerfile
index 31aeeb4..1801da2 100644
--- a/examples/quickstart/tutorial/hadoop/docker/Dockerfile
+++ b/examples/quickstart/tutorial/hadoop/docker/Dockerfile
@@ -1,3 +1,19 @@
+# Based on the SequenceIQ hadoop-docker project hosted at
+# https://github.com/sequenceiq/hadoop-docker, and modified at
+# the Apache Software Foundation (ASF).
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Creates pseudo distributed hadoop 2.8.3 with java 8
 #
 # Modified from the SequenceIQ Dockerfiles at 
https://github.com/sequenceiq/hadoop-docker
diff --git a/examples/quickstart/tutorial/hadoop/docker/bootstrap.sh 
b/examples/quickstart/tutorial/hadoop/docker/bootstrap.sh
index 4cf0e55..fc96215 100755
--- a/examples/quickstart/tutorial/hadoop/docker/bootstrap.sh
+++ b/examples/quickstart/tutorial/hadoop/docker/bootstrap.sh
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 : ${HADOOP_PREFIX:=/usr/local/hadoop}
 
diff --git a/examples/quickstart/tutorial/hadoop/docker/core-site.xml.template 
b/examples/quickstart/tutorial/hadoop/docker/core-site.xml.template
index 00ab595..256de4f 100644
--- a/examples/quickstart/tutorial/hadoop/docker/core-site.xml.template
+++ b/examples/quickstart/tutorial/hadoop/docker/core-site.xml.template
@@ -1,4 +1,22 @@
-  <configuration>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+    <configuration>
       <property>
           <name>fs.defaultFS</name>
           <value>hdfs://HOSTNAME:9000</value>
diff --git a/examples/quickstart/tutorial/hadoop/docker/hdfs-site.xml 
b/examples/quickstart/tutorial/hadoop/docker/hdfs-site.xml
index d295561..18758b97 100644
--- a/examples/quickstart/tutorial/hadoop/docker/hdfs-site.xml
+++ b/examples/quickstart/tutorial/hadoop/docker/hdfs-site.xml
@@ -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.
+  -->
+
 <configuration>
     <property>
         <name>dfs.replication</name>
diff --git a/examples/quickstart/tutorial/hadoop/docker/mapred-site.xml 
b/examples/quickstart/tutorial/hadoop/docker/mapred-site.xml
index dba582f..96aa1fa 100644
--- a/examples/quickstart/tutorial/hadoop/docker/mapred-site.xml
+++ b/examples/quickstart/tutorial/hadoop/docker/mapred-site.xml
@@ -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.
+  -->
+
 <configuration>
     <property>
         <name>mapreduce.framework.name</name>
diff --git a/examples/quickstart/tutorial/hadoop/docker/yarn-site.xml 
b/examples/quickstart/tutorial/hadoop/docker/yarn-site.xml
index becf694..68a0ecf 100644
--- a/examples/quickstart/tutorial/hadoop/docker/yarn-site.xml
+++ b/examples/quickstart/tutorial/hadoop/docker/yarn-site.xml
@@ -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.
+  -->
+
 <configuration>
     <property>
         <name>yarn.nodemanager.aux-services</name>
diff --git 
a/extendedset/src/main/java/org/apache/druid/extendedset/intset/ConciseSetUtils.java
 
b/extendedset/src/main/java/org/apache/druid/extendedset/intset/ConciseSetUtils.java
index d0c4a55..8e72a3c 100755
--- 
a/extendedset/src/main/java/org/apache/druid/extendedset/intset/ConciseSetUtils.java
+++ 
b/extendedset/src/main/java/org/apache/druid/extendedset/intset/ConciseSetUtils.java
@@ -1,3 +1,23 @@
+/*
+ * (c) 2010 Alessandro Colantonio
+ * <mailto:[email protected]>
+ * <http://ricerca.mat.uniroma3.it/users/colanton>
+ *
+ * Modified at the Apache Software Foundation (ASF).
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.druid.extendedset.intset;
 
 /**
diff --git 
a/extendedset/src/main/java/org/apache/druid/extendedset/utilities/IntList.java 
b/extendedset/src/main/java/org/apache/druid/extendedset/utilities/IntList.java
index 6bdd288..768de30 100755
--- 
a/extendedset/src/main/java/org/apache/druid/extendedset/utilities/IntList.java
+++ 
b/extendedset/src/main/java/org/apache/druid/extendedset/utilities/IntList.java
@@ -1,3 +1,23 @@
+/*
+ * (c) 2010 Alessandro Colantonio
+ * <mailto:[email protected]>
+ * <http://ricerca.mat.uniroma3.it/users/colanton>
+ *
+ * Modified at the Apache Software Foundation (ASF).
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.druid.extendedset.utilities;
 
 import java.util.ArrayList;
diff --git 
a/extensions-contrib/influx-extensions/src/main/antlr4/org/apache/druid/data/input/influx/InfluxLineProtocol.g4
 
b/extensions-contrib/influx-extensions/src/main/antlr4/org/apache/druid/data/input/influx/InfluxLineProtocol.g4
index 89b419f..40bdb09 100644
--- 
a/extensions-contrib/influx-extensions/src/main/antlr4/org/apache/druid/data/input/influx/InfluxLineProtocol.g4
+++ 
b/extensions-contrib/influx-extensions/src/main/antlr4/org/apache/druid/data/input/influx/InfluxLineProtocol.g4
@@ -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.
+ */
+
 /** Based on v1.4 from their docs
  at 
https://docs.influxdata.com/influxdb/v1.4/write_protocols/line_protocol_tutorial/
  **/
diff --git 
a/indexing-service/src/main/resources/indexer_static/js/console-0.0.1.js 
b/indexing-service/src/main/resources/indexer_static/js/console-0.0.1.js
index a3bf8e6..b4994f9 100644
--- a/indexing-service/src/main/resources/indexer_static/js/console-0.0.1.js
+++ b/indexing-service/src/main/resources/indexer_static/js/console-0.0.1.js
@@ -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.
+ */
+
 // requires tableHelper
 
 var oTable = [];
diff --git a/integration-tests/docker-base/Dockerfile 
b/integration-tests/docker-base/Dockerfile
index 6309f06..7be192f 100644
--- a/integration-tests/docker-base/Dockerfile
+++ b/integration-tests/docker-base/Dockerfile
@@ -1,3 +1,19 @@
+# Based on the SequenceIQ hadoop-docker project hosted at
+# https://github.com/sequenceiq/hadoop-docker, and modified at
+# the Apache Software Foundation (ASF).
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 FROM ubuntu:16.04
 
 # Bundle everything into one script so cleanup can reduce image size.
diff --git a/integration-tests/docker-base/setup.sh 
b/integration-tests/docker-base/setup.sh
index b9da522..9033a9d 100644
--- a/integration-tests/docker-base/setup.sh
+++ b/integration-tests/docker-base/setup.sh
@@ -1,4 +1,18 @@
 #!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 set -e
 set -u
diff --git a/integration-tests/docker/Dockerfile 
b/integration-tests/docker/Dockerfile
index c66ecfd..e0f104f 100644
--- a/integration-tests/docker/Dockerfile
+++ b/integration-tests/docker/Dockerfile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # Base image is built from integration-tests/docker-base in the Druid repo
 FROM imply/druiditbase
 
diff --git a/integration-tests/run_cluster.sh b/integration-tests/run_cluster.sh
index 9ef0640..e5d3a25 100755
--- a/integration-tests/run_cluster.sh
+++ b/integration-tests/run_cluster.sh
@@ -1,4 +1,20 @@
-# cleanup 
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# cleanup
 for node in druid-historical druid-coordinator druid-overlord druid-router 
druid-broker druid-middlemanager druid-zookeeper-kafka druid-metadata-storage;
 do
 docker stop $node
diff --git a/integration-tests/stop_cluster.sh 
b/integration-tests/stop_cluster.sh
index d242cf4..fb09ec2 100755
--- a/integration-tests/stop_cluster.sh
+++ b/integration-tests/stop_cluster.sh
@@ -1,3 +1,19 @@
+#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 for node in druid-historical druid-coordinator druid-overlord druid-router 
druid-broker druid-middlemanager druid-zookeeper-kafka druid-metadata-storage;
 do 
 docker stop $node
diff --git a/pom.xml b/pom.xml
index f95fb58..3419fcd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1016,6 +1016,99 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <version>0.12</version>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <outputDirectory>${project.basedir}/rat</outputDirectory>
+                    <licenses>
+                        <license 
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                            <licenseFamilyCategory>MIT</licenseFamilyCategory>
+                            <licenseFamilyName>MIT JQyery</licenseFamilyName>
+                            <notes></notes>
+                            <patterns>
+                                <pattern>Copyright 2012 jQuery Foundation and 
other contributors; Licensed MIT</pattern>
+                                <pattern>jQuery Foundation, Inc. | 
jquery.org/license</pattern>
+                            </patterns>
+                        </license>
+                        <license 
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                            
<licenseFamilyCategory>Underscore</licenseFamilyCategory>
+                            <licenseFamilyName>Underscore</licenseFamilyName>
+                            <notes></notes>
+                            <patterns>
+                                <pattern>Underscore is freely distributable 
under the MIT license</pattern>
+                            </patterns>
+                        </license>
+                        <license 
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                            <licenseFamilyCategory>Allan 
Jardine</licenseFamilyCategory>
+                            <licenseFamilyName>Allan 
Jardine</licenseFamilyName>
+                            <notes></notes>
+                            <patterns>
+                                <pattern>Copyright 2009 Allan Jardine. All 
Rights Reserved</pattern>
+                            </patterns>
+                        </license>
+                        <license 
implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+                            <licenseFamilyCategory>Allan 
Jardine</licenseFamilyCategory>
+                            <licenseFamilyName>Allan 
Jardine</licenseFamilyName>
+                            <notes></notes>
+                            <patterns>
+                                <pattern>Copyright 2009 Allan Jardine. All 
Rights Reserved</pattern>
+                                <pattern>Copyright 2008-2011 Allan 
Jardine</pattern>
+                                <pattern>GPL v2 or BSD 3 point style</pattern>
+                            </patterns>
+                        </license>
+                    </licenses>
+
+                    <licenseFamilies>
+                        <licenseFamily 
implementation="org.apache.rat.license.SimpleLicenseFamily">
+                            <familyName>MIT JQyery</familyName>
+                        </licenseFamily>
+                        <licenseFamily 
implementation="org.apache.rat.license.SimpleLicenseFamily">
+                            <familyName>Underscore</familyName>
+                        </licenseFamily>
+                        <licenseFamily 
implementation="org.apache.rat.license.SimpleLicenseFamily">
+                            <familyName>Allan Jardine</familyName>
+                        </licenseFamily>
+                    </licenseFamilies>
+                    <excludes>
+                        <!--DOCS-->
+                        <exclude>**/*.md</exclude>
+                        <exclude>publications/**</exclude>
+                        <exclude>docs/**</exclude>
+                        <!--CODE STYLE-->
+                        <exclude>codestyle/*</exclude>
+                        <exclude>eclipse.importorder</exclude>
+                        <!--CODE RESOURCES-->
+                        
<exclude>**/javax.annotation.processing.Processor</exclude>
+                        
<exclude>**/org.apache.druid.initialization.DruidModule</exclude>
+                        
<exclude>**/org/apache/druid/math/expr/antlr/Expr.g4</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                        <!--BUILD and TESTS-->
+                        <exclude>**/target/**</exclude>
+                        <exclude>**/build/**</exclude>
+                        <exclude>**/test/resources/**</exclude>
+                        <exclude>**/src/test/avro/**</exclude>
+                        <exclude>**/src/test/thrift/**</exclude>
+                        <exclude>.travis.yml</exclude>
+                        <!--DEV and IT-TESTS-->
+                        <exclude>**/*.json</exclude>
+                        <exclude>**/jvm.config</exclude>
+                        <exclude>**/quickstart/protobuf/**</exclude>
+                        <exclude>**/tutorial/conf/**</exclude>
+                        <exclude>**/derby.log</exclude>
+                        <exclude>**/docker/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
         <pluginManagement>
             <plugins>
diff --git a/server/src/main/resources/static/old-console/css/config.css 
b/server/src/main/resources/static/old-console/css/config.css
index 2c5f3e9..2f8c1f4 100644
--- a/server/src/main/resources/static/old-console/css/config.css
+++ b/server/src/main/resources/static/old-console/css/config.css
@@ -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.
+ */
+
 #config_list {
   margin: 20px 0px;
 }
diff --git a/server/src/main/resources/static/old-console/css/enable.css 
b/server/src/main/resources/static/old-console/css/enable.css
index 4c1a4cd..dfcc3ed 100644
--- a/server/src/main/resources/static/old-console/css/enable.css
+++ b/server/src/main/resources/static/old-console/css/enable.css
@@ -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.
+ */
+
 #select_datasource {
   margin: 20px 0 20px 0;
 }
\ No newline at end of file
diff --git a/server/src/main/resources/static/old-console/css/index.css 
b/server/src/main/resources/static/old-console/css/index.css
index d5843ca..cac0695 100644
--- a/server/src/main/resources/static/old-console/css/index.css
+++ b/server/src/main/resources/static/old-console/css/index.css
@@ -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.
+ */
+
 .loading {
   display: none;
 }
diff --git a/server/src/main/resources/static/old-console/css/rules.css 
b/server/src/main/resources/static/old-console/css/rules.css
index dcd52e2..fb798fa 100644
--- a/server/src/main/resources/static/old-console/css/rules.css
+++ b/server/src/main/resources/static/old-console/css/rules.css
@@ -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.
+ */
+
 #datasources {
   width:200px;
 }
diff --git a/server/src/main/resources/static/old-console/css/style.css 
b/server/src/main/resources/static/old-console/css/style.css
index f9e50c4..18c4232 100644
--- a/server/src/main/resources/static/old-console/css/style.css
+++ b/server/src/main/resources/static/old-console/css/style.css
@@ -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.
+ */
+
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  * HTML
  */
diff --git a/server/src/main/resources/static/old-console/js/config-0.0.2.js 
b/server/src/main/resources/static/old-console/js/config-0.0.2.js
index 3f6b3a9..8c4c8cf 100644
--- a/server/src/main/resources/static/old-console/js/config-0.0.2.js
+++ b/server/src/main/resources/static/old-console/js/config-0.0.2.js
@@ -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.
+ */
+
 var configs = [];
 
 function makeConfigDiv(key, value) {
diff --git 
a/server/src/main/resources/static/old-console/js/druidTable-0.0.1.js 
b/server/src/main/resources/static/old-console/js/druidTable-0.0.1.js
index 7b73f31..a6264af9 100644
--- a/server/src/main/resources/static/old-console/js/druidTable-0.0.1.js
+++ b/server/src/main/resources/static/old-console/js/druidTable-0.0.1.js
@@ -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.
+ */
+
 var DruidTable = function() {
   var _private = {
     data: []
diff --git a/server/src/main/resources/static/old-console/js/enable-0.0.1.js 
b/server/src/main/resources/static/old-console/js/enable-0.0.1.js
index eacc5d4..ba2c18b 100644
--- a/server/src/main/resources/static/old-console/js/enable-0.0.1.js
+++ b/server/src/main/resources/static/old-console/js/enable-0.0.1.js
@@ -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.
+ */
+
 $(document).ready(function() {
   $("button").button();
 
diff --git a/server/src/main/resources/static/old-console/js/handlers-0.0.2.js 
b/server/src/main/resources/static/old-console/js/handlers-0.0.2.js
index 139b144..bfae9c4 100644
--- a/server/src/main/resources/static/old-console/js/handlers-0.0.2.js
+++ b/server/src/main/resources/static/old-console/js/handlers-0.0.2.js
@@ -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.
+ */
+
 // requires jQuery, druidTable, tablehelper
 
 $(document).ready(function() {
diff --git a/server/src/main/resources/static/old-console/js/init-0.0.2.js 
b/server/src/main/resources/static/old-console/js/init-0.0.2.js
index fc6b07f..e39a2fd 100644
--- a/server/src/main/resources/static/old-console/js/init-0.0.2.js
+++ b/server/src/main/resources/static/old-console/js/init-0.0.2.js
@@ -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.
+ */
+
 var CONSOLE = {};
 CONSOLE.selected_segments = [];
 
diff --git 
a/server/src/main/resources/static/old-console/js/jquery.dataTables-1.8.2.js 
b/server/src/main/resources/static/old-console/js/jquery.dataTables-1.8.2.js
index 42292c5..368b72f 100644
--- a/server/src/main/resources/static/old-console/js/jquery.dataTables-1.8.2.js
+++ b/server/src/main/resources/static/old-console/js/jquery.dataTables-1.8.2.js
@@ -8,16 +8,16 @@
  * License:     GPL v2 or BSD 3 point style
  * Project:     Mtaala
  * Contact:     [email protected]
- * 
+ *
  * Copyright 2008-2011 Allan Jardine, all rights reserved.
  *
  * This source file is free software, under either the GPL v2 license or a
  * BSD style license, as supplied with this software.
- * 
- * This source file is distributed in the hope that it will be useful, but 
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
+ *
+ * This source file is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details.
- * 
+ *
  * For details please refer to: http://www.datatables.net
  */
 
diff --git a/server/src/main/resources/static/old-console/js/kill-0.0.1.js 
b/server/src/main/resources/static/old-console/js/kill-0.0.1.js
index 9b7136b..f59f945 100644
--- a/server/src/main/resources/static/old-console/js/kill-0.0.1.js
+++ b/server/src/main/resources/static/old-console/js/kill-0.0.1.js
@@ -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.
+ */
+
 $(document).ready(function() {
   $("button").button();
 
diff --git a/server/src/main/resources/static/old-console/js/rules-0.0.2.js 
b/server/src/main/resources/static/old-console/js/rules-0.0.2.js
index 6fdf6ae..81e77af 100644
--- a/server/src/main/resources/static/old-console/js/rules-0.0.2.js
+++ b/server/src/main/resources/static/old-console/js/rules-0.0.2.js
@@ -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.
+ */
+
 var tiers = [];
 var defaultDatasource = "_default";
 
diff --git 
a/server/src/main/resources/static/old-console/js/tablehelper-0.0.2.js 
b/server/src/main/resources/static/old-console/js/tablehelper-0.0.2.js
index 071e994..9974c32 100644
--- a/server/src/main/resources/static/old-console/js/tablehelper-0.0.2.js
+++ b/server/src/main/resources/static/old-console/js/tablehelper-0.0.2.js
@@ -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.
+ */
+
 // requires jQuery, druidTable, dataTables
 var oTable = [];
 
diff --git a/services/src/bin/run.sh b/services/src/bin/run.sh
index 5543a6b..51274c8 100644
--- a/services/src/bin/run.sh
+++ b/services/src/bin/run.sh
@@ -1 +1,17 @@
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 echo "Hello World!"
\ No newline at end of file
diff --git a/upload.sh b/upload.sh
index 05a2404..2b49df1 100755
--- a/upload.sh
+++ b/upload.sh
@@ -1,4 +1,18 @@
 #!/bin/bash -e
+# 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.
 
 #
 # Script to upload tarball of assembly build to static.druid.io for serving


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to