tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject git commit: TAJO-278: Add ASF License 2.0 header to *.jsp and web.xml files. (hyunsik)
Date Tue, 22 Oct 2013 09:04:35 GMT
Updated Branches:
  refs/heads/branch-0.2 068652636 -> 2948419dc


TAJO-278: Add ASF License 2.0 header to *.jsp and web.xml files. (hyunsik)


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

Branch: refs/heads/branch-0.2
Commit: 2948419dc7ecae2f77a50e6769a64a3df39d73a5
Parents: 0686526
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Tue Oct 22 18:03:17 2013 +0900
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Tue Oct 22 18:04:23 2013 +0900

----------------------------------------------------------------------
 pom.xml                                         |   2 -
 .../resources/webapps/admin/WEB-INF/web.xml     |  17 +++
 .../resources/webapps/admin/catalogview.jsp     |  19 +++
 .../main/resources/webapps/admin/cluster.jsp    |  19 +++
 .../src/main/resources/webapps/admin/conf.jsp   |  19 +++
 .../src/main/resources/webapps/admin/env.jsp    |  19 +++
 .../src/main/resources/webapps/admin/header.jsp |  19 +++
 .../src/main/resources/webapps/admin/index.jsp  |  19 +++
 .../main/resources/webapps/admin/nodedetail.jsp | 151 -------------------
 .../main/resources/webapps/admin/nodeview.jsp   |  78 ----------
 .../src/main/resources/webapps/admin/query.jsp  |  19 +++
 .../resources/webapps/admin/query_executor.jsp  |  19 +++
 .../main/resources/webapps/admin/queryview.jsp  |  94 ------------
 .../src/main/resources/webapps/admin/thread.jsp |  19 +++
 .../resources/webapps/worker/WEB-INF/web.xml    |  17 +++
 .../src/main/resources/webapps/worker/conf.jsp  |  19 +++
 .../src/main/resources/webapps/worker/env.jsp   |  19 +++
 .../main/resources/webapps/worker/header.jsp    |  19 +++
 .../src/main/resources/webapps/worker/index.jsp |  19 +++
 .../resources/webapps/worker/querydetail.jsp    |  19 +++
 .../main/resources/webapps/worker/queryplan.jsp |  19 +++
 .../resources/webapps/worker/querytasks.jsp     |  19 +++
 .../src/main/resources/webapps/worker/tasks.jsp |  19 +++
 .../main/resources/webapps/worker/thread.jsp    |  19 +++
 24 files changed, 376 insertions(+), 325 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6a41822..1815958 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,9 +310,7 @@
             <exclude>**/*.hiveql</exclude>
             <exclude>**/*.schema</exclude>
             <exclude>**/*.tbl</exclude>
-            <exclude>**/*.jsp</exclude>
             <exclude>**/*.js</exclude>
-            <exclude>**/web.xml</exclude>
             <exclude>**/*.result</exclude>
             <!-- generated content -->
             <exclude>**/target/**</exclude>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/WEB-INF/web.xml b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/WEB-INF/web.xml
index 5d00e3b..dc7c62c 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/WEB-INF/web.xml
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/WEB-INF/web.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp
index 4b3265b..7c69a29 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/catalogview.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/cluster.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/cluster.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/cluster.jsp
index 8cf20ae..89c8ac5 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/cluster.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/cluster.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/conf.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/conf.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/conf.jsp
index 323d6d8..80073d9 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/conf.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/conf.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/env.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/env.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/env.jsp
index 122917b..34965fc 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/env.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/env.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/header.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/header.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/header.jsp
index 3f26e20..f98c3d5 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/header.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/header.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <div class="menu">
   <div style='float:left; margin-left:12px; margin-top:6px;'><a href='index.jsp'><img src='/static/img/logo_tajo.gif' border='0'/></a></div>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/index.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/index.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/index.jsp
index 684de7d..768b221 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/index.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/index.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.hadoop.fs.FileSystem" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodedetail.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodedetail.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodedetail.jsp
deleted file mode 100644
index 45cac31..0000000
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodedetail.jsp
+++ /dev/null
@@ -1,151 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
-    pageEncoding="UTF-8"%>
-<%--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--- %>
-
-<%@ page import="java.util.*" %>
-<%@ page import="java.net.InetAddress" %>
-<%@ page import = "java.io.*" %>
-<%@ page import="tajo.webapp.StaticHttpServer" %>
-<%@ page import="nta.engine.*" %>
-<%@ page import="nta.engine.cluster.ClusterManager" %>
-<%@ page import="java.net.InetSocketAddress" %>
-<%@ page import="org.apache.hadoop.conf.Configuration" %>
-<%@ page import="nta.engine.NConstants" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <link rel="stylesheet" type = "text/css" href = "./style.css" />
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <title>tajo</title>
-  </head>
-  <%!
-  BufferedReader reader;
-  %>
-  <%
-  String masterAddr = (String)application.getAttribute("tajo.master.addr");
-  masterAddr = masterAddr.split(":")[0];
-  String workerName = request.getParameter("workername");
-  String fileName = request.getParameter("filename");
-  
-  com.sun.management.OperatingSystemMXBean bean =
-  (com.sun.management.OperatingSystemMXBean)
-    java.lang.management.ManagementFactory.getOperatingSystemMXBean();
-  long memMax = bean.getTotalPhysicalMemorySize();
-  long memFree = bean.getFreePhysicalMemorySize();
-  double systemLoadAverage = bean.getSystemLoadAverage();
-  String arch = bean.getArch();
-  
-  
-  InetAddress addr = InetAddress.getLocalHost();
-  if(workerName == null) {
-	  workerName = addr.getHostName();
-  }
-  String ipAddr = addr.getHostAddress();
-  
-  File[] roots = File.listRoots();
-  long fileMax = 0;
-  long fileFree = 0;
-  for(int i = 0 ; i < roots.length ; i ++) {
-	  fileMax += roots[i].getTotalSpace();
-	  fileFree += roots[i].getFreeSpace();
-  }
-  //String filePath = System.getProperty("tajo.log.dir");
-  String filePath = System.getProperty("user.dir")+"/logs";
-  
-  %>
-  <body>
-    <div class = "container" >
-      <h1>Worker Details</h1>
-    </div>
-    <div class = "headline_2">
-      <div class = "container">
-        <a href="http://<%=masterAddr %>:8080/index.jsp" class="headline">Tajo Main</a>
-        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="http://<%=masterAddr %>:8080/catalogview.jsp" class="headline">Catalog</a>
-        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="http://<%=masterAddr %>:8080/queryview.jsp" class="headline">Queries</a>
-        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="http://<%=masterAddr %>:8080/nodeview.jsp" class="headline">Workers</a>
-     </div>
-    </div>
-     <div class = "container">
-     <h2 class = "line">Worker Informations</h2>
-     <ul>
-      <li>Worker Name : <%=workerName%></li>
-      <li>Ip Address : <%=ipAddr%></li>
-      <li>Architecture : <%=arch%></li>
-      <li>Available Processors : <%=bean.getAvailableProcessors()%></li>
-      <li>OS : <%=bean.getName()%>
-      <li>System Load Average : <%=systemLoadAverage%></li>
-      <li>Disk Num : <%=roots.length %></li>
-      <li>Disk <ul>
-                <li>Max Size : <%=fileMax%> Byte</li>
-                <li>Free Size : <%=fileFree%> Byte</li>
-               </ul>
-               </li>
-      <li>Memory <ul>
-                 <li>Max Size : <%=memMax%> Byte</li>
-                 <li>Free Size : <%=memFree%> Byte</li>
-                 </ul>
-     </ul>     
-     
-     <h2 class = "line">Log List</h2>
-      <%
-      File file = new File(filePath);
-      String[] fileList = file.list();
-      out.write("<ul>");
-      for(int i = 0 ; i < fileList.length; i ++){
-    	out.write("<li><a href=\"./nodedetail.jsp?workername="+workerName+"&filename="+fileList[i]+"\" class = \"tablelink\"> "+ fileList[i] + "</a>"); 
-      } 
-      out.write("</ul>");
-      %>
-     
-     
-     <h2 class = "line">Log</h2>
-     <textarea id = "logview"  readonly = "readonly" style="width:99%; height:600px">
-      <% 
-      if(fileName != null) {
-       String str = ""; 
-       for( int i = 0 ; i < fileList.length ; i ++) {
-    	  if(fileName.compareTo(fileList[i]) != 0) {
-    		  continue;
-    	  }
-    	  reader = new BufferedReader(new InputStreamReader(
-    	     		  new FileInputStream(filePath +"/"  + fileList[i])));
-      %>
-<%=filePath+"/"+fileList[i] %>
-          
-          <%
-out.write("-------------------------------------------------------------------\n");   
-    	  while((str = reader.readLine()) != null) {
-	        out.write(str + "\n" );
-    	  }
-          
-       }
-       reader.close();
-      }
-       %>
-       </textarea>
-       <br />
-       <br />
-       <br />
-       <br />
-     </div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodeview.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodeview.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodeview.jsp
deleted file mode 100644
index a709c48..0000000
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/nodeview.jsp
+++ /dev/null
@@ -1,78 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
-    pageEncoding="UTF-8"%>
-<%--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--- %>
-
-<%@ page import="java.util.*" %>
-<%@ page import="java.net.InetAddress" %>
-<%@ page import = "java.io.*" %>
-<%@ page import="tajo.webapp.StaticHttpServer" %>
-<%@ page import="nta.engine.*" %>
-<%@ page import="nta.engine.cluster.ClusterManager" %>
-<%@ page import="java.net.InetSocketAddress" %>
-<%@ page import="org.apache.hadoop.conf.Configuration" %>
-<%@ page import="nta.engine.NConstants" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <link rel="stylesheet" type = "text/css" href = "./style.css" />
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <title>tajo</title>
-  </head>
-  <%!
-  BufferedReader reader;
-  %>
-  <%
-  NtaEngineMaster master = (NtaEngineMaster)application.getAttribute("tajo.master");
-  String masterAddr = (String)application.getAttribute("tajo.master.addr");
-  List<String> serverList = master.getOnlineServer();
-  masterAddr = masterAddr.split(":")[0];
-  
-  %>
-  <body>
-    <div class = "container" >
-      <div>
-      <img src = "./img/tajochar_worker_small.jpg" />
-      </div>
-    </div>
-    <br />
-    <div class = "headline_2">
-      <div class = "container">
-        <a href="./index.jsp" class="headline">Tajo Main</a>
-        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="./catalogview.jsp" class="headline">Catalog</a>
-        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-        <a href="./queryview.jsp" class="headline">Queries</a>
-     </div>
-    </div>
-    
-    <div class ="container">
-    <h2 class = "line">Available workers</h2>
-    <ul>
-     <%
-      for(int i = 0 ; i < serverList.size() ; i ++ ) {
-    	String workerName = serverList.get(i);  
-    	out.write("<li><a href =\"http://" +workerName.split(":")[0] + ":8080/nodedetail.jsp?workername="+workerName+"\" class = \"tablelink\">" + workerName + "</a></li>");
-      }
-     %>
-    </ul>
-    </div>
-    
- 
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query.jsp
index 241c371..a6af17d 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.master.TajoMaster" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query_executor.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query_executor.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query_executor.jsp
index abe955d..21e0309 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query_executor.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/query_executor.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/queryview.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/queryview.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/queryview.jsp
deleted file mode 100644
index 673ab0d..0000000
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/queryview.jsp
+++ /dev/null
@@ -1,94 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
-    pageEncoding="UTF-8"%>
-<%--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--- %>
-
-<%@ page import="java.util.*" %>
-<%@ page import="tajo.webapp.StaticHttpServer" %>
-<%@ page import="nta.engine.*" %>
-<%@ page import="nta.engine.cluster.ClusterManager" %>
-<%@ page import="java.net.InetSocketAddress" %>
-<%@ page import="java.net.InetAddress"  %>
-<%@ page import="org.apache.hadoop.conf.Configuration" %>
-<%@ page import="nta.engine.NConstants" %>
-<%@ page import="nta.engine.ClientServiceProtos.*" %>
-<%@ page import="nta.engine.utils.*" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <link rel="stylesheet" type = "text/css" href = "./style.css" />
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <title>tajo main</title>
-    <%
-     NtaEngineMaster master = (NtaEngineMaster)application.getAttribute("tajo.master");
-     String masterAddr = (String)application.getAttribute("tajo.master.addr");
-     List<String> serverList = master.getOnlineServer();
-     ClusterManager cm = master.getClusterManager();
-     
-     String query = request.getParameter("command");
-     
-     if(query != null) {
-       String[] cmd = query.split("\\s|\n");
-	   if (cmd[0].equalsIgnoreCase("attach")) {
-	     if(cmd.length != 3) {
-	     } else {
-	       AttachTableRequest.Builder attachRequest = AttachTableRequest.newBuilder();
-	       attachRequest.setName(cmd[1]);
-	       attachRequest.setPath(cmd[2]);
-	       master.attachTable(attachRequest.build());
-	     }
-	   } else if (cmd[0].equalsIgnoreCase("detach")) {
-		 if (cmd.length != 2) {
-	     } else {
-		  master.detachTable(ProtoUtil.newProto(cmd[1]));
-	     }
-	   } else {
-		 ExecuteQueryRequest.Builder executeRequest = ExecuteQueryRequest.newBuilder();
-		 executeRequest.setQuery(query);
-	     master.executeQuery(executeRequest.build()); 
-	   }
-     }
-   
-    %>
-  </head>
-  <body>
-    <div class = "center">
-      <div>
-      <img src = "./img/tajochar_queries_small.jpg" />
-      </div>
-    </div>
-    <br />
-    <div class = "headline">
-      <a href="./catalogview.jsp" class="headline">Catalog</a>
-      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      <a href="./nodeview.jsp" class="headline">Workers</a>
-      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-      <a href="./index.jsp" class="headline">Summary</a>
-    </div>
-    <hr />
-    <div class = "command" >
-      <form method="post" action="./queryview.jsp">
-	    <textarea name="command"  class = "command">insert query</textarea>
-	    <br />
-	    <br />
-	    <br />
-	    <input type="submit" value="submit" />
-      </form>
-    </div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/thread.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/thread.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/thread.jsp
index 7c7fe5a..3eddef2 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/thread.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/admin/thread.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/WEB-INF/web.xml b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/WEB-INF/web.xml
index 8badd7a..0ff8db6 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/WEB-INF/web.xml
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/WEB-INF/web.xml
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/conf.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/conf.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/conf.jsp
index fef1a23..571461b 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/conf.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/conf.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/env.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/env.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/env.jsp
index 418730c..b84f6b7 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/env.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/env.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/header.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/header.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/header.jsp
index 22c5da6..f20eaf0 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/header.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/header.jsp
@@ -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.
+  */
+%>
 <%@ page import="org.apache.tajo.util.JSPUtil" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/index.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/index.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/index.jsp
index f7d3347..86db3f2 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/index.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/index.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querydetail.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querydetail.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querydetail.jsp
index a7f5234..a043ad0 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querydetail.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querydetail.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.master.querymaster.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/queryplan.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/queryplan.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/queryplan.jsp
index bd69630..26675ae 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/queryplan.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/queryplan.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.webapp.StaticHttpServer" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querytasks.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querytasks.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querytasks.jsp
index 2498e7e..046e377 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querytasks.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/querytasks.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="org.apache.tajo.master.querymaster.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/tasks.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/tasks.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/tasks.jsp
index afd3073..a9a1b51 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/tasks.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/tasks.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/2948419d/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/thread.jsp
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/thread.jsp b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/thread.jsp
index 4f687b7..548d41f 100644
--- a/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/thread.jsp
+++ b/tajo-core/tajo-core-backend/src/main/resources/webapps/worker/thread.jsp
@@ -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.
+  */
+%>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
 <%@ page import="java.util.*" %>


Mime
View raw message