[web] tomcat jsp 접근 제한 설정

아파치에서 막을 수도 있겠지만 **/*.jsp  pattern 으로 접근하는 것을 tomcat 내부적으로 제한 할 수 있다.

http://java.dzone.com/articles/understanding-web-security

<security-constraint>
   <web-resource-collection>
     <web-resource-name>All Access</web-resource-name>
     <url-pattern>/unchecked/*</url-pattern>
     <http-method>DELETE</http-method>
     <http-method>PUT</http-method>
     <http-method>HEAD</http-method>
     <http-method>OPTIONS</http-method>
     <http-method>TRACE</http-method>
     <http-method>GET</http-method>
     <http-method>POST</http-method>
   </web-resource-collection>
   <user-data-constraint>
     <transport-guarantee>NONE</transport-guarantee>
   </user-data-constraint>
</security-constraint>

[hadoop] 30G Access log 수행 결과

namenode 1대

slave 3대(dataNode)
(30분)
13/12/06 01:16:28 INFO mapreduce.Job: Running job: job_1386259770316_0001
13/12/06 01:16:36 INFO mapreduce.Job: Job job_1386259770316_0001 running in uber mode : false
13/12/06 01:16:36 INFO mapreduce.Job: map 0% reduce 0%
13/12/06 01:17:20 INFO mapreduce.Job: map 1% reduce 0%
13/12/06 01:17:44 INFO mapreduce.Job: map 2% reduce 0%
13/12/06 01:18:24 INFO mapreduce.Job: map 3% reduce 0%
13/12/06 01:47:08 INFO mapreduce.Job: map 100% reduce 100%
13/12/06 01:47:09 INFO mapreduce.Job: Job job_13862597 70316_0001 completed successfully
slave 6대(dataNode)
(기존 30분 -> 17분으로 단축)
13/12/06 02:32:39 INFO mapreduce.Job: Running job: job_1386264218442_0002
13/12/06 02:32:46 INFO mapreduce.Job: Job job_1386264218442_0002 running in uber mode : false
13/12/06 02:32:46 INFO mapreduce.Job: map 0% reduce 0%
13/12/06 02:49:50 INFO mapreduce.Job: map 100% reduce 100%
13/12/06 02:49:51 INFO mapreduce.Job: Job job_1386264218442_0002 completed successfully