close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
jazz 提供資訊
- hadoop的web server 是用jetty
| $hadoop_home/webapps/task/ | 50060
|
| $hadoop_home/webapps/dfs/ | 50070
|
| $hadoop_home/webapps/datanode/ | 50010
|
| $hadoop_home/webapps/job/ | 50030
|
| $hadoop_home/webapps/task/ | 50060
|
| $hadoop_home/webapps/dfs/ | 50070
|
- 理論上 Jetty 會幫你把 JSP 檔案變成一個 java ,放在 WEB-INF 裡面 ,產生一個 hello_jsp.java
jetty 研究
- a 100% Java HTTP Server and Servlet Container
- Open Source
- Small and Efficient
- Embeddable
- jetty 文件
安裝jetty
| /usr/share/jetty/ | | jetty home
|
| | cgi-bin/ | 0
|
| | ext/ | 0
|
| | lib/ | jar檔
|
| | webapps/ | root下有預設網站
|
| /usr/share/doc/jetty/ | | 文件目錄
|
| /var/log/jetty/ | | log
|
| /usr/share/java/ | jetty-5.0.0.jar | 主程式
|
| /etc/jetty/ | | 設定檔
|
| /etc/default/ | jetty | 0
|
| /etc/init.d/ | jetty | 驅動檔
|
啟動 jetty
- ps : 不知設定檔如何找出port :
- ps2: jetty的預設網頁裡的tutorial 還不錯
Download in other formats: